diff --git a/src/app.css b/src/app.css index f3f39c3..7bbfeaf 100644 --- a/src/app.css +++ b/src/app.css @@ -29,7 +29,7 @@ body { .wrapper { margin-inline: auto; - width: min(90%, 100rem); + width: min(90%, 95rem); margin-top: 4rem; display: flex; flex-direction: column; @@ -48,7 +48,7 @@ body { --grey-four: #182244; --grey-five: hsl(208, 30%, 75%); --grey-six: hsla(220, 12%, 15%, 0.655); - --grey-seven: #535563; + --grey-seven: #43698657; --bezier-one: cubic-bezier(0.25, 0.46, 0.45, 0.94); } diff --git a/src/lib/components/atoms/ContributorPerson.svelte b/src/lib/components/atoms/ContributorPerson.svelte deleted file mode 100644 index 1ac1dd6..0000000 --- a/src/lib/components/atoms/ContributorPerson.svelte +++ /dev/null @@ -1,69 +0,0 @@ - - - (clicked = !clicked)} class:clicked> - -

{name}

-
- - diff --git a/src/lib/components/atoms/LogoOption.svelte b/src/lib/components/atoms/LogoOption.svelte new file mode 100644 index 0000000..eb411eb --- /dev/null +++ b/src/lib/components/atoms/LogoOption.svelte @@ -0,0 +1,94 @@ + + +
+ {file} + +

{name}

+
{file}
+
+
+ + diff --git a/src/lib/components/molecules/ContributorHost.svelte b/src/lib/components/molecules/ContributorHost.svelte deleted file mode 100644 index 4698a6d..0000000 --- a/src/lib/components/molecules/ContributorHost.svelte +++ /dev/null @@ -1,78 +0,0 @@ - - -
- -

{repo_name}

-
-
- -
- -
- {#each contribs as { login, avatar_url, html_url }} - {#if !usersIwantToExplodeSoBadly.includes(login)} - - {/if} - {/each} -
- - diff --git a/src/lib/components/molecules/DocsNavTree.svelte b/src/lib/components/molecules/DocsNavTree.svelte deleted file mode 100644 index abca754..0000000 --- a/src/lib/components/molecules/DocsNavTree.svelte +++ /dev/null @@ -1,39 +0,0 @@ - - -{#if nested} - - -{/if} - - - - diff --git a/src/lib/components/organisms/Home.svelte b/src/lib/components/organisms/Home.svelte deleted file mode 100644 index db6e0a7..0000000 --- a/src/lib/components/organisms/Home.svelte +++ /dev/null @@ -1,119 +0,0 @@ - - -
-
-

- Nothing
apps, advanced. -

- -

- ReVanced is an extensible framework for building
Android application mods. -

- -
- - -
-
-
- - diff --git a/src/routes/polling/+page.svelte b/src/routes/polling/+page.svelte index 3f7bf90..e719a43 100644 --- a/src/routes/polling/+page.svelte +++ b/src/routes/polling/+page.svelte @@ -2,22 +2,22 @@ import { fly } from 'svelte/transition'; import { quintOut } from 'svelte/easing'; - import ContributorPerson from '$lib/components/atoms/ContributorPerson.svelte'; + import LogoOption from '$lib/components/atoms/LogoOption.svelte'; import Button from '$lib/components/atoms/Button.svelte'; - import { onMount } from 'svelte'; + import { onMount } from 'svelte'; - let selected = []; - let logos = []; - onMount(async () => { - const response = await fetch('https://poll.revanced.app/logos'); - const json = await response.json(); - // guh - for (const name of Object.keys(json)) { - logos.push({ name, ...json[name] }); - } - // update ui - logos = logos; - }); + let selected: Array = []; + let logos = []; + onMount(async () => { + const response = await fetch('https://poll.revanced.app/logos'); + const json = await response.json(); + // guh + for (const name of Object.keys(json)) { + logos.push({ name, ...json[name] }); + } + // update ui + logos = logos; + }); @@ -28,21 +28,23 @@
-
-

Page 1/5

+
+

ReVanced Logo Poll

+

{selected.length}/4 selected· Page 1/6

+
+ + +
-
- {#if logos.length != 0} - - - - - - {/if} +
+ {#if logos.length > 0} + + + + + {/if}
+
@@ -52,7 +54,7 @@