Skip to content

Commit

Permalink
renew
Browse files Browse the repository at this point in the history
  • Loading branch information
aizcutei committed Jul 20, 2023
1 parent 047aec7 commit 941f8f8
Show file tree
Hide file tree
Showing 13 changed files with 645 additions and 922 deletions.
9 changes: 4 additions & 5 deletions package.json
Expand Up @@ -9,13 +9,12 @@
"preview": "vite preview"
},
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "^1.0.2",
"svelte": "^3.49.0",
"vite": "^3.1.0"
"@sveltejs/vite-plugin-svelte": "^2.4.2",
"svelte": "^4.1.0",
"vite": "^4.4.4"
},
"dependencies": {
"svelte-navigator": "^3.2.2",
"svelte-typewriter": "^3.0.4",
"unocss": "^0.46.1"
"unocss": "^0.53.5"
}
}
66 changes: 19 additions & 47 deletions src/App.svelte
@@ -1,57 +1,29 @@
<script>
import Avatar from "./assets/avatar.svg";
import { Router, Route, Link } from "svelte-navigator";
import Banner from "./lib/Banner.svelte";
import About from "./lib/About.svelte";
import Projects from "./lib/Projects.svelte";
import Works from "./lib/works.svelte";
function handleMousemove(event) {}
</script>

<Router>
<header>
<div />
</header>
<main>
<Route path="/">
<Banner />
</Route>

<Route path="/about">
<About />
</Route>
<header>
</header>
<main>
<h1>under maintenance</h1>
<h2>Please come back soon!</h2>
</main>

<Route path="/projects">
<Projects />
</Route>

<Route path="/works">
<Works />
</Route>

<nav>
<Link to="/" class="px-4 text-blue font-500 decoration-none">Home</Link>
<Link to="about" class="px-4 text-blue font-500 decoration-none"
>About</Link
>
<Link to="projects" class="px-4 text-blue font-500 decoration-none"
>Projects</Link
>
<Link to="works" class="px-4 text-blue font-500 decoration-none"
>Works</Link
>
</nav>
</main>
</Router>
<img
src={Avatar}
alt="Avatar"
class="absolute right-0 bottom-0 h-8 w-8 object-cover hover:h-12 hover:w-12 op90"
on:click={() => {
window.open("https://www.github.com/aizcutei");
}}
/>

<style>
main {
font-family: 'GB';
color: cornsilk;
animation: shine 2s infinite alternate;
}
@keyframes shine{
0%{
text-shadow: white 0px 0px 10px;
}
100%{
text-shadow: white 0px 0px 0px;
}
}
</style>
8 changes: 7 additions & 1 deletion src/app.css
Expand Up @@ -5,7 +5,7 @@

color-scheme: light;
color: rgba(0, 0, 0, 0.87);
background-image: url("./assets/grid.svg");
background-color: #111;

font-synthesis: none;
text-rendering: optimizeLegibility;
Expand All @@ -29,3 +29,9 @@ body {
margin: 0 auto;
text-align: center;
}

@font-face {
font-family: 'GB';
src: url('./assets/EarlyGameBoy.woff2') format('woff2');
font-style: normal;
}
Binary file added src/assets/EarlyGameBoy.woff2
Binary file not shown.
4 changes: 0 additions & 4 deletions src/assets/grid.svg

This file was deleted.

17 changes: 0 additions & 17 deletions src/assets/soundcloud.svg

This file was deleted.

12 changes: 0 additions & 12 deletions src/assets/twitter.svg

This file was deleted.

12 changes: 0 additions & 12 deletions src/assets/youtube.svg

This file was deleted.

48 changes: 0 additions & 48 deletions src/lib/About.svelte

This file was deleted.

48 changes: 0 additions & 48 deletions src/lib/Banner.svelte

This file was deleted.

73 changes: 0 additions & 73 deletions src/lib/Projects.svelte

This file was deleted.

0 comments on commit 941f8f8

Please sign in to comment.