no ushing

Co-authored-by: Affan Zaman <afnzmn@users.noreply.github.com>
This commit is contained in:
baiorett 2022-07-19 22:14:48 +03:00
parent 729538edbd
commit d006c09266
4 changed files with 19 additions and 8 deletions

View File

@ -2,16 +2,17 @@
</script> </script>
<div class="hero-img" style ="background-image:url('/manager.png')" alt="Screenshot of ReVanced Manager"></div> <img class="hero-img" src="/manager.png" alt="Screenshot of ReVanced Manager"/>
<style> <style>
.hero-img { .hero-img {
height: 400px; height: 40rem;
width:fit-content; z-index: -1;
width:auto;
float:right;
border-radius: 20px; border-radius: 20px;
transform: rotate(3.7deg) translateY(-35%) translateX(200%); transform: rotate(3.7deg) translateY(-5%);
user-select: none; user-select: none;
position: absolute;
} }
</style> </style>

View File

@ -8,6 +8,12 @@
</svg> </svg>
<style> <style>
svg {
position: absolute;
z-index: -2;
bottom:0
}
.wave { .wave {
animation: wave-anim 40s; animation: wave-anim 40s;
animation-timing-function: linear; animation-timing-function: linear;

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@ -1,6 +1,7 @@
<script> <script>
import Button from '$lib/components/atoms/Button.svelte'; import Button from '$lib/components/atoms/Button.svelte';
import IndexHeroTitle from '../atoms/IndexHeroTitle.svelte'; import IndexHeroTitle from '../atoms/IndexHeroTitle.svelte';
</script> </script>
<section class="hero"> <section class="hero">

View File

@ -1,10 +1,13 @@
<script> <script>
import IndexDescription from '$lib/components/organisms/IndexDescription.svelte';
import HeroImage from '$lib/components/atoms/HeroImage.svelte'; import HeroImage from '$lib/components/atoms/HeroImage.svelte';
import IndexDescription from '$lib/components/organisms/IndexDescription.svelte';
</script> </script>
<div class="wrapper"> <div class="wrapper">
<HeroImage></HeroImage>
<IndexDescription /> <IndexDescription />
<HeroImage />
</div> </div>