get svelted

This commit is contained in:
afnzmn
2022-07-17 19:21:23 -04:00
parent 0292877d0d
commit c0758c8283
27 changed files with 5858 additions and 210 deletions

186
src/routes/__layout.svelte Normal file
View File

@ -0,0 +1,186 @@
<svelte:head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&display=swap"
rel="stylesheet"
/>
<title>ReVanced</title>
<link rel="stylesheet" href="css/styles.css" />
</svelte:head>
<slot />
<style>
:global(*) {
box-sizing: inherit;
margin: 0;
padding: 0;
font-family: 'Manrope', sans-serif;
}
:global(html) {
font-size: 100%;
box-sizing: border-box;
overflow-x: hidden;
}
:global(body) {
margin: 0;
padding: 0;
line-height: 1.3;
background-color: #0f111a;
}
:root {
--white: #ffe1e1;
--red: #ff4151;
--red-glow: #ff838d40;
--grey-one: #1c1e29;
--grey-two: #2b2d3a;
--grey-three: #3e404f;
}
::selection {
color: var(--white);
background: var(--red);
}
/*-----headings-----*/
h1 {
color: var(--white);
font-weight: 800;
}
h3 {
color: var(--white);
font-weight: 300;
font-size: 1.85rem;
}
/*-----scrollbar-----*/
::-webkit-scrollbar {
width: 20px;
}
::-webkit-scrollbar-track {
background-color: transparent;
}
::-webkit-scrollbar-thumb {
background-color: var(--grey-two);
border-radius: 20px;
border: 6px solid transparent;
background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover {
background-color: var(--grey-three);
}
/*-----navbar-----*/
.logo {
color: #0f111a;
font-weight: 800;
font-size: 2.5rem;
}
nav {
width: 100%;
display: flex;
padding: 1.5rem 4rem 1.5rem 4rem;
justify-content: space-between;
align-items: center;
}
nav li {
width: 160px;
text-align: center;
list-style: none;
display: inline-block;
position: relative;
align-items: center;
}
nav a {
color: var(--white);
text-decoration: none;
font-size: 1.25rem;
}
nav li:hover {
font-weight: 600;
border: 3px solid var(--grey-two);
padding: 10px 30px;
border-radius: 200px;
}
/*-----body-----*/
.wrapper {
padding-left: 6rem;
padding-right: 6rem;
}
.hero-text {
margin-top: 3%;
align-items: center;
}
.hero-text h1 {
font-size: 6.5rem;
letter-spacing: -0.04em;
}
.redder {
color: var(--red);
}
button {
font-weight: 600;
color: var(--white);
border: 3px solid var(--red);
border-radius: 200px;
padding: 12px 40px;
cursor: pointer;
background-color: transparent;
}
.hero-text button {
font-size: 1.5rem;
margin-top: 45px;
transform: translateX(-5%);
transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
transition-duration: 0.4s;
}
.filled-button {
background-color: var(--red);
}
.hero-text .filled-button {
margin-right: 20px;
box-shadow: 0px 0px 32px 1px var(--red-glow);
}
.hero-text .filled-button:hover {
box-shadow: 0px 0px 32px 1px var(--red-glow), 0px 0px 32px 1px var(--red-glow);
}
.hero-text button:hover {
transform: translate(-5%, -5%);
}
.hero-img {
width: 400px;
border-radius: 20px;
float: right;
transform: rotate(3.7deg) translateY(-24%) translateX(-12%);
}
</style>

0
src/routes/credits.html Normal file
View File

0
src/routes/docs.html Normal file
View File

0
src/routes/download.html Normal file
View File

195
src/routes/index.svelte Normal file
View File

@ -0,0 +1,195 @@
<nav>
<div class="logo">ReVanced</div>
<ul>
<li><a href="/index.html">Home</a></li>
<li><a href="/download.html">Download</a></li>
<li><a href="/docs.html">Docs</a></li>
<li><a href="/credits.html">Credits</a></li>
</ul>
</nav>
<div class="wrapper">
<section class="hero">
<div class="hero-text">
<div class=" hero-header">
<h1><span class="redder">Re</span>Vanced</h1>
</div>
<h3>An extensible framework for<br />building application mods.</h3>
<button class="filled-button">Download</button>
<button>Read The Docs</button>
<img class="hero-img" src="/manager.png" alt="Screenshot of ReVanced Manager" />
</div>
</section>
</div>
<style>
* {
box-sizing: inherit;
margin: 0;
padding: 0;
font-family: 'Manrope', sans-serif;
}
html {
font-size: 100%;
box-sizing: border-box;
overflow-x: hidden;
}
body {
margin: 0;
padding: 0;
line-height: 1.3;
background-color: #0f111a;
}
:root {
--white: #ffe1e1;
--red: #ff4151;
--red-glow: #ff838d40;
--grey-one: #1c1e29;
--grey-two: #2b2d3a;
--grey-three: #3e404f;
}
::selection {
color: var(--white);
background: var(--red);
}
/*-----headings-----*/
h1 {
color: var(--white);
font-weight: 800;
}
h3 {
color: var(--white);
font-weight: 300;
font-size: 1.85rem;
}
/*-----scrollbar-----*/
::-webkit-scrollbar {
width: 20px;
}
::-webkit-scrollbar-track {
background-color: transparent;
}
::-webkit-scrollbar-thumb {
background-color: var(--grey-two);
border-radius: 20px;
border: 6px solid transparent;
background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover {
background-color: var(--grey-three);
}
/*-----navbar-----*/
.logo {
color: #0f111a;
font-weight: 800;
font-size: 2.5rem;
}
nav {
width: 100%;
display: flex;
padding: 1.5rem 4rem 1.5rem 4rem;
justify-content: space-between;
align-items: center;
}
nav li {
width: 160px;
text-align: center;
list-style: none;
display: inline-block;
position: relative;
align-items: center;
}
nav a {
color: var(--white);
text-decoration: none;
font-size: 1.25rem;
}
nav li:hover {
font-weight: 600;
border: 3px solid var(--grey-two);
padding: 10px 30px;
border-radius: 200px;
}
/*-----body-----*/
.wrapper {
padding-left: 6rem;
padding-right: 6rem;
}
.hero-text {
margin-top: 3%;
align-items: center;
}
.hero-text h1 {
font-size: 6.5rem;
letter-spacing: -0.04em;
}
.redder {
color: var(--red);
}
button {
font-weight: 600;
color: var(--white);
border: 3px solid var(--red);
border-radius: 200px;
padding: 12px 40px;
cursor: pointer;
background-color: transparent;
user-select: none;
}
.hero-text button {
font-size: 1.5rem;
margin-top: 45px;
transform: translateX(-5%);
transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
transition-duration: 0.4s;
}
.filled-button {
background-color: var(--red);
}
.hero-text .filled-button {
margin-right: 20px;
box-shadow: 0px 0px 32px 1px var(--red-glow);
}
.hero-text .filled-button:hover {
box-shadow: 0px 0px 32px 1px var(--red-glow), 0px 0px 32px 1px var(--red-glow);
}
.hero-text button:hover {
transform: translate(-5%, -5%);
}
.hero-img {
width: 400px;
border-radius: 20px;
float: right;
transform: rotate(3.7deg) translateY(-24%) translateX(-12%);
}
</style>