diff --git a/package.json b/package.json index f52e7790..3ea1a951 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mage-website", - "version": "0.0.11", + "version": "0.0.12", "license": "GPL-3.0", "private": true, "type": "module", diff --git a/src/hooks.server.ts b/src/hooks.server.ts index 4edef471..a20a54ba 100644 --- a/src/hooks.server.ts +++ b/src/hooks.server.ts @@ -65,7 +65,7 @@ export const handle: Handle = async ({ event, resolve }) => { } else { if ( pathname === '/maintenance' || - (pathname === '/premium' && env.PUBLIC_FEATURE_PREMIUM_PAGE === 'false') + (pathname === '/affiliate' && env.PUBLIC_FEATURE_AFFILIATE === 'false') ) { throw redirect(302, '/browse') } else { diff --git a/src/lib/assets/icons/affiliate/IconAffiliateCheck.svelte b/src/lib/assets/icons/affiliate/IconAffiliateCheck.svelte new file mode 100644 index 00000000..7960ced4 --- /dev/null +++ b/src/lib/assets/icons/affiliate/IconAffiliateCheck.svelte @@ -0,0 +1,9 @@ + diff --git a/src/lib/assets/icons/affiliate/IconAffiliateVerification.svelte b/src/lib/assets/icons/affiliate/IconAffiliateVerification.svelte new file mode 100644 index 00000000..a12ae6f0 --- /dev/null +++ b/src/lib/assets/icons/affiliate/IconAffiliateVerification.svelte @@ -0,0 +1,12 @@ + diff --git a/src/lib/assets/icons/drawer/IconDrawerPremium.svelte b/src/lib/assets/icons/drawer/IconDrawerPremium.svelte deleted file mode 100644 index 6f74d52e..00000000 --- a/src/lib/assets/icons/drawer/IconDrawerPremium.svelte +++ /dev/null @@ -1,12 +0,0 @@ - diff --git a/src/lib/components/Affiliate/ItemPlan.svelte b/src/lib/components/Affiliate/ItemPlan.svelte new file mode 100644 index 00000000..6eef1acb --- /dev/null +++ b/src/lib/components/Affiliate/ItemPlan.svelte @@ -0,0 +1,63 @@ + + +
{channel.title || ''}
{channel.title}