squash commit

This commit is contained in:
ryanchristo 2026-05-31 08:52:57 -07:00
commit c5a99d9522
53 changed files with 1734 additions and 0 deletions

View file

@ -0,0 +1,25 @@
.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;
}
}

17
components/Background.tsx Normal file
View file

@ -0,0 +1,17 @@
"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;

View file

@ -0,0 +1,32 @@
/* footer */
.footer {
background: var(--background-primary);
bottom: 0;
box-shadow: var(--box-shadow);
height: var(--footer-height);
position: fixed;
width: 100dvw;
}
.footer ul {
align-items: center;
display: flex;
height: inherit;
justify-content: center;
}
.footer li {
align-items: center;
display: flex;
height: inherit;
justify-content: center;
margin: 0 0.75em;
}
@media (max-width: 850px) {
.footer li {
font-size: 14px;
margin: 0.5em;
}
}

41
components/Footer.tsx Normal file
View file

@ -0,0 +1,41 @@
"use client";
import styles from "./Footer.module.css";
const Footer = () => {
return (
<div className={styles.footer}>
<ul>
<li>
<a
href="https://github.com/ryanchristo"
rel="noopener noreferrer"
target="_blank"
>
{"github"}
</a>
</li>
<li>
<a
href="https://www.linkedin.com/in/ryanchristo-"
rel="noopener noreferrer"
target="_blank"
>
{"linkedin"}
</a>
</li>
<li>
<span style={{ color: "rgba(255,255,255,0.25" }}>{"|"}</span>
</li>
<li>
<a href="/accounts">{"accounts"}</a>
</li>
<li>
<a href="/contact">{"contact"}</a>
</li>
</ul>
</div>
);
};
export default Footer;

View file

@ -0,0 +1,82 @@
/* header */
.header {
align-items: center;
background: var(--background-primary);
box-shadow: var(--box-shadow);
display: flex;
height: var(--header-height);
justify-content: center;
position: fixed;
width: 100dvw;
z-index: 1;
}
.header div {
align-items: center;
display: flex;
justify-content: space-between;
height: inherit;
margin: 0 1em;
}
@media (max-width: 850px) {
.header div {
margin: 0 0.5em;
}
}
/* title */
.title div {
color: var(--color-text);
font-size: 22px;
}
@media (max-width: 850px) {
.title div {
font-size: 16px;
}
}
/* menu */
.menu ul {
align-items: center;
display: flex;
justify-content: center;
list-style: none inside none;
}
.menu li {
margin: 0.75em;
}
@media (max-width: 850px) {
.menu li {
font-size: 14px;
margin: 0.5em;
}
}
/* show/hide */
.showMobile {
display: none !important;
}
@media (max-width: 375px) {
.showMobile {
display: block !important;
}
}
.showDesktop {
display: block !important;
}
@media (max-width: 375px) {
.showDesktop {
display: none !important;
}
}

38
components/Header.tsx Normal file
View file

@ -0,0 +1,38 @@
"use client";
import Link from "next/link";
import styles from "./Header.module.css";
const Header = () => {
return (
<div className={styles.header}>
<div>
<div className={styles.title}>
<Link href="/">
<div className={styles.showMobile}>{"rc"}</div>
<div className={styles.showDesktop}>{"ryan christoffersen"}</div>
</Link>
</div>
<div className={styles.menu}>
<ul>
<li>
<Link href="/about">{"about"}</Link>
</li>
<li>
<Link href="/film">{"film"}</Link>
</li>
<li>
<Link href="/tech">{"tech"}</Link>
</li>
<li>
<Link href="/text">{"text"}</Link>
</li>
</ul>
</div>
</div>
</div>
);
};
export default Header;