initial work for page migration to astro
This commit is contained in:
parent
ccff1f3bc0
commit
c24bcd54d8
@ -7,13 +7,13 @@ const backgroundColorNightMode = "#240046";
|
||||
<h3>life of emma</h3>
|
||||
<ul>
|
||||
<li>
|
||||
emma's self
|
||||
<a href="/life/self/">emma's self</a>
|
||||
</li>
|
||||
<li>
|
||||
emma's interests
|
||||
<a href="/life/interests/">emma's interests</a>
|
||||
</li>
|
||||
<li>
|
||||
emma's rays of sunshine
|
||||
<a href="/life/sunshine/">emma's rays of sunshine</a>
|
||||
</li>
|
||||
</ul>
|
||||
<h3>site information</h3>
|
||||
|
22
src/pages/life/interests/index.astro
Normal file
22
src/pages/life/interests/index.astro
Normal file
@ -0,0 +1,22 @@
|
||||
---
|
||||
import BasicLayout from "../../../layouts/BasicLayout.astro";
|
||||
const pageTitle = "emma's interests - category"
|
||||
|
||||
const allPosts = Object.values(import.meta.glob('./entires/*.md', {eager: true}));
|
||||
---
|
||||
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{pageTitle}</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<BasicLayout>
|
||||
<h1>{pageTitle}</h1>
|
||||
|
||||
</BasicLayout>
|
||||
</body>
|
||||
</html>
|
22
src/pages/life/self/index.astro
Normal file
22
src/pages/life/self/index.astro
Normal file
@ -0,0 +1,22 @@
|
||||
---
|
||||
import BasicLayout from "../../../layouts/BasicLayout.astro";
|
||||
const pageTitle = "emma's self - category"
|
||||
|
||||
const allPosts = Object.values(import.meta.glob('./entires/*.md', {eager: true}));
|
||||
---
|
||||
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{pageTitle}</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<BasicLayout>
|
||||
<h1>{pageTitle}</h1>
|
||||
|
||||
</BasicLayout>
|
||||
</body>
|
||||
</html>
|
22
src/pages/life/sunshine/index.astro
Normal file
22
src/pages/life/sunshine/index.astro
Normal file
@ -0,0 +1,22 @@
|
||||
---
|
||||
import BasicLayout from "../../../layouts/BasicLayout.astro";
|
||||
const pageTitle = "emma's rays of sunshine - category"
|
||||
|
||||
const allPosts = Object.values(import.meta.glob('./entires/*.md', {eager: true}));
|
||||
---
|
||||
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{pageTitle}</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<BasicLayout>
|
||||
<h1>{pageTitle}</h1>
|
||||
|
||||
</BasicLayout>
|
||||
</body>
|
||||
</html>
|
@ -7,7 +7,6 @@
|
||||
--link-hover: #ff1493;
|
||||
--link-visited: #8a2be2;
|
||||
--link-color: #4b0082;
|
||||
--border-color: #db7093;
|
||||
}
|
||||
|
||||
*,
|
||||
@ -78,7 +77,6 @@ section {
|
||||
--link-color: #4cc9f0;
|
||||
--link-hover: #f72585;
|
||||
--link-visited: #4cc9f0;
|
||||
--border-color: #474973;
|
||||
}
|
||||
|
||||
body {
|
||||
@ -176,24 +174,6 @@ main section ul li {
|
||||
padding-bottom: 0.25rem;
|
||||
}
|
||||
|
||||
.picrew-gallery {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
gap: 2rem;
|
||||
margin: 1.75rem;
|
||||
}
|
||||
|
||||
.picrew-gallery img {
|
||||
border: 4px solid var(--border-color);
|
||||
border-radius: 5%;
|
||||
}
|
||||
|
||||
.picrew-gallery,
|
||||
.picrew-gallery-header {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.photo-gallery-header {
|
||||
text-align: center;
|
||||
}
|
||||
|
27
src/styles/picrew.css
Normal file
27
src/styles/picrew.css
Normal file
@ -0,0 +1,27 @@
|
||||
:root {
|
||||
--border-color: #db7093;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
--border-color: #474973;
|
||||
}
|
||||
}
|
||||
|
||||
.picrew-gallery {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
gap: 2rem;
|
||||
margin: 1.75rem;
|
||||
}
|
||||
|
||||
.picrew-gallery img {
|
||||
border: 4px solid var(--border-color);
|
||||
border-radius: 5%;
|
||||
}
|
||||
|
||||
.picrew-gallery,
|
||||
.picrew-gallery-header {
|
||||
text-align: center;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user