add background image

This commit is contained in:
2024-06-04 16:27:56 +02:00
parent 9d8735b35c
commit 42e65a5eb8
7 changed files with 49 additions and 15 deletions

View File

@@ -1,7 +1,7 @@
export default async function Page() { export default async function Page() {
return ( return (
<div className="flex flex-col items-center"> <div className="flex flex-col items-center">
<h1 className="text-4xl">Certificates (1)</h1> <h1 className="text-4xl my-5">Certificates (1)</h1>
{[1, 2, 3].map((certificate) => ( {[1, 2, 3].map((certificate) => (
<div className="text-center my-10"> <div className="text-center my-10">

View File

@@ -1,7 +1,13 @@
export default async function Page() { export default async function Page() {
return ( return (
<div className="flex flex-col items-center"> <div className="flex flex-col items-center">
<h1 className="text-4xl">The Collective Knowledge of Stan Runge</h1> <h1 className="text-4xl my-5">The Collective Knowledge of Stan Runge</h1>
Pronounced as "konyo"
<p className="my-5">
The Collective Knowledge of Stan Runge (CoKno) is a project started by
Stan designed to serve as a personal Zettelkast system, similiar to
Wikipedia.
</p>
</div> </div>
); );
} }

View File

@@ -1,7 +1,7 @@
import { GeistSans } from "geist/font/sans"; import { GeistSans } from "geist/font/sans";
import "./globals.css"; import "./globals.css";
import TabItem from "@/components/TabItem"; import TabItem from "@/components/TabItem";
import { MdiGithub } from "./components/MdiGithub"; import { MdiGithub } from "../components/MdiGithub";
const defaultUrl = process.env.VERCEL_URL const defaultUrl = process.env.VERCEL_URL
? `https://${process.env.VERCEL_URL}` ? `https://${process.env.VERCEL_URL}`
@@ -20,7 +20,27 @@ export default function RootLayout({
}) { }) {
return ( return (
<html lang="en" className={GeistSans.className}> <html lang="en" className={GeistSans.className}>
<body> <body
style={{
position: "relative",
color: "white",
backgroundColor: "rgba(0, 0, 0, 1)",
}}
>
<div
style={{
backgroundImage: `url(${metadata.metadataBase}/moon.jpeg)`,
backgroundSize: "cover",
backgroundPosition: "center",
filter: "blur(5px)",
position: "fixed", // Changed from 'absolute' to 'fixed'
top: 0,
left: -46,
width: "100%",
height: "100%",
zIndex: -1,
}}
/>
<div className="flex justify-between my-5 font-bold mx-5"> <div className="flex justify-between my-5 font-bold mx-5">
<div> <div>
<h1 className="text-2xl"> <h1 className="text-2xl">
@@ -31,7 +51,7 @@ export default function RootLayout({
<TabItem targetPath="/projects" text="Projects" /> <TabItem targetPath="/projects" text="Projects" />
<TabItem targetPath="/publications" text="Publications" /> <TabItem targetPath="/publications" text="Publications" />
<TabItem targetPath="/certificates" text="Certificates" /> <TabItem targetPath="/certificates" text="Certificates" />
{/* <TabItem targetPath="/cokno" text="CoKno" /> */} <TabItem targetPath="/cokno" text="CoKno" />
</div> </div>
<div className="flex justify-center gap-5"> <div className="flex justify-center gap-5">
<a href="https://github.com/stanrunge" className="text-blue-500"> <a href="https://github.com/stanrunge" className="text-blue-500">

View File

@@ -1,8 +1,16 @@
export default async function Page() { export default async function Page() {
return ( return (
<div className="flex flex-col items-center"> <div className="flex flex-col items-center">
<h1 className="text-4xl">Projects (2)</h1> <h1 className="text-4xl my-5">Projects (2)</h1>
</div>
); <h2 className="text-2xl">Vash Software</h2>
} <p>
Vash was originally a video game clan, transformed by Stan to be a
global{" "}
</p>
<h2 className="text-2xl">Personal Projects</h2>
<h3>Spotify osu! Map Finder</h3>
</div>
);
}

View File

@@ -1,7 +1,7 @@
export default async function Page() { export default async function Page() {
return ( return (
<div className="flex flex-col items-center"> <div className="flex flex-col items-center">
<h1 className="text-4xl">Publications (1)</h1> <h1 className="text-4xl my-5">Publications (1)</h1>
<div className="my-5"> <div className="my-5">
<h2 className="text-2xl">Presentations (1)</h2> <h2 className="text-2xl">Presentations (1)</h2>
<ul> <ul>
@@ -9,7 +9,7 @@ export default async function Page() {
</ul> </ul>
</div> </div>
{/* <div className="my-5"> <div className="my-5">
<h2 className="text-2xl">Literature Reviews (19)</h2> <h2 className="text-2xl">Literature Reviews (19)</h2>
<ul> <ul>
<li>Deep Learning with Python</li> <li>Deep Learning with Python</li>
@@ -32,7 +32,7 @@ export default async function Page() {
<li>Good Strategy Bad Strategy</li> <li>Good Strategy Bad Strategy</li>
<li>Neuroscience: Exploring the Brain</li> <li>Neuroscience: Exploring the Brain</li>
</ul> </ul>
</div> */} </div>
{/* <h2>Blog posts (0)</h2> */} {/* <h2>Blog posts (0)</h2> */}
</div> </div>

BIN
public/moon.jpeg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB