about is home
All checks were successful
Deployment / Install (push) Successful in 3m17s

This commit is contained in:
Benjamin Palko 2025-04-28 09:55:33 -04:00
parent a9c01344b8
commit aa28150c17
5 changed files with 26 additions and 30 deletions

View file

@ -8,7 +8,7 @@
let { title, pages, route }: Props = $props(); let { title, pages, route }: Props = $props();
</script> </script>
<nav class="navbar px-12"> <nav class="navbar">
<div class="flex flex-1 items-center gap-4"> <div class="flex flex-1 items-center gap-4">
<a href="/"> <a href="/">
<div class="avatar avatar-placeholder w-12"> <div class="avatar avatar-placeholder w-12">

View file

@ -1,7 +1,7 @@
<script lang="ts"> <script lang="ts">
import { TriangleAlertIcon } from 'lucide-svelte'; import { TriangleAlertIcon } from 'lucide-svelte';
const messages = ['Under Construction', 'Caution', 'Work In Progress']; const messages = ['Under Construction', 'Caution', 'Work In Progress', 'Hard-hats required!'];
</script> </script>
{#snippet Banner(messages: string[], backwards: boolean)} {#snippet Banner(messages: string[], backwards: boolean)}

View file

@ -7,7 +7,7 @@
let { children } = $props(); let { children } = $props();
const pages = [ const pages = [
{ slug: '/about', name: 'About Me' }, { slug: '/', name: 'About Me' },
{ slug: '/resume', name: 'Resume' }, { slug: '/resume', name: 'Resume' },
{ slug: '/blog', name: 'Blog' }, { slug: '/blog', name: 'Blog' },
{ slug: '/projects', name: 'Projects' }, { slug: '/projects', name: 'Projects' },
@ -20,13 +20,23 @@
{ name: 'Itch.io', href: 'https://baobeld.itch.io/' }, { name: 'Itch.io', href: 'https://baobeld.itch.io/' },
{ name: 'Ko-fi', href: 'https://ko-fi.com/baobeld' } { name: 'Ko-fi', href: 'https://ko-fi.com/baobeld' }
]; ];
let current = $derived(pages.find((p) => p.slug === page.route.id));
</script> </script>
<div class="h-screen w-screen p-12"> <div class="h-screen w-screen p-12">
<div class="bg-base-200 flex min-h-full flex-col rounded-4xl p-8"> <div class="bg-base-200 flex min-h-full flex-col rounded-4xl">
<Navbar title="Benjamin Palko" {pages} route={page.route} /> <div class="p-8">
<div class="flex flex-1 items-stretch justify-center p-8">{@render children()}</div> <Navbar title="Benjamin Palko" {pages} route={page.route} />
<div> </div>
{#if current && current.slug !== '/'}
<div class="bg-base-300 w-full px-12 py-8">
<h1 class="text-4xl font-light">{current.name}</h1>
</div>
{/if}
<div class="flex flex-1 items-stretch justify-center p-8">
{@render children()}
</div>
<div class="p-8">
<Footer links={socialLinks} /> <Footer links={socialLinks} />
</div> </div>
</div> </div>

View file

@ -1,5 +0,0 @@
<script lang="ts">
import Wip from '$lib/components/WIP.svelte';
</script>
<Wip />

View file

@ -1,27 +1,18 @@
<script> <script>
import { enhance } from '$app/forms'; import { enhance } from '$app/forms';
import { Croissant, Mail, Send, UserRound } from 'lucide-svelte'; import { Croissant, Mail, UserRound } from 'lucide-svelte';
</script> </script>
<div class="flex w-full justify-around"> <div class="flex flex-col">
<div class="flex flex-col gap-4"> <div class="flex flex-col items-center">
<h1 class="text-4xl"> <span class="animate-bounce text-2xl">😁</span>
Hello there friend.<br />Want to chat? <h2 class="text-2xl">Hello there friend</h2>
</h1>
<h5 class="text-lg">Reach out! 🤝</h5>
<div class="flex items-center gap-4 rounded-lg bg-base-100 p-4 shadow-lg">
<Send size="24" />
<div class="flex flex-col font-semibold">
Send me an email!
<a class="link link-primary" href="mailto:benjaminpalko@hotmail.com">
benjaminpalko@hotmail.com
</a>
</div>
</div>
</div> </div>
<form id="contact" use:enhance> <form id="contact" use:enhance>
<div class="flex flex-col gap-4 bg-base-200"> <div class="bg-base-200 flex flex-col gap-4">
<h2 class="text-xl font-semibold">Send me a message!</h2> <h1 class="text-4xl">Want to chat?</h1>
<h5 class="text-lg">Reach out! 🤝</h5>
<label class="input input-bordered flex items-center gap-2"> <label class="input input-bordered flex items-center gap-2">
<UserRound /> <UserRound />
<input name="name" type="text" class="grow" placeholder="What is your name?" /> <input name="name" type="text" class="grow" placeholder="What is your name?" />