update content
This commit is contained in:
parent
76e18027e3
commit
da3d3927fd
27 changed files with 667 additions and 934 deletions
|
|
@ -1,25 +0,0 @@
|
|||
.background {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
height: 100dvh;
|
||||
justify-content: center;
|
||||
position: fixed;
|
||||
width: 100dvw;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
.background {
|
||||
background: var(--background-primary);
|
||||
}
|
||||
|
||||
.background img {
|
||||
height: auto;
|
||||
width: 100dvw;
|
||||
}
|
||||
|
||||
@media (max-width: 850px) {
|
||||
.background img {
|
||||
height: 100dvh;
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
"use client";
|
||||
|
||||
import Image from "next/image";
|
||||
|
||||
import background from "../public/images/background.jpg";
|
||||
|
||||
import styles from "./Background.module.css";
|
||||
|
||||
const Background = () => {
|
||||
return (
|
||||
<div className={styles.background}>
|
||||
<Image alt="background" src={background} />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default Background;
|
||||
|
|
@ -30,8 +30,3 @@
|
|||
margin: 0.5em;
|
||||
}
|
||||
}
|
||||
|
||||
.pipe {
|
||||
color: var(--color-dimmed);
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -59,7 +59,14 @@
|
|||
}
|
||||
}
|
||||
|
||||
/* show/hide */
|
||||
/* button */
|
||||
|
||||
.themeButton {
|
||||
display: flex;
|
||||
margin-left: 1em;
|
||||
}
|
||||
|
||||
/* display */
|
||||
|
||||
.showMobile {
|
||||
display: none !important;
|
||||
|
|
@ -80,9 +87,3 @@
|
|||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
.button {
|
||||
background: none;
|
||||
display: flex;
|
||||
margin-left: 1em;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -30,18 +30,16 @@ const Header = () => {
|
|||
</Link>
|
||||
</div>
|
||||
<div className={styles.menu}>
|
||||
<div>
|
||||
<ul>
|
||||
<li>
|
||||
<Link href="/artifacts">{"artifacts"}</Link>
|
||||
</li>
|
||||
<li>
|
||||
<button className={styles.button} onClick={toggleTheme}>
|
||||
<ThemeIcon darkTheme={darkTheme} />
|
||||
</button>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<ul>
|
||||
<li>
|
||||
<Link href="/artifacts">{"artifacts"}</Link>
|
||||
</li>
|
||||
<li>
|
||||
<button className={styles.themeButton} onClick={toggleTheme}>
|
||||
<ThemeIcon darkTheme={darkTheme} />
|
||||
</button>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -3,13 +3,13 @@ import * as React from "react";
|
|||
const ThemeIcon = ({ darkTheme }: any) => (
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
style={{ background: darkTheme ? "#111111" : "#FFFFFF" }}
|
||||
style={{ background: darkTheme ? "#191919" : "#FAFAFA" }}
|
||||
height="1.5em"
|
||||
width="1.5em"
|
||||
viewBox="0 0 100 100"
|
||||
>
|
||||
<circle cx="50" cy="50" r="40" fill={darkTheme ? "#F5F5F5" : "#0A0A0A"} />
|
||||
<circle cx="60" cy="50" r="37" fill={darkTheme ? "#111111" : "#FFFFFF"} />
|
||||
<circle cx="50" cy="50" r="40" fill={darkTheme ? "#FAFAFA" : "#191919"} />
|
||||
<circle cx="60" cy="50" r="37" fill={darkTheme ? "#191919" : "#FAFAFA"} />
|
||||
</svg>
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue