mirror of
https://github.com/revanced/revanced-website.git
synced 2025-04-29 14:14:30 +02:00
get svelted
This commit is contained in:
parent
0292877d0d
commit
c0758c8283
13
.eslintignore
Normal file
13
.eslintignore
Normal file
@ -0,0 +1,13 @@
|
||||
.DS_Store
|
||||
node_modules
|
||||
/build
|
||||
/.svelte-kit
|
||||
/package
|
||||
.env
|
||||
.env.*
|
||||
!.env.example
|
||||
|
||||
# Ignore files for PNPM, NPM and YARN
|
||||
pnpm-lock.yaml
|
||||
package-lock.json
|
||||
yarn.lock
|
20
.eslintrc.cjs
Normal file
20
.eslintrc.cjs
Normal file
@ -0,0 +1,20 @@
|
||||
module.exports = {
|
||||
root: true,
|
||||
parser: '@typescript-eslint/parser',
|
||||
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'prettier'],
|
||||
plugins: ['svelte3', '@typescript-eslint'],
|
||||
ignorePatterns: ['*.cjs'],
|
||||
overrides: [{ files: ['*.svelte'], processor: 'svelte3/svelte3' }],
|
||||
settings: {
|
||||
'svelte3/typescript': () => require('typescript')
|
||||
},
|
||||
parserOptions: {
|
||||
sourceType: 'module',
|
||||
ecmaVersion: 2020
|
||||
},
|
||||
env: {
|
||||
browser: true,
|
||||
es2017: true,
|
||||
node: true
|
||||
}
|
||||
};
|
7
.gitignore
vendored
7
.gitignore
vendored
@ -1 +1,8 @@
|
||||
.DS_Store
|
||||
node_modules
|
||||
/build
|
||||
/.svelte-kit
|
||||
/package
|
||||
.env
|
||||
.env.*
|
||||
!.env.example
|
||||
|
13
.prettierignore
Normal file
13
.prettierignore
Normal file
@ -0,0 +1,13 @@
|
||||
.DS_Store
|
||||
node_modules
|
||||
/build
|
||||
/.svelte-kit
|
||||
/package
|
||||
.env
|
||||
.env.*
|
||||
!.env.example
|
||||
|
||||
# Ignore files for PNPM, NPM and YARN
|
||||
pnpm-lock.yaml
|
||||
package-lock.json
|
||||
yarn.lock
|
6
.prettierrc
Normal file
6
.prettierrc
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"useTabs": true,
|
||||
"singleQuote": true,
|
||||
"trailingComma": "none",
|
||||
"printWidth": 100
|
||||
}
|
38
README.md
Normal file
38
README.md
Normal file
@ -0,0 +1,38 @@
|
||||
# create-svelte
|
||||
|
||||
Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/master/packages/create-svelte).
|
||||
|
||||
## Creating a project
|
||||
|
||||
If you're seeing this, you've probably already done this step. Congrats!
|
||||
|
||||
```bash
|
||||
# create a new project in the current directory
|
||||
npm init svelte
|
||||
|
||||
# create a new project in my-app
|
||||
npm init svelte my-app
|
||||
```
|
||||
|
||||
## Developing
|
||||
|
||||
Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
|
||||
|
||||
```bash
|
||||
npm run dev
|
||||
|
||||
# or start the server and open the app in a new browser tab
|
||||
npm run dev -- --open
|
||||
```
|
||||
|
||||
## Building
|
||||
|
||||
To create a production version of your app:
|
||||
|
||||
```bash
|
||||
npm run build
|
||||
```
|
||||
|
||||
You can preview the production build with `npm run preview`.
|
||||
|
||||
> To deploy your app, you may need to install an [adapter](https://kit.svelte.dev/docs/adapters) for your target environment.
|
170
css/styles.css
170
css/styles.css
@ -1,170 +0,0 @@
|
||||
* {
|
||||
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;
|
||||
}
|
||||
|
||||
.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%);
|
||||
}
|
||||
|
||||
|
40
index.html
40
index.html
@ -1,40 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<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" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<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>
|
||||
</div>
|
||||
</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="images/manager.png" alt="Screenshot of ReVanced Manager">
|
||||
</section>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
5287
package-lock.json
generated
Normal file
5287
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
33
package.json
Normal file
33
package.json
Normal file
@ -0,0 +1,33 @@
|
||||
{
|
||||
"name": "revanced-website",
|
||||
"version": "0.0.1",
|
||||
"scripts": {
|
||||
"dev": "vite dev",
|
||||
"build": "vite build",
|
||||
"package": "svelte-kit package",
|
||||
"preview": "vite preview",
|
||||
"prepare": "svelte-kit sync",
|
||||
"check": "svelte-check --tsconfig ./tsconfig.json",
|
||||
"check:watch": "svelte-check --tsconfig ./tsconfig.json --watch",
|
||||
"lint": "prettier --check --plugin-search-dir=. . && eslint .",
|
||||
"format": "prettier --write --plugin-search-dir=. ."
|
||||
},
|
||||
"devDependencies": {
|
||||
"@sveltejs/adapter-auto": "next",
|
||||
"@sveltejs/kit": "next",
|
||||
"@typescript-eslint/eslint-plugin": "^5.27.0",
|
||||
"@typescript-eslint/parser": "^5.27.0",
|
||||
"eslint": "^8.16.0",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"eslint-plugin-svelte3": "^4.0.0",
|
||||
"prettier": "^2.6.2",
|
||||
"prettier-plugin-svelte": "^2.7.0",
|
||||
"svelte": "^3.44.0",
|
||||
"svelte-check": "^2.7.1",
|
||||
"svelte-preprocess": "^4.10.6",
|
||||
"tslib": "^2.3.1",
|
||||
"typescript": "^4.7.4",
|
||||
"vite": "^3.0.0"
|
||||
},
|
||||
"type": "module"
|
||||
}
|
11
src/app.d.ts
vendored
Normal file
11
src/app.d.ts
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
/// <reference types="@sveltejs/kit" />
|
||||
|
||||
// See https://kit.svelte.dev/docs/types#app
|
||||
// for information about these interfaces
|
||||
// and what to do when importing types
|
||||
declare namespace App {
|
||||
// interface Locals {}
|
||||
// interface Platform {}
|
||||
// interface Session {}
|
||||
// interface Stuff {}
|
||||
}
|
12
src/app.html
Normal file
12
src/app.html
Normal file
@ -0,0 +1,12 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="icon" href="%sveltekit.assets%/favicon.png" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
%sveltekit.head%
|
||||
</head>
|
||||
<body>
|
||||
<div>%sveltekit.body%</div>
|
||||
</body>
|
||||
</html>
|
186
src/routes/__layout.svelte
Normal file
186
src/routes/__layout.svelte
Normal 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>
|
195
src/routes/index.svelte
Normal file
195
src/routes/index.svelte
Normal 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>
|
BIN
static/favicon.png
Normal file
BIN
static/favicon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 154 KiB After Width: | Height: | Size: 154 KiB |
15
svelte.config.js
Normal file
15
svelte.config.js
Normal file
@ -0,0 +1,15 @@
|
||||
import adapter from '@sveltejs/adapter-auto';
|
||||
import preprocess from 'svelte-preprocess';
|
||||
|
||||
/** @type {import('@sveltejs/kit').Config} */
|
||||
const config = {
|
||||
// Consult https://github.com/sveltejs/svelte-preprocess
|
||||
// for more information about preprocessors
|
||||
preprocess: preprocess(),
|
||||
|
||||
kit: {
|
||||
adapter: adapter()
|
||||
}
|
||||
};
|
||||
|
||||
export default config;
|
13
tsconfig.json
Normal file
13
tsconfig.json
Normal file
@ -0,0 +1,13 @@
|
||||
{
|
||||
"extends": "./.svelte-kit/tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"allowJs": true,
|
||||
"checkJs": true,
|
||||
"esModuleInterop": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"resolveJsonModule": true,
|
||||
"skipLibCheck": true,
|
||||
"sourceMap": true,
|
||||
"strict": true
|
||||
}
|
||||
}
|
8
vite.config.js
Normal file
8
vite.config.js
Normal file
@ -0,0 +1,8 @@
|
||||
import { sveltekit } from '@sveltejs/kit/vite';
|
||||
|
||||
/** @type {import('vite').UserConfig} */
|
||||
const config = {
|
||||
plugins: [sveltekit()]
|
||||
};
|
||||
|
||||
export default config;
|
Loading…
x
Reference in New Issue
Block a user