refactor: cleanup home
This commit is contained in:
parent
d88054b598
commit
3a18af36b3
|
@ -1,9 +1,3 @@
|
||||||
---
|
|
||||||
layout: ../layouts/Home.astro
|
|
||||||
title: "Welcome to kamoshi.org!"
|
|
||||||
date: "2020–12–09"
|
|
||||||
---
|
|
||||||
|
|
||||||
# Welcome to my website! :heart:
|
# Welcome to my website! :heart:
|
||||||
|
|
||||||
You have found this little floating rock in the middle of the Internet! Congrats 🎉
|
You have found this little floating rock in the middle of the Internet! Congrats 🎉
|
||||||
|
@ -63,4 +57,3 @@ Thanks for visiting! :smile:
|
||||||
'、_ノ、__>
|
'、_ノ、__>
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,21 +0,0 @@
|
||||||
---
|
|
||||||
import Base from "./Base.astro";
|
|
||||||
import Intro from "@components/cards/Intro.astro";
|
|
||||||
import Photo from "../components/cards/Photo.astro";
|
|
||||||
|
|
||||||
---
|
|
||||||
<Base title={"Home"}>
|
|
||||||
<main class="l-home">
|
|
||||||
<article class="l-home__article markdown">
|
|
||||||
<slot />
|
|
||||||
</article>
|
|
||||||
<aside class="l-home__aside">
|
|
||||||
<!-- -->
|
|
||||||
<Intro />
|
|
||||||
<!-- -->
|
|
||||||
<Photo />
|
|
||||||
<!-- -->
|
|
||||||
</aside>
|
|
||||||
</main>
|
|
||||||
</Base>
|
|
||||||
|
|
17
src/pages/index.astro
Normal file
17
src/pages/index.astro
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
---
|
||||||
|
import Base from "@layouts/Base.astro";
|
||||||
|
import Intro from "@components/cards/Intro.astro";
|
||||||
|
import Photo from "@components/cards/Photo.astro";
|
||||||
|
import Text from "@assets/markdown/index.md";
|
||||||
|
---
|
||||||
|
<Base title="Home">
|
||||||
|
<main class="l-home">
|
||||||
|
<article class="l-home__article markdown">
|
||||||
|
<Text/>
|
||||||
|
</article>
|
||||||
|
<aside class="l-home__aside">
|
||||||
|
<Intro/>
|
||||||
|
<Photo/>
|
||||||
|
</aside>
|
||||||
|
</main>
|
||||||
|
</Base>
|
Loading…
Reference in a new issue