mirror of
https://github.com/revanced/revanced-website.git
synced 2025-04-30 06:34:35 +02:00
81 lines
1.1 KiB
Svelte
81 lines
1.1 KiB
Svelte
<script>
|
|
import Button from '$lib/components/atoms/Button.svelte';
|
|
</script>
|
|
|
|
<section class="hero">
|
|
<div class="hero-text">
|
|
<h1>
|
|
<span>Re</span>Vanced
|
|
</h1>
|
|
|
|
<h2>
|
|
ReVanced is an extensible framework for building <br /> Android application mods.
|
|
</h2>
|
|
|
|
<div class="hero-buttons">
|
|
<Button icon="download" href="download" kind="primary">Download Manager</Button>
|
|
<Button icon="docs" href="patches">View Patches</Button>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<style>
|
|
h2 {
|
|
margin-top: 1rem;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.hero {
|
|
padding-bottom: 9rem;
|
|
}
|
|
|
|
.hero-text {
|
|
align-items: center;
|
|
}
|
|
|
|
.hero-buttons {
|
|
display: flex;
|
|
user-select: none;
|
|
gap: 1rem;
|
|
}
|
|
|
|
span {
|
|
color: var(--accent-color);
|
|
}
|
|
|
|
h1 {
|
|
line-height: 1em;
|
|
font-size: 5rem;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.hero {
|
|
padding-bottom: 0;
|
|
text-align: center;
|
|
}
|
|
|
|
h1 {
|
|
font-size: clamp(2.9rem, 10vw, 4rem);
|
|
}
|
|
|
|
h2 {
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
br {
|
|
content: ' ';
|
|
}
|
|
|
|
.hero-buttons {
|
|
justify-content: center;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 600px) {
|
|
.hero-buttons {
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
}
|
|
</style>
|