This commit is contained in:
Yannik
2023-05-20 17:13:10 +02:00
commit 98ee03d9ed
15 changed files with 5456 additions and 0 deletions

1
src/env.d.ts vendored Normal file
View File

@@ -0,0 +1 @@
/// <reference types="astro/client" />

14
src/layouts/Base.astro Normal file
View File

@@ -0,0 +1,14 @@
---
let { title } = Astro.props;
---
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.png" />
<meta name="viewport" content="width=device-width" />
<meta name="generator" content={Astro.generator} />
<title>{title}</title>
</head>
<body><slot /></body>
</html>

18
src/pages/index.astro Normal file
View File

@@ -0,0 +1,18 @@
---
import Base from "../layouts/Base.astro";
import "../styles/global.scss";
---
<Base title="Work in progress">
<h1 class="wip-title">Work in <span class="text-gradient">progress</span></h1>
<div class="card">
<p>
Hey👋,<br>
<br>
this is my personal website wich gets a rewrite rignt now. <br>
My name is Yannik aka vaporvee and I'm 19 years old.
In my freetime i'm a gamedev and i code in C++, Godot Engine's GDScript and C#.
If you want to see the progress on this website visit <a href="https://github.com/vaporvee/web">github.com/vaporvee/web</a>
</p>
</div>
</Base>

View File

@@ -0,0 +1,3 @@
$primary-color: #66D48E;
$accent-color: #8400ff;
$accent-gradient: linear-gradient(45deg, $primary-color, $accent-color 50%, white 60%);

42
src/styles/global.scss Normal file
View File

@@ -0,0 +1,42 @@
@import "./_variables.scss";
body {
font-family: system-ui, sans-serif;
background-color: #0a0a0a;
}
.wip-title {
margin-top: 100px;
font-size: 50px;
text-align: center;
color: white;
}
.text-gradient {
background-image: $accent-gradient;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-size: 400%;
background-position: 0%;
}
.card {
position: absolute;
background-color: #1d1d1d;
color: white;
padding: 35px;
width: 50%;
margin:0;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
border-radius: 15px;
box-shadow: rgba($primary-color, 0.4) 5px 5px, rgba($primary-color, 0.3) 10px 10px, rgba($primary-color, 0.2) 15px 15px, rgba($primary-color, 0.1) 20px 20px, rgba($primary-color, 0.05) 25px 25px;
a {
color: #2525ca;
text-decoration: underline 2px;
}
p{
font-size: 20px;
}
}