parent
f1757de5f1
commit
b95516612f
@ -0,0 +1,7 @@
|
||||
import styles from '../styles/components/Button.module.css'
|
||||
|
||||
const Button = (props) => (
|
||||
<a className={styles.btn} rel={props.rel} target={props.target} href={props.href}>{props.content}</a>
|
||||
)
|
||||
|
||||
export default Button
|
@ -0,0 +1,19 @@
|
||||
import Head from 'next/head'
|
||||
import styles from '../styles/components/IndexHeader.module.css'
|
||||
|
||||
const Header = () => (
|
||||
<div>
|
||||
<Head>
|
||||
<link rel="icon" href="/sign.png" />
|
||||
</Head>
|
||||
|
||||
<div className={styles.items}>
|
||||
{/* <a href="/">Home</a> */}
|
||||
<a href="/commissions">Commissions</a>
|
||||
<a href="/gallery">Gallery</a>
|
||||
<a href="/contact">Contact</a>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
|
||||
export default Header
|
File diff suppressed because it is too large
Load Diff
After Width: | Height: | Size: 123 KiB |
After Width: | Height: | Size: 87 KiB |
After Width: | Height: | Size: 285 KiB |
@ -0,0 +1,24 @@
|
||||
var colors = ["#ff55c8", "#00d4ff", "#4f4fff", "#FFF"];
|
||||
|
||||
function frame() {
|
||||
confetti({
|
||||
particleCount: 4,
|
||||
angle: 60,
|
||||
spread: 55,
|
||||
origin: { x: 0, y: 1 },
|
||||
colors: colors,
|
||||
});
|
||||
confetti({
|
||||
particleCount: 4,
|
||||
angle: 120,
|
||||
spread: 55,
|
||||
origin: { x: 1, y: 1 },
|
||||
colors: colors,
|
||||
});
|
||||
|
||||
if (Date.now() < Date.now() + 15000) {
|
||||
requestAnimationFrame(frame);
|
||||
}
|
||||
}
|
||||
|
||||
window.onload = frame();
|
@ -0,0 +1,20 @@
|
||||
.btn {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
gap: 1em;
|
||||
border-radius: 10px;
|
||||
padding: 0.3em 2em;
|
||||
font-size: 1em;
|
||||
box-shadow: var(--box-shadow);
|
||||
background-color: var(--theme-color);
|
||||
color: white;
|
||||
transition-duration: 0.1s;
|
||||
font-weight: bold;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.btn:hover {
|
||||
transform: scale(0.95);
|
||||
transition-duration: 0.1s;
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
.items {
|
||||
display: flex;
|
||||
gap: 1em;
|
||||
}
|
||||
|
||||
.items a {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 0.3em 1.3em;
|
||||
border-radius: 5px;
|
||||
color: white;
|
||||
transition-duration: 0.2s;
|
||||
background-color: rgba(0,0,0,0.3);
|
||||
}
|
||||
|
||||
.items a:hover {
|
||||
transition-duration: 0.2s;
|
||||
background-color: rgba(79,79,255,1);
|
||||
}
|
||||
|
||||
/* mobile */
|
||||
@media(max-aspect-ratio: 4/3) {
|
||||
.menu > div {
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.menu {
|
||||
padding: 0.5em;
|
||||
}
|
||||
}
|
Loading…
Reference in new issue