feat: revert previous move of pages and update layout

This commit is contained in:
Damillora 2024-03-20 02:57:53 +07:00
parent e8598cf80a
commit e0a17e4541
16 changed files with 25 additions and 37 deletions

14
package-lock.json generated
View File

@ -8,7 +8,7 @@
"name": "~TODO~", "name": "~TODO~",
"version": "0.0.1", "version": "0.0.1",
"dependencies": { "dependencies": {
"@damillora/plachta": "^4.1.2", "@damillora/plachta": "^4.3.0",
"@sveltejs/adapter-node": "^1.1.6", "@sveltejs/adapter-node": "^1.1.6",
"dayjs": "^1.11.7", "dayjs": "^1.11.7",
"howler": "^2.2.3", "howler": "^2.2.3",
@ -155,9 +155,9 @@
} }
}, },
"node_modules/@damillora/plachta": { "node_modules/@damillora/plachta": {
"version": "4.1.2", "version": "4.3.0",
"resolved": "https://registry.npmjs.org/@damillora/plachta/-/plachta-4.1.2.tgz", "resolved": "https://registry.npmjs.org/@damillora/plachta/-/plachta-4.3.0.tgz",
"integrity": "sha512-Y54dX/am9QeZFjNPvRO/PPqWzZ8SEkFYjMadDccq9I10MLjZn/mZ2BZOJjYtragKS+Yaovn/yTHqX3qDyWjRCg==", "integrity": "sha512-XW6T2yerFhP8fNzAAYgGO1rZvb+s/YmKAqOKs0Ku4HHaGwwUaSsShCRq+xMi8M1mSOGCRszFjpqHJ79LehNGKg==",
"dependencies": { "dependencies": {
"@sveltejs/package": "^2.2.0", "@sveltejs/package": "^2.2.0",
"svelte": "^4.1.2", "svelte": "^4.1.2",
@ -3776,9 +3776,9 @@
} }
}, },
"@damillora/plachta": { "@damillora/plachta": {
"version": "4.1.2", "version": "4.3.0",
"resolved": "https://registry.npmjs.org/@damillora/plachta/-/plachta-4.1.2.tgz", "resolved": "https://registry.npmjs.org/@damillora/plachta/-/plachta-4.3.0.tgz",
"integrity": "sha512-Y54dX/am9QeZFjNPvRO/PPqWzZ8SEkFYjMadDccq9I10MLjZn/mZ2BZOJjYtragKS+Yaovn/yTHqX3qDyWjRCg==", "integrity": "sha512-XW6T2yerFhP8fNzAAYgGO1rZvb+s/YmKAqOKs0Ku4HHaGwwUaSsShCRq+xMi8M1mSOGCRszFjpqHJ79LehNGKg==",
"requires": { "requires": {
"@sveltejs/package": "^2.2.0", "@sveltejs/package": "^2.2.0",
"svelte": "^4.1.2", "svelte": "^4.1.2",

View File

@ -25,7 +25,7 @@
}, },
"type": "module", "type": "module",
"dependencies": { "dependencies": {
"@damillora/plachta": "^4.1.2", "@damillora/plachta": "^4.3.0",
"@sveltejs/adapter-node": "^1.1.6", "@sveltejs/adapter-node": "^1.1.6",
"dayjs": "^1.11.7", "dayjs": "^1.11.7",
"howler": "^2.2.3", "howler": "^2.2.3",

View File

@ -1,9 +0,0 @@
<script>
import { Hero } from "@damillora/plachta";
</script>
<Hero background="/images/bg/283-yuika/bg-xxl.jpg" />
<slot/>

View File

@ -14,6 +14,7 @@
<Base> <Base>
<SiteHeader /> <SiteHeader />
<Hero background="/images/bg/283-yuika/bg-xxl.jpg" />
<slot /> <slot />
<Footer> <Footer>

View File

@ -1,35 +1,31 @@
<script> <script>
import { Hero, HeroContent, HeroList, Container, Index } from '@damillora/plachta'; import { Hero, HeroContent, HeroList, Container, Index, Post } from '@damillora/plachta';
</script> </script>
<svelte:head> <svelte:head>
<title>Damillora</title> <title>Damillora</title>
</svelte:head> </svelte:head>
<HeroList> <Container>
<Hero background="/images/bg/283-yuika/bg-xxl.jpg"> <Post>
<HeroContent>
<h1>Programmer by day, DJ at night</h1> <h1>Programmer by day, DJ at night</h1>
<p> <p>
Welcome to my personal website. I'm a programmer by day, and a DJ by night. Welcome to my personal website. I'm a programmer by day, and a DJ by night. This site serves
This site serves as my introduction, and lists my coding projects and game reviews as well. as my introduction, and lists my coding projects and game reviews as well.
</p> </p>
</HeroContent> </Post>
</Hero> </Container>
<Hero background="/images/default-feature.jpg" halfWidth> <HeroList>
<Hero background="/images/default-feature.jpg" halfWidth contentSize="medium">
<HeroContent> <HeroContent>
<h1><a href="/projects">Software Projects</a></h1> <h1><a href="/projects">Software Projects</a></h1>
<p> <p>I make various software, including this very website.</p>
I make various software, including this very website.
</p>
</HeroContent> </HeroContent>
</Hero> </Hero>
<Hero background="/images/feature-dj.jpg" halfWidth> <Hero background="/images/feature-dj.jpg" halfWidth contentSize="medium">
<HeroContent> <HeroContent>
<h1><a href="/dj">DJ Damillora</a></h1> <h1><a href="/dj">DJ Damillora</a></h1>
<p> <p>I focus on playing Japanese music vocals on top of club music.</p>
I focus on playing Japanese music vocals on top of club music.
</p>
</HeroContent> </HeroContent>
</Hero> </Hero>
</HeroList> </HeroList>

View File

@ -8,7 +8,7 @@
<title>Damillora: About</title> <title>Damillora: About</title>
</svelte:head> </svelte:head>
<Hero background="/images/feature-dj.jpg"> <Hero background="/images/feature-dj.jpg" contentSize="medium">
<HeroContent> <HeroContent>
<h1 class="page-header__heading">DJ Damillora</h1> <h1 class="page-header__heading">DJ Damillora</h1>
<p> <p>