From 88cf26714b31e31dff5d1c01a7688af9bf8ed562 Mon Sep 17 00:00:00 2001 From: afnzmn Date: Mon, 18 Jul 2022 16:05:46 -0400 Subject: [PATCH] component seperation Co-authored-by: baiorett --- .DS_Store | Bin 6148 -> 6148 bytes src/lib/components/atoms/Button.svelte | 50 +++++ src/lib/components/atoms/HeroImage.svelte | 15 ++ .../components/atoms/IndexHeroTitle.svelte | 14 ++ src/lib/components/atoms/Navigation.svelte | 39 ++++ src/lib/components/atoms/Wave.svelte | 45 ++++ src/lib/components/molecules/NavHost.svelte | 25 +++ .../organisms/IndexDescription.svelte | 26 +++ src/routes/__layout.svelte | 125 ++--------- src/routes/{credits.html => credits.svelte} | 0 src/routes/{docs.html => docs.svelte} | 0 src/routes/{download.html => download.svelte} | 0 src/routes/index.svelte | 195 +----------------- static/favicon.png | Bin 1571 -> 1121 bytes static/logo.svg | 6 + 15 files changed, 249 insertions(+), 291 deletions(-) create mode 100644 src/lib/components/atoms/Button.svelte create mode 100644 src/lib/components/atoms/HeroImage.svelte create mode 100644 src/lib/components/atoms/IndexHeroTitle.svelte create mode 100644 src/lib/components/atoms/Navigation.svelte create mode 100644 src/lib/components/atoms/Wave.svelte create mode 100644 src/lib/components/molecules/NavHost.svelte create mode 100644 src/lib/components/organisms/IndexDescription.svelte rename src/routes/{credits.html => credits.svelte} (100%) rename src/routes/{docs.html => docs.svelte} (100%) rename src/routes/{download.html => download.svelte} (100%) create mode 100644 static/logo.svg diff --git a/.DS_Store b/.DS_Store index ca8c3067e06f45c481a93dc276631b919b9d9e2f..a258023a4b85b09cefc27604bdfc102c300c8763 100644 GIT binary patch delta 54 zcmZoMXfc@J&nUPtU^g?P;AS2cWhO~BhGK>ihD3%EhD?U!vf!e;ocz3W1_lPkjfwji KH?wp6 + export let kind = 'secondary'; + $: type = 'button-' + kind; + export let href = '#'; + + + + + + diff --git a/src/lib/components/atoms/HeroImage.svelte b/src/lib/components/atoms/HeroImage.svelte new file mode 100644 index 0000000..a34af52 --- /dev/null +++ b/src/lib/components/atoms/HeroImage.svelte @@ -0,0 +1,15 @@ + + +Screenshot of ReVanced Manager + + + diff --git a/src/lib/components/atoms/IndexHeroTitle.svelte b/src/lib/components/atoms/IndexHeroTitle.svelte new file mode 100644 index 0000000..116d2ab --- /dev/null +++ b/src/lib/components/atoms/IndexHeroTitle.svelte @@ -0,0 +1,14 @@ +

ReVanced

+ + diff --git a/src/lib/components/atoms/Navigation.svelte b/src/lib/components/atoms/Navigation.svelte new file mode 100644 index 0000000..d5d8f80 --- /dev/null +++ b/src/lib/components/atoms/Navigation.svelte @@ -0,0 +1,39 @@ + + +
  • + + diff --git a/src/lib/components/atoms/Wave.svelte b/src/lib/components/atoms/Wave.svelte new file mode 100644 index 0000000..6dbbfdf --- /dev/null +++ b/src/lib/components/atoms/Wave.svelte @@ -0,0 +1,45 @@ + + + + + \ No newline at end of file diff --git a/src/lib/components/molecules/NavHost.svelte b/src/lib/components/molecules/NavHost.svelte new file mode 100644 index 0000000..f23b510 --- /dev/null +++ b/src/lib/components/molecules/NavHost.svelte @@ -0,0 +1,25 @@ + + + + + diff --git a/src/lib/components/organisms/IndexDescription.svelte b/src/lib/components/organisms/IndexDescription.svelte new file mode 100644 index 0000000..07b1a96 --- /dev/null +++ b/src/lib/components/organisms/IndexDescription.svelte @@ -0,0 +1,26 @@ + + +
    +
    + + +

    An extensible framework for
    building application mods.

    + + +
    +
    + + diff --git a/src/routes/__layout.svelte b/src/routes/__layout.svelte index 077f603..12241c4 100644 --- a/src/routes/__layout.svelte +++ b/src/routes/__layout.svelte @@ -1,3 +1,10 @@ + + @@ -12,8 +19,10 @@ + + diff --git a/src/routes/credits.html b/src/routes/credits.svelte similarity index 100% rename from src/routes/credits.html rename to src/routes/credits.svelte diff --git a/src/routes/docs.html b/src/routes/docs.svelte similarity index 100% rename from src/routes/docs.html rename to src/routes/docs.svelte diff --git a/src/routes/download.html b/src/routes/download.svelte similarity index 100% rename from src/routes/download.html rename to src/routes/download.svelte diff --git a/src/routes/index.svelte b/src/routes/index.svelte index dd5fff5..944a9f1 100644 --- a/src/routes/index.svelte +++ b/src/routes/index.svelte @@ -1,195 +1,20 @@ - +
    -
    -
    -
    -

    ReVanced

    -
    -

    An extensible framework for
    building application mods.

    - - - Screenshot of ReVanced Manager -
    -
    + +
    + + + diff --git a/static/favicon.png b/static/favicon.png index 825b9e65af7c104cfb07089bb28659393b4f2097..83029e3897019ae81da573cb191cd9220264a4a6 100644 GIT binary patch literal 1121 zcmeAS@N?(olHy`uVBq!ia0y~yU}ykg4rT@hhA$5${$yZaU@Q)DcVfJGQm3AQfq}EY zBeIx*fm;}a85w5Hkzin8XbJEMab;j&_)jWu2>1^{j)DIn$RXgrQxHfHLgt|G!?rVSj%8{Q!dr0tOEI z-~UhOSD0UazhJ`o`3(ySHuUe`-!NhQ1^?;!^$ZNmcAhSdAr*7p&c0oC%Rs<2^}w-Z z0UT`ROP1&==3e^t|Nr_$cWN%CE-~H|zPm(jZu`wMlKm;YN-iNFaK(N}ipjhsk<~vA~lDoJZdB4M7zV z)1Ny3UbvQ9Q^3Z1;hh}qm1osO9Nvl6)Ksilck4|6!~CF%RasT56n`*U{Qj^rE8~9; zlZD=u-K*CA-72z&aZb&TON={yGB8-^T!|ND2>rUlneoKZ1wHlO7?~I7U6Eqw3|Pdl zCFlZE$W`-OWd}5>%gq?x96gw88FVs=%Z*{;{s*2BGinW(Jy_V}dzL0JPp}S_Q8b;> zBz!6|N6Xqz1#%Gg3p^pEaWvLHto+!pU>A&+d9Ye@*Ejqh6DS4 zhjV>C$sqH*g+29~Cxgth{;v;n88{EGyl|%G^>LO1Np=NM|CHDKG;1(#>*P%B+ZEb= z-|n%oa`#X1mCMuKFZVQKTkvK#*WT5e&KsC-nO#3IsVFM$9}B}78MPa0FTR|XT=u5y zetvNO|IKB+2ZbB5_Gz)_zy4Kh&+v6o_O)NvpPtRP`^I=dcURcdr?VdOalTLWzaDMU zvhTIV_N6C|*L25hW7@LswZ^Z^f(5VVUI{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%J-|jkWYI|Asfc64m_1|CBJKdl7=FB&IWk(88^1VbV8`&tx}~UJdNy~9 z`>x$Kzdwf_ymvasG~g5R%(pbB`yg=YmtaP2Y5uw@qF5L^=AC z>h{%p`|NjL!FyiMVv%f@>}=ZxX8VMR@2<+Gk0q5?c~|<{#h#si%jQtrrSB}8?#^*t ztLJwpdELSGkQa&zT^WVdAD+FgJ!x^%?__}@2ljR$F}3=*L!Uo#d3MhIP;*S3qjUa; zXRjo8y*j^qPH}hM17@qnZ4WMSoY#+kbJMnLX3O*E;&a|A>`giJ`58<3)|Th&yU)y9 zKkdVxw~o8^UwnV8){66;oB03PkumAJrT>&Y>AZ7L?XL89)6=uxPSyMSxwE47&uzOk rXP?FX`}sPn@3(CEokCHuAKdv%%)XUfn=Z(}z`)??>gTe~DWM4fL74YJ diff --git a/static/logo.svg b/static/logo.svg new file mode 100644 index 0000000..819e663 --- /dev/null +++ b/static/logo.svg @@ -0,0 +1,6 @@ + + + + + +