a idk if i broke something but push comes

This commit is contained in:
Ushie 2022-07-19 03:53:27 +03:00
parent ae9c3d8807
commit adaaa53d2a
11 changed files with 69 additions and 15 deletions

View File

@ -1,13 +1,16 @@
<script> <script>
export let href = '#'; export let href = "https://github.com/ushie"
export let src = "https://github.com/ushie.png"
export let alt = "Contributors Image"
</script> </script>
<div>
<button>
<a {href}> <a {href}>
<slot/> <button>
<img {src} {alt}><slot/>
</button>
</a> </a>
</button> </div>
<style> <style>
a { a {
@ -20,10 +23,10 @@
border-radius: 200px; border-radius: 200px;
border: 0; border: 0;
padding: 5px 5px; padding: 5px 5px;
width:128px; width:86px;
height:128px; height:86px;
max-height: 128px; max-height: 86px;
max-width: 128px; max-width: 86px;
cursor: pointer; cursor: pointer;
background-color: var(--grey-four); background-color: var(--grey-four);
font-size: 1.5rem; font-size: 1.5rem;
@ -36,4 +39,10 @@
button:hover { button:hover {
transform: translate(-5%, -5%); transform: translate(-5%, -5%);
} }
img {
border-radius: 50%;
max-height: 86px;
max-width: 86px;
}
</style> </style>

View File

@ -2,7 +2,7 @@
</script> </script>
<div class="hero-img" style ="background-image:url('/manager.png')" alt="Screenshot of ReVanced Manager">afn is not real afn is not real afn is not real afn is not real afn is not real afn is not real afn is not real afn is not real afn is not real afn is not real afn is not real afn is not real afn is not real afn is not real afn is not real afn is not real afn is not real afn is not real afn is not real afn is not real afn is not real afn is not real afn is not real afn is not real afn is not real afn is not real afn is not real afn is not real </div> <div class="hero-img" style ="background-image:url('/manager.png')" alt="Screenshot of ReVanced Manager"></div>
<style> <style>
.hero-img { .hero-img {

View File

@ -1,4 +1,6 @@
<h1><span class="redder">Re</span>Vanced</h1> <h1>
<span class="redder">Re</span>Vanced
</h1>
<style> <style>
.redder { .redder {

View File

@ -2,7 +2,6 @@
import { page } from '$app/stores'; import { page } from '$app/stores';
export let href = '/'; export let href = '/';
$: current = (href == $page.url.pathname); $: current = (href == $page.url.pathname);
</script> </script>
<a {href}> <a {href}>

View File

@ -4,7 +4,6 @@
export let href = '#'; export let href = '#';
</script> </script>
<button> <button>
<a {href}> <a {href}>
<img {src} {alt}> <img {src} {alt}>

View File

@ -4,9 +4,41 @@
<div class="social-host"> <div class="social-host">
<ContributorButton></ContributorButton> <ContributorButton></ContributorButton>
<ContributorButton></ContributorButton>
<ContributorButton></ContributorButton>
<ContributorButton></ContributorButton>
<ContributorButton></ContributorButton>
<ContributorButton></ContributorButton>
<ContributorButton></ContributorButton>
<ContributorButton></ContributorButton>
<ContributorButton></ContributorButton>
<ContributorButton></ContributorButton>
<ContributorButton></ContributorButton>
<ContributorButton></ContributorButton>
<ContributorButton></ContributorButton>
<ContributorButton></ContributorButton>
<ContributorButton></ContributorButton>
<ContributorButton></ContributorButton>
<ContributorButton></ContributorButton>
<ContributorButton></ContributorButton>
<ContributorButton></ContributorButton>
<ContributorButton></ContributorButton>
<ContributorButton></ContributorButton>
<ContributorButton></ContributorButton>
<ContributorButton></ContributorButton>
<ContributorButton></ContributorButton>
<ContributorButton></ContributorButton>
<ContributorButton></ContributorButton>
</div> </div>
<style> <style>
div {
display: grid;
grid-column: 9;
gap: 100px;
grid-column-start: 1;
grid-column-end: 9;
}
.social-host { .social-host {
width: 100; width: 100;
justify-content: space-between; justify-content: space-between;

View File

@ -26,5 +26,4 @@
.logo { .logo {
width: 3rem; width: 3rem;
} }
</style> </style>

View File

@ -7,7 +7,10 @@
<div class="hero-text"> <div class="hero-text">
<!-- <img class="hero-img" src="/manager.png" alt="Screenshot of ReVanced Manager" /> --> <!-- <img class="hero-img" src="/manager.png" alt="Screenshot of ReVanced Manager" /> -->
<IndexHeroTitle></IndexHeroTitle> <IndexHeroTitle></IndexHeroTitle>
<h3>An extensible framework for<br />building application mods.</h3> <h3>
An extensible framework for<br />
building application mods.
</h3>
<Button kind="primary" href="/download">Download</Button> <Button kind="primary" href="/download">Download</Button>
<Button href="/docs">Read The Docs</Button> <Button href="/docs">Read The Docs</Button>
</div> </div>

View File

@ -43,6 +43,7 @@ import SocialHost from "$lib/components/molecules/SocialHost.svelte";
} }
:global(body) { :global(body) {
overflow-y: hidden;
margin: 0; margin: 0;
padding: 0; padding: 0;
line-height: 1.3; line-height: 1.3;

View File

@ -0,0 +1,9 @@
<script>
import Wave from '$lib/components/atoms/Wave.svelte';
import ContributorHost from '$lib/components/molecules/ContributorHost.svelte';
import SocialHost from '$lib/components/molecules/SocialHost.svelte';
</script>
<div class="wrapper">
<ContributorHost></ContributorHost>
</div>

View File

@ -7,6 +7,7 @@
<div class="wrapper"> <div class="wrapper">
<IndexDescription /> <IndexDescription />
<HeroImage />
</div> </div>
<Wave /> <Wave />