chore: update project configurations and add Prettier settings

This commit is contained in:
2025-03-13 21:05:32 +01:00
parent 1f2304144c
commit a261bbd60c
25 changed files with 1100 additions and 940 deletions

View File

@ -1,45 +1,52 @@
---
import FadeIn from '../ui/FadeIn.astro';
import { Icon } from 'astro-icon/components';
import { SiPhp, SiJavascript, SiMysql, SiReact } from 'react-icons/si';
import { FaGithub, FaLinkedin, FaGlobe, FaPalette } from 'react-icons/fa';
import { BsLightningChargeFill } from 'react-icons/bs';
import { IoServerOutline } from 'react-icons/io5';
import { Image } from 'astro:assets';
import FadeIn from "../ui/FadeIn.astro";
import { Icon } from "astro-icon/components";
import { SiPhp, SiJavascript, SiMysql, SiReact } from "react-icons/si";
import { FaGithub, FaLinkedin, FaGlobe, FaPalette } from "react-icons/fa";
import { BsLightningChargeFill } from "react-icons/bs";
import { IoServerOutline } from "react-icons/io5";
import { Image } from "astro:assets";
const technologies = [
{ name: 'PHP', icon: SiPhp },
{ name: 'JavaScript', icon: SiJavascript },
{ name: 'MySQL', icon: SiMysql },
{ name: 'React', icon: SiReact }
{ name: "PHP", icon: SiPhp },
{ name: "JavaScript", icon: SiJavascript },
{ name: "MySQL", icon: SiMysql },
{ name: "React", icon: SiReact },
];
const interests = [
{ name: 'Web Development', icon: FaGlobe },
{ name: 'System Architecture', icon: IoServerOutline },
{ name: 'UI/UX Design', icon: FaPalette },
{ name: 'Performance Optimization', icon: BsLightningChargeFill }
{ name: "Web Development", icon: FaGlobe },
{ name: "System Architecture", icon: IoServerOutline },
{ name: "UI/UX Design", icon: FaPalette },
{ name: "Performance Optimization", icon: BsLightningChargeFill },
];
---
<section id="about" class="py-24 sm:py-40 px-4 sm:px-8 relative">
<div class="absolute inset-0 theme-bg-gradient opacity-50"></div>
<div class="absolute top-0 left-0 right-0 h-px bg-gradient-to-r from-transparent via-white/10 to-transparent"></div>
<div
class="absolute top-0 left-0 right-0 h-px bg-gradient-to-r from-transparent via-white/10 to-transparent"
>
</div>
<div class="max-w-(--breakpoint-xl) mx-auto relative">
<FadeIn>
<div class="flex items-baseline gap-4 mb-12 sm:mb-24">
<h2 class="font-['DM_Sans'] text-3xl sm:text-5xl font-semibold tracking-tight theme-primary">
<h2
class="font-['DM_Sans'] text-3xl sm:text-5xl font-semibold tracking-tight theme-primary"
>
About
</h2>
<div class="h-px grow theme-border opacity-60"></div>
</div>
</FadeIn>
<div class="grid md:grid-cols-[1fr_2fr] gap-12 sm:gap-24">
<div class="space-y-6 sm:space-y-8">
<FadeIn>
<div class="aspect-square theme-bg-05 rounded-2xl overflow-hidden border theme-border hover:border-white/20 transition-all duration-300 shadow-md hover:shadow-lg mx-auto md:mx-0 max-w-[280px] md:max-w-none relative group">
<div
class="aspect-square theme-bg-05 rounded-2xl overflow-hidden border theme-border hover:border-white/20 transition-all duration-300 shadow-md hover:shadow-lg mx-auto md:mx-0 max-w-[280px] md:max-w-none relative group"
>
<Image
src="/profile-image.jpg"
alt="Jan-Marlon Leibl - Fullstack Software Developer"
@ -47,7 +54,10 @@ const interests = [
height="400"
class="object-cover w-full h-full group-hover:scale-105 transition-transform duration-700"
/>
<div class="absolute inset-0 bg-gradient-to-t from-black/30 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-500"></div>
<div
class="absolute inset-0 bg-gradient-to-t from-black/30 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-500"
>
</div>
</div>
</FadeIn>
<FadeIn delay={0.1}>
@ -61,15 +71,18 @@ const interests = [
</div>
</FadeIn>
</div>
<FadeIn delay={0.2}>
<div class="space-y-10 sm:space-y-16 font-['Instrument_Sans']">
<div class="space-y-6 sm:space-y-8">
<p class="text-xl sm:text-2xl theme-text-90 leading-relaxed">
Hello! I'm Jan-Marlon, but please call me Jan. I started my journey in programming at the age of 11 with C#, fascinated by a desktop application my friend created.
Hello! I'm Jan-Marlon, but please call me Jan. I started my journey in programming at
the age of 11 with C#, fascinated by a desktop application my friend created.
</p>
<p class="text-base sm:text-xl theme-text-70 leading-relaxed">
Today, I specialize in PHP and TypeScript development, constantly pushing the boundaries of what's possible on the web. My journey has led me from creating simple applications to developing complex systems used by thousands.
Today, I specialize in PHP and TypeScript development, constantly pushing the
boundaries of what's possible on the web. My journey has led me from creating simple
applications to developing complex systems used by thousands.
</p>
</div>
@ -82,14 +95,16 @@ const interests = [
<div class="h-px grow theme-border opacity-30"></div>
</div>
<ul class="space-y-4 sm:space-y-5">
{technologies.map((tech) => (
<li class="text-base sm:text-lg group flex items-center gap-3 theme-text-70 hover:theme-text-90 cursor-default theme-bg-05 px-4 py-2.5 rounded-xl shadow-sm hover:shadow-md border border-transparent hover:theme-border transition-all duration-300">
<span class="theme-text-40 group-hover:theme-text-90 flex items-center justify-center w-6 h-6 transition-all">
<tech.icon className="w-5 h-5" />
</span>
{tech.name}
</li>
))}
{
technologies.map((tech) => (
<li class="text-base sm:text-lg group flex items-center gap-3 theme-text-70 hover:theme-text-90 cursor-default theme-bg-05 px-4 py-2.5 rounded-xl shadow-sm hover:shadow-md border border-transparent hover:theme-border transition-all duration-300">
<span class="theme-text-40 group-hover:theme-text-90 flex items-center justify-center w-6 h-6 transition-all">
<tech.icon className="w-5 h-5" />
</span>
{tech.name}
</li>
))
}
</ul>
</div>
@ -101,21 +116,23 @@ const interests = [
<div class="h-px grow theme-border opacity-30"></div>
</div>
<ul class="space-y-4 sm:space-y-5">
{interests.map((interest) => (
<li class="text-base sm:text-lg group flex items-center gap-3 theme-text-70 hover:theme-text-90 cursor-default theme-bg-05 px-4 py-2.5 rounded-xl shadow-sm hover:shadow-md border border-transparent hover:theme-border transition-all duration-300">
<span class="theme-text-40 group-hover:theme-text-90 flex items-center justify-center w-6 h-6 transition-all">
<interest.icon className="w-5 h-5" />
</span>
{interest.name}
</li>
))}
{
interests.map((interest) => (
<li class="text-base sm:text-lg group flex items-center gap-3 theme-text-70 hover:theme-text-90 cursor-default theme-bg-05 px-4 py-2.5 rounded-xl shadow-sm hover:shadow-md border border-transparent hover:theme-border transition-all duration-300">
<span class="theme-text-40 group-hover:theme-text-90 flex items-center justify-center w-6 h-6 transition-all">
<interest.icon className="w-5 h-5" />
</span>
{interest.name}
</li>
))
}
</ul>
</div>
</div>
<div class="pt-8 sm:pt-10 flex flex-col sm:flex-row gap-4 sm:gap-6">
<a
href="https://github.com/AtomicWasTaken"
<a
href="https://github.com/AtomicWasTaken"
target="_blank"
rel="noopener noreferrer"
class="animate-button w-full text-center px-6 sm:px-8 py-3 sm:py-4 border theme-border rounded-xl theme-button-secondary hover:theme-bg-05 transition-all duration-300 text-sm sm:text-base tracking-tight font-medium flex items-center justify-center gap-2 shadow-sm"
@ -124,7 +141,7 @@ const interests = [
View GitHub
</a>
<a
href="https://www.linkedin.com/in/janmarlonleibl/"
href="https://www.linkedin.com/in/janmarlonleibl/"
target="_blank"
rel="noopener noreferrer"
class="animate-button w-full text-center px-6 sm:px-8 py-3 sm:py-4 border theme-border rounded-xl theme-button-secondary hover:theme-bg-05 transition-all duration-300 text-sm sm:text-base tracking-tight font-medium flex items-center justify-center gap-2 shadow-sm"
@ -143,12 +160,12 @@ const interests = [
.animate-button {
transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.animate-button:hover {
transform: translateY(-2px);
}
.animate-button:active {
transform: scale(0.98);
}
</style>
</style>

View File

@ -1,187 +1,150 @@
---
import FadeIn from '../ui/FadeIn.astro';
import FadeIn from "../ui/FadeIn.astro";
const blogPosts = [
{
title: "Best Practices for Modern PHP Development",
excerpt: "Explore how to leverage PHP 8.x features and modern tools to create maintainable and performant PHP applications.",
excerpt:
"Explore how to leverage PHP 8.x features and modern tools to create maintainable and performant PHP applications.",
date: "May 15, 2023",
slug: "best-practices-modern-php-development",
tags: ["PHP", "Development", "Best Practices"]
tags: ["PHP", "Development", "Best Practices"],
},
{
title: "Building Type-Safe APIs with TypeScript",
excerpt: "How to use TypeScript's powerful type system to create robust and maintainable API integrations in your frontend applications.",
excerpt:
"How to use TypeScript's powerful type system to create robust and maintainable API integrations in your frontend applications.",
date: "April 3, 2023",
slug: "building-type-safe-apis-typescript",
tags: ["TypeScript", "API", "Frontend"]
tags: ["TypeScript", "API", "Frontend"],
},
{
title: "Performance Optimization Techniques for Web Applications",
excerpt: "A comprehensive guide to identifying and solving performance bottlenecks in modern web applications.",
excerpt:
"A comprehensive guide to identifying and solving performance bottlenecks in modern web applications.",
date: "March 12, 2023",
slug: "performance-optimization-web-applications",
tags: ["Performance", "Web", "Optimization"]
}
tags: ["Performance", "Web", "Optimization"],
},
];
---
<section id="blog" class="py-20 sm:py-32 px-4 sm:px-8 relative">
<div class="absolute inset-0 theme-bg-gradient opacity-30"></div>
<div class="max-w-7xl mx-auto relative">
<FadeIn className="space-y-16">
<div class="space-y-6">
<div class="flex items-center justify-between">
<div>
<h2 class="text-3xl sm:text-4xl md:text-5xl font-bold font-['DM_Sans'] tracking-tight theme-primary">
<h2
class="text-3xl sm:text-4xl md:text-5xl font-bold font-['DM_Sans'] tracking-tight theme-primary"
>
Blog
</h2>
<p class="font-['Instrument_Sans'] theme-secondary text-lg sm:text-xl max-w-3xl mt-4">
Thoughts, insights, and tutorials on software development and tech.
<<<<<<< HEAD
<span class="inline-flex items-center px-3 py-1 ml-2 rounded-full text-xs font-medium bg-black/20 text-white font-['Instrument_Sans']">Coming Soon</span>
</p>
</div>
<div class="hidden sm:block">
<button
<button
class="animate-button inline-flex items-center justify-center gap-2 px-6 py-3 bg-transparent border theme-border theme-text-50 rounded-xl transition-all text-sm tracking-tight font-medium shadow-sm font-['Instrument_Sans'] cursor-not-allowed opacity-75"
title="Coming soon!"
>
View All Posts
<svg
class="w-4 h-4"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
<svg
class="w-4 h-4"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M5 12h14M12 5l7 7-7 7"/>
<path d="M5 12h14M12 5l7 7-7 7"></path>
</svg>
</button>
</div>
</div>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-6 sm:gap-8 relative p-12">
<div class="absolute inset-0 backdrop-blur-sm z-10 flex items-center justify-center rounded-xl">
<div
class="absolute inset-0 backdrop-blur-sm z-10 flex items-center justify-center rounded-xl"
>
<div class="bg-black/80 px-6 py-5 rounded-xl border border-white/20 text-center">
<span class="text-xl font-semibold text-white font-['DM_Sans']">Blog Coming Soon!</span>
<p class="text-white/80 mt-2 font-['Instrument_Sans']">The blog feature is currently in development.</p>
</div>
</div>
{blogPosts.map((post) => (
<div
class="flex flex-col h-full theme-accent border theme-border rounded-xl overflow-hidden opacity-80 group"
=======
<p class="text-white/80 mt-2 font-['Instrument_Sans']">
The blog feature is currently in development.
</p>
</div>
<div class="hidden sm:block">
<button
class="animate-button inline-flex items-center justify-center gap-2 px-6 py-3 bg-transparent border theme-border theme-text-50 rounded-xl transition-all text-sm tracking-tight font-medium shadow-sm font-['Instrument_Sans'] cursor-not-allowed opacity-75"
title="Coming soon!"
</div>
{
blogPosts.map((post) => (
<a
href={`/blog/${post.slug}`}
class="flex flex-col h-full theme-accent border theme-border rounded-xl overflow-hidden hover:shadow-lg transition-all duration-300 group"
>
View All Posts
<svg
class="w-4 h-4"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M5 12h14M12 5l7 7-7 7"/>
</svg>
</button>
</div>
</div>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-6 sm:gap-8 relative p-12">
<div class="absolute inset-0 backdrop-blur-sm z-10 flex items-center justify-center rounded-xl">
<div class="bg-black/80 px-6 py-5 rounded-xl border border-white/20 text-center">
<span class="text-xl font-semibold text-white font-['DM_Sans']">Blog Coming Soon!</span>
<p class="text-white/80 mt-2 font-['Instrument_Sans']">The blog feature is currently in development.</p>
</div>
</div>
{blogPosts.map((post) => (
<a
href={`/blog/${post.slug}`}
class="flex flex-col h-full theme-accent border theme-border rounded-xl overflow-hidden hover:shadow-lg transition-all duration-300 group"
>>>>>>> 69efdf7 (feat: add portfolio, blog, and contact features)
>
<div class="p-6 sm:p-8 flex flex-col h-full">
<div class="flex-grow space-y-4">
<div class="space-y-1.5">
<div class="flex gap-2 flex-wrap">
{post.tags.map((tag) => (
<span class="inline-flex px-2.5 py-1 rounded-lg text-xs font-medium theme-text-70 bg-black/10 font-['Instrument_Sans']">{tag}</span>
))}
<div class="p-6 sm:p-8 flex flex-col h-full">
<div class="flex-grow space-y-4">
<div class="space-y-1.5">
<div class="flex gap-2 flex-wrap">
{post.tags.map((tag) => (
<span class="inline-flex px-2.5 py-1 rounded-lg text-xs font-medium theme-text-70 bg-black/10 font-['Instrument_Sans']">
{tag}
</span>
))}
</div>
<h3 class="text-xl font-bold theme-primary group-hover:underline decoration-1 underline-offset-2 font-['DM_Sans']">
{post.title}
</h3>
</div>
<<<<<<< HEAD
<h3 class="text-xl font-bold theme-primary font-['DM_Sans']">{post.title}</h3>
=======
<h3 class="text-xl font-bold theme-primary group-hover:underline decoration-1 underline-offset-2 font-['DM_Sans']">{post.title}</h3>
>>>>>>> 69efdf7 (feat: add portfolio, blog, and contact features)
<p class="theme-secondary font-['Instrument_Sans'] text-sm sm:text-base leading-relaxed">
{post.excerpt}
</p>
</div>
<p class="theme-secondary font-['Instrument_Sans'] text-sm sm:text-base leading-relaxed">{post.excerpt}</p>
</div>
<div class="mt-6 pt-6 border-t theme-border flex items-center justify-between">
<span class="text-sm theme-text-70 font-['Instrument_Sans']">{post.date}</span>
<<<<<<< HEAD
<div class="p-2 rounded-full theme-accent">
<svg
class="w-4 h-4 theme-primary"
=======
<div class="p-2 rounded-full theme-accent group-hover:bg-opacity-100 transition-all">
<svg
class="w-4 h-4 theme-primary transform group-hover:translate-x-1 transition-transform"
>>>>>>> 69efdf7 (feat: add portfolio, blog, and contact features)
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
>
<path d="M5 12h14M12 5l7 7-7 7"/>
</svg>
<div class="mt-6 pt-6 border-t theme-border flex items-center justify-between">
<span class="text-sm theme-text-70 font-['Instrument_Sans']">{post.date}</span>
<div class="p-2 rounded-full theme-accent group-hover:bg-opacity-100 transition-all">
<svg
class="w-4 h-4 theme-primary transform group-hover:translate-x-1 transition-transform"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
>
<path d="M5 12h14M12 5l7 7-7 7" />
</svg>
</div>
</div>
</div>
</div>
<<<<<<< HEAD
</div>
))}
</a>
))
}
</div>
<div class="sm:hidden flex justify-center mt-8">
<button
<button
class="animate-button inline-flex items-center justify-center gap-2 px-8 py-4 bg-transparent border theme-border theme-text-50 rounded-xl transition-all text-base tracking-tight font-medium shadow-sm font-['Instrument_Sans'] cursor-not-allowed opacity-75"
title="Coming soon!"
>
View All Posts
<svg
class="w-5 h-5"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
<svg
class="w-5 h-5"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M5 12h14M12 5l7 7-7 7"/>
<path d="M5 12h14M12 5l7 7-7 7"></path>
</svg>
</button>
</div>
=======
</a>
))}
</div>
>>>>>>> 69efdf7 (feat: add portfolio, blog, and contact features)
</FadeIn>
</div>
</section>
</section>

View File

@ -1,43 +1,53 @@
---
import FadeIn from '../ui/FadeIn.astro';
import FadeIn from "../ui/FadeIn.astro";
import { FaGithub, FaLinkedin, FaEnvelope, FaPhone, FaMapMarkerAlt, FaGlobe } from "react-icons/fa";
---
<section id="contact" class="py-20 sm:py-32 px-4 sm:px-8 relative">
<div class="absolute inset-0 theme-bg-gradient opacity-30"></div>
<div class="max-w-7xl mx-auto relative">
<FadeIn className="space-y-16">
<div class="space-y-6">
<h2 class="text-3xl sm:text-4xl md:text-5xl font-bold font-['DM_Sans'] tracking-tight theme-primary">
<h2
class="text-3xl sm:text-4xl md:text-5xl font-bold font-['DM_Sans'] tracking-tight theme-primary"
>
Get In Touch
</h2>
<p class="font-['Instrument_Sans'] theme-secondary text-lg sm:text-xl max-w-3xl">
Have a project in mind or want to chat? Feel free to reach out.
</p>
</div>
<div class="grid grid-cols-1 lg:grid-cols-2 gap-10 lg:gap-16">
<div class="space-y-8">
<form id="contact-form" class="space-y-6" onsubmit="return openEmailClient(event)">
<div class="grid grid-cols-1 sm:grid-cols-2 gap-6">
<div>
<label for="name" class="block mb-2 text-sm font-medium theme-secondary font-['Instrument_Sans']">Your Name</label>
<input
type="text"
id="name"
name="name"
<label
for="name"
class="block mb-2 text-sm font-medium theme-secondary font-['Instrument_Sans']"
>Your Name</label
>
<input
type="text"
id="name"
name="name"
class="w-full px-4 py-3 rounded-xl theme-accent border theme-border theme-secondary focus:ring-2 focus:ring-white/20 focus:border-white/30 transition-all bg-transparent font-['Instrument_Sans']"
required
aria-required="true"
/>
</div>
<div>
<label for="email" class="block mb-2 text-sm font-medium theme-secondary font-['Instrument_Sans']">Your Email</label>
<input
type="email"
id="email"
name="email"
<label
for="email"
class="block mb-2 text-sm font-medium theme-secondary font-['Instrument_Sans']"
>Your Email</label
>
<input
type="email"
id="email"
name="email"
class="w-full px-4 py-3 rounded-xl theme-accent border theme-border theme-secondary focus:ring-2 focus:ring-white/20 focus:border-white/30 transition-all bg-transparent font-['Instrument_Sans']"
required
aria-required="true"
@ -45,51 +55,60 @@ import { FaGithub, FaLinkedin, FaEnvelope, FaPhone, FaMapMarkerAlt, FaGlobe } fr
</div>
</div>
<div>
<label for="subject" class="block mb-2 text-sm font-medium theme-secondary font-['Instrument_Sans']">Subject</label>
<input
type="text"
id="subject"
name="subject"
<label
for="subject"
class="block mb-2 text-sm font-medium theme-secondary font-['Instrument_Sans']"
>Subject</label
>
<input
type="text"
id="subject"
name="subject"
class="w-full px-4 py-3 rounded-xl theme-accent border theme-border theme-secondary focus:ring-2 focus:ring-white/20 focus:border-white/30 transition-all bg-transparent font-['Instrument_Sans']"
/>
</div>
<div>
<label for="message" class="block mb-2 text-sm font-medium theme-secondary font-['Instrument_Sans']">Your Message</label>
<textarea
id="message"
name="message"
rows="5"
<label
for="message"
class="block mb-2 text-sm font-medium theme-secondary font-['Instrument_Sans']"
>Your Message</label
>
<textarea
id="message"
name="message"
rows="5"
class="w-full px-4 py-3 rounded-xl theme-accent border theme-border theme-secondary focus:ring-2 focus:ring-white/20 focus:border-white/30 bg-transparent font-['Instrument_Sans']"
required
aria-required="true"
></textarea>
aria-required="true"></textarea>
</div>
<div>
<button
type="submit"
<button
type="submit"
class="animate-button w-full sm:w-auto inline-flex items-center justify-center gap-2 px-8 py-4 theme-button-primary rounded-xl transition-all text-base tracking-tight font-medium group shadow-sm font-['Instrument_Sans']"
>
Send Message
<svg
class="w-5 h-5 transform group-hover:translate-x-1 transition-transform"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
<svg
class="w-5 h-5 transform group-hover:translate-x-1 transition-transform"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M5 12h14M12 5l7 7-7 7"/>
<path d="M5 12h14M12 5l7 7-7 7"></path>
</svg>
</button>
<div id="form-status" class="mt-4 text-sm hidden font-['Instrument_Sans']"></div>
</div>
</form>
</div>
<div class="space-y-8">
<div>
<h3 class="text-2xl font-semibold theme-primary mb-4 font-['DM_Sans']">Contact Information</h3>
<h3 class="text-2xl font-semibold theme-primary mb-4 font-['DM_Sans']">
Contact Information
</h3>
<div class="space-y-4">
<div class="flex items-start gap-4">
<span class="p-2 rounded-xl theme-bg-05 border theme-border theme-text-70 mt-1">
@ -97,7 +116,11 @@ import { FaGithub, FaLinkedin, FaEnvelope, FaPhone, FaMapMarkerAlt, FaGlobe } fr
</span>
<div>
<h4 class="theme-secondary font-medium font-['Instrument_Sans']">Email</h4>
<a href="mailto:jleibl@proton.me" class="theme-primary hover:underline font-['Instrument_Sans']">jleibl@proton.me</a>
<a
href="mailto:jleibl@proton.me"
class="theme-primary hover:underline font-['Instrument_Sans']"
>jleibl@proton.me</a
>
</div>
</div>
<div class="flex items-start gap-4">
@ -111,31 +134,31 @@ import { FaGithub, FaLinkedin, FaEnvelope, FaPhone, FaMapMarkerAlt, FaGlobe } fr
</div>
</div>
</div>
<div>
<h3 class="text-2xl font-semibold theme-primary mb-4 font-['DM_Sans']">Connect</h3>
<div class="flex flex-wrap gap-4">
<a
href="https://github.com/AtomicWasTaken"
target="_blank"
<a
href="https://github.com/AtomicWasTaken"
target="_blank"
rel="noopener noreferrer"
aria-label="GitHub profile"
class="p-3 sm:p-4 rounded-xl theme-bg-05 border theme-border theme-text-70 hover:theme-text-90 hover:scale-105 transition-all duration-300 shadow-sm"
>
<FaGithub className="w-6 h-6" />
</a>
<a
href="https://www.linkedin.com/in/janmarlonleibl/"
target="_blank"
<a
href="https://www.linkedin.com/in/janmarlonleibl/"
target="_blank"
rel="noopener noreferrer"
aria-label="LinkedIn profile"
class="p-3 sm:p-4 rounded-xl theme-bg-05 border theme-border theme-text-70 hover:theme-text-90 hover:scale-105 transition-all duration-300 shadow-sm"
>
<FaLinkedin className="w-6 h-6" />
</a>
<a
href="https://jleibl.net"
target="_blank"
<a
href="https://jleibl.net"
target="_blank"
rel="noopener noreferrer"
aria-label="My website"
class="p-3 sm:p-4 rounded-xl theme-bg-05 border theme-border theme-text-70 hover:theme-text-90 hover:scale-105 transition-all duration-300 shadow-sm"
@ -151,29 +174,29 @@ import { FaGithub, FaLinkedin, FaEnvelope, FaPhone, FaMapMarkerAlt, FaGlobe } fr
</section>
<script>
document.addEventListener('DOMContentLoaded', () => {
document.addEventListener("DOMContentLoaded", () => {
(window as any).openEmailClient = (e: Event) => {
e.preventDefault();
const formData = new FormData(e.target as HTMLFormElement);
const name = formData.get('name') as string;
const email = formData.get('email') as string;
const subject = formData.get('subject') as string || 'Contact Form Message';
const message = formData.get('message') as string;
const formStatus = document.getElementById('form-status');
const name = formData.get("name") as string;
const email = formData.get("email") as string;
const subject = (formData.get("subject") as string) || "Contact Form Message";
const message = formData.get("message") as string;
const formStatus = document.getElementById("form-status");
if (!name || !email || !message) {
if (formStatus) {
formStatus.textContent = 'Please fill in all required fields.';
formStatus.classList.remove('hidden');
formStatus.textContent = "Please fill in all required fields.";
formStatus.classList.remove("hidden");
}
return false;
}
const body = `Name: ${name}\nEmail: ${email}\n\n${message}`;
window.location.href = `mailto:jleibl@proton.me?subject=${encodeURIComponent(subject)}&body=${encodeURIComponent(body)}`;
return false;
};
});
</script>
</script>

View File

@ -1,49 +1,66 @@
---
import FadeIn from '../ui/FadeIn.astro';
import GermanyFlag from '../ui/GermanyFlag.astro';
import FadeIn from "../ui/FadeIn.astro";
import GermanyFlag from "../ui/GermanyFlag.astro";
---
<section class="min-h-[100dvh] flex items-center justify-center px-4 sm:px-8 relative pt-24 pb-16" id="hero">
<section
class="min-h-[100dvh] flex items-center justify-center px-4 sm:px-8 relative pt-24 pb-16"
id="hero"
>
<div class="absolute inset-0 theme-bg-gradient opacity-80"></div>
<div class="max-w-7xl w-full relative pt-8 sm:pt-4">
<FadeIn className="space-y-10 sm:space-y-16">
<div class="space-y-8 sm:space-y-10">
<div class="space-y-6 sm:space-y-8">
<div class="inline-flex items-center gap-2.5 px-4 py-2 rounded-xl theme-accent theme-border border theme-transition shadow-sm">
<div
class="inline-flex items-center gap-2.5 px-4 py-2 rounded-xl theme-accent theme-border border theme-transition shadow-sm"
>
<span class="w-2 h-2 rounded-full bg-emerald-500 animate-pulse"></span>
<span class="theme-secondary uppercase tracking-wider text-xs sm:text-sm font-medium font-['Instrument_Sans']">Available for Work</span>
<span
class="theme-secondary uppercase tracking-wider text-xs sm:text-sm font-medium font-['Instrument_Sans']"
>Available for Work</span
>
</div>
<div class="space-y-3 sm:space-y-4">
<h2 class="font-['Instrument_Sans'] text-xl sm:text-2xl theme-secondary tracking-tight font-medium theme-transition">
<h2
class="font-['Instrument_Sans'] text-xl sm:text-2xl theme-secondary tracking-tight font-medium theme-transition"
>
Jan-Marlon Leibl
</h2>
<div>
<h1 class="font-['DM_Sans'] text-4xl sm:text-6xl md:text-7xl lg:text-8xl font-bold tracking-tight leading-[1.05] sm:leading-[0.95] max-w-4xl theme-primary theme-transition">
<h1
class="font-['DM_Sans'] text-4xl sm:text-6xl md:text-7xl lg:text-8xl font-bold tracking-tight leading-[1.05] sm:leading-[0.95] max-w-4xl theme-primary theme-transition"
>
Software Developer
<br />
<span class="theme-secondary inline-flex items-center gap-2">based in <GermanyFlag /></span>
<span class="theme-secondary inline-flex items-center gap-2"
>based in <GermanyFlag /></span
>
</h1>
</div>
</div>
</div>
<p class="font-['Instrument_Sans'] theme-secondary text-lg sm:text-2xl max-w-2xl leading-relaxed tracking-tight theme-transition">
Passionate about creating digital experiences, with a focus on PHP and modern web technologies.
<p
class="font-['Instrument_Sans'] theme-secondary text-lg sm:text-2xl max-w-2xl leading-relaxed tracking-tight theme-transition"
>
Passionate about creating digital experiences, with a focus on PHP and modern web
technologies.
</p>
<div class="flex flex-col sm:flex-row gap-4 sm:gap-5">
<a
<a
href="#work"
class="animate-button w-full sm:w-auto text-center inline-flex items-center justify-center gap-2 px-6 sm:px-8 py-3 sm:py-4 theme-button-primary rounded-xl transition-all text-sm sm:text-base tracking-tight font-medium group shadow-sm"
>
View My Work
<svg
class="w-4 h-4 sm:w-5 sm:h-5 transform group-hover:translate-x-1 transition-transform"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
<svg
class="w-4 h-4 sm:w-5 sm:h-5 transform group-hover:translate-x-1 transition-transform"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
>
<path d="M5 12h14M12 5l7 7-7 7"/>
<path d="M5 12h14M12 5l7 7-7 7"></path>
</svg>
</a>
<a
@ -51,49 +68,62 @@ import GermanyFlag from '../ui/GermanyFlag.astro';
class="animate-button w-full sm:w-auto text-center inline-flex items-center justify-center gap-2 px-6 sm:px-8 py-3 sm:py-4 border theme-border rounded-xl theme-button-secondary hover:theme-bg-05 transition-all text-sm sm:text-base tracking-tight font-medium group shadow-sm"
>
Get in Touch
<svg
class="w-4 h-4 sm:w-5 sm:h-5 transform group-hover:translate-x-1 transition-transform"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
<svg
class="w-4 h-4 sm:w-5 sm:h-5 transform group-hover:translate-x-1 transition-transform"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
>
<path d="M5 12h14M12 5l7 7-7 7"/>
<path d="M5 12h14M12 5l7 7-7 7"></path>
</svg>
</a>
</div>
</div>
<div class="border-t theme-border pt-8 mt-10">
<div class="grid grid-cols-1 sm:grid-cols-3 w-full gap-6 sm:gap-0 py-6 sm:py-8 font-['Instrument_Sans'] text-center">
<div class="sm:border-r theme-border last:border-r-0 px-4 flex flex-col items-center justify-center">
<div
class="grid grid-cols-1 sm:grid-cols-3 w-full gap-6 sm:gap-0 py-6 sm:py-8 font-['Instrument_Sans'] text-center"
>
<div
class="sm:border-r theme-border last:border-r-0 px-4 flex flex-col items-center justify-center"
>
<div class="mb-3 sm:mb-4 w-full text-center">
<span class="theme-text-40 uppercase tracking-wider text-xs sm:text-sm font-medium block">EMAIL</span>
<span
class="theme-text-40 uppercase tracking-wider text-xs sm:text-sm font-medium block"
>EMAIL</span
>
</div>
<a
href="mailto:jleibl@proton.me"
<a
href="mailto:jleibl@proton.me"
class="theme-text-90 hover:theme-primary transition-colors text-base sm:text-lg block w-full"
>
jleibl@proton.me
</a>
</div>
<div class="sm:border-r theme-border last:border-r-0 px-4 flex flex-col items-center justify-center">
<div
class="sm:border-r theme-border last:border-r-0 px-4 flex flex-col items-center justify-center"
>
<div class="mb-3 sm:mb-4 w-full text-center">
<span class="theme-text-40 uppercase tracking-wider text-xs sm:text-sm font-medium block">ROLE</span>
<span
class="theme-text-40 uppercase tracking-wider text-xs sm:text-sm font-medium block"
>ROLE</span
>
</div>
<span class="theme-text-90 text-base sm:text-lg block w-full">
Fullstack Developer
</span>
</div>
<div class="px-4 flex flex-col items-center justify-center">
<div class="mb-3 sm:mb-4 w-full text-center">
<span class="theme-text-40 uppercase tracking-wider text-xs sm:text-sm font-medium block">EXPERIENCE</span>
<span
class="theme-text-40 uppercase tracking-wider text-xs sm:text-sm font-medium block"
>EXPERIENCE</span
>
</div>
<span class="theme-text-90 text-base sm:text-lg block w-full">
5+ Years
</span>
<span class="theme-text-90 text-base sm:text-lg block w-full"> 5+ Years </span>
</div>
</div>
</div>
@ -105,12 +135,12 @@ import GermanyFlag from '../ui/GermanyFlag.astro';
.animate-button {
transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.animate-button:hover {
transform: translateY(-2px);
}
.animate-button:active {
transform: scale(0.98);
}
</style>
</style>

View File

@ -1,10 +1,18 @@
---
import { SiNextdotjs, SiTailwindcss, SiTypescript, SiPhp, SiJavascript, SiMysql, SiDiscord } from 'react-icons/si';
import { BsLightningChargeFill } from 'react-icons/bs';
import { FaCode } from 'react-icons/fa';
import { HiOutlineCollection } from 'react-icons/hi';
import { MdLaunch } from 'react-icons/md';
import FadeIn from '../ui/FadeIn.astro';
import {
SiNextdotjs,
SiTailwindcss,
SiTypescript,
SiPhp,
SiJavascript,
SiMysql,
SiDiscord,
} from "react-icons/si";
import { BsLightningChargeFill } from "react-icons/bs";
import { FaCode } from "react-icons/fa";
import { HiOutlineCollection } from "react-icons/hi";
import { MdLaunch } from "react-icons/md";
import FadeIn from "../ui/FadeIn.astro";
interface Project {
title: string;
@ -19,21 +27,21 @@ interface Project {
const getTagIcon = (tag: string) => {
switch (tag) {
case 'Next.js':
case "Next.js":
return SiNextdotjs;
case 'Tailwind CSS':
case "Tailwind CSS":
return SiTailwindcss;
case 'TypeScript':
case "TypeScript":
return SiTypescript;
case 'PHP':
case "PHP":
return SiPhp;
case 'JavaScript':
case "JavaScript":
return SiJavascript;
case 'MySQL':
case "MySQL":
return SiMysql;
case 'Performance':
case "Performance":
return BsLightningChargeFill;
case 'Discord API':
case "Discord API":
return SiDiscord;
default:
return null;
@ -41,11 +49,11 @@ const getTagIcon = (tag: string) => {
};
const getProjectIcon = (title: string) => {
if (title.includes('ventry')) {
if (title.includes("ventry")) {
return MdLaunch;
} else if (title.includes('ShareUpload')) {
} else if (title.includes("ShareUpload")) {
return HiOutlineCollection;
} else if (title.includes('RestoreM')) {
} else if (title.includes("RestoreM")) {
return SiDiscord;
} else {
return FaCode;
@ -54,49 +62,49 @@ const getProjectIcon = (title: string) => {
const projects: Project[] = [
{
title: 'ventry.host v2',
year: '2025',
description: 'Free file hosting revamped with a modern design and improved user experience.',
icon: getProjectIcon('ventry.host v2'),
title: "ventry.host v2",
year: "2025",
description: "Free file hosting revamped with a modern design and improved user experience.",
icon: getProjectIcon("ventry.host v2"),
tags: [
{ name: 'Next.js', icon: getTagIcon('Next.js') },
{ name: 'Tailwind CSS', icon: getTagIcon('Tailwind CSS') },
{ name: 'TypeScript', icon: getTagIcon('TypeScript') }
]
{ name: "Next.js", icon: getTagIcon("Next.js") },
{ name: "Tailwind CSS", icon: getTagIcon("Tailwind CSS") },
{ name: "TypeScript", icon: getTagIcon("TypeScript") },
],
},
{
title: 'ventry.host',
year: '2023',
description: 'A free file hosting solution with thousands of daily visitors.',
icon: getProjectIcon('ventry.host'),
title: "ventry.host",
year: "2023",
description: "A free file hosting solution with thousands of daily visitors.",
icon: getProjectIcon("ventry.host"),
tags: [
{ name: 'PHP', icon: getTagIcon('PHP') },
{ name: 'JavaScript', icon: getTagIcon('JavaScript') },
{ name: 'MySQL', icon: getTagIcon('MySQL') }
]
{ name: "PHP", icon: getTagIcon("PHP") },
{ name: "JavaScript", icon: getTagIcon("JavaScript") },
{ name: "MySQL", icon: getTagIcon("MySQL") },
],
},
{
title: 'ShareUpload',
year: '2022',
description: 'High-performance file sharing platform with unlimited storage.',
icon: getProjectIcon('ShareUpload'),
title: "ShareUpload",
year: "2022",
description: "High-performance file sharing platform with unlimited storage.",
icon: getProjectIcon("ShareUpload"),
tags: [
{ name: 'PHP', icon: getTagIcon('PHP') },
{ name: 'MySQL', icon: getTagIcon('MySQL') },
{ name: 'Performance', icon: getTagIcon('Performance') }
]
{ name: "PHP", icon: getTagIcon("PHP") },
{ name: "MySQL", icon: getTagIcon("MySQL") },
{ name: "Performance", icon: getTagIcon("Performance") },
],
},
{
title: 'RestoreM',
year: '2023',
description: 'Discord server backup and restoration service.',
icon: getProjectIcon('RestoreM'),
title: "RestoreM",
year: "2023",
description: "Discord server backup and restoration service.",
icon: getProjectIcon("RestoreM"),
tags: [
{ name: 'PHP', icon: getTagIcon('PHP') },
{ name: 'MySQL', icon: getTagIcon('MySQL') },
{ name: 'Discord API', icon: getTagIcon('Discord API') }
]
}
{ name: "PHP", icon: getTagIcon("PHP") },
{ name: "MySQL", icon: getTagIcon("MySQL") },
{ name: "Discord API", icon: getTagIcon("Discord API") },
],
},
];
const sortedProjects = [...projects].sort((a, b) => {
@ -106,74 +114,78 @@ const sortedProjects = [...projects].sort((a, b) => {
<section id="work" class="py-24 sm:py-40 px-4 sm:px-8 relative">
<div class="absolute inset-0 theme-bg-gradient opacity-30"></div>
<div class="max-w-(--breakpoint-xl) mx-auto relative">
<FadeIn>
<div class="flex flex-col gap-3 mb-12 sm:mb-24">
<span class="theme-text-40 uppercase tracking-wider text-sm sm:text-base font-medium font-['Instrument_Sans']">
<span
class="theme-text-40 uppercase tracking-wider text-sm sm:text-base font-medium font-['Instrument_Sans']"
>
Portfolio
</span>
<div class="flex items-baseline gap-4">
<h2 class="font-['DM_Sans'] text-3xl sm:text-5xl font-semibold tracking-tight theme-primary">
<h2
class="font-['DM_Sans'] text-3xl sm:text-5xl font-semibold tracking-tight theme-primary"
>
Selected Work
</h2>
<div class="h-px grow theme-border opacity-60"></div>
</div>
</div>
</FadeIn>
<div class="grid gap-20 sm:gap-28">
{sortedProjects.map((project, index) => (
<FadeIn delay={index * 0.1}>
<div class="group relative">
<div class="absolute top-0 left-0 right-0 flex items-center gap-4">
<div class="font-['Instrument_Sans'] text-sm sm:text-base theme-text-40 uppercase tracking-wider font-medium py-2 pr-4">
{project.year}
</div>
<div class="h-px grow theme-border opacity-30"></div>
</div>
<div class="pt-12 sm:pt-16 grid grid-cols-1 lg:grid-cols-[1.5fr_1fr] gap-8 sm:gap-16">
<div class="space-y-4 sm:space-y-6">
<h3 class="font-['DM_Sans'] text-3xl sm:text-5xl font-semibold tracking-tight theme-primary group-hover:theme-text-90 transition-colors">
{project.title}
</h3>
<p class="font-['Instrument_Sans'] text-base sm:text-xl theme-text-70 leading-relaxed group-hover:theme-text-90 transition-colors max-w-xl">
{project.description}
</p>
{
sortedProjects.map((project, index) => (
<FadeIn delay={index * 0.1}>
<div class="group relative">
<div class="absolute top-0 left-0 right-0 flex items-center gap-4">
<div class="font-['Instrument_Sans'] text-sm sm:text-base theme-text-40 uppercase tracking-wider font-medium py-2 pr-4">
{project.year}
</div>
<div class="h-px grow theme-border opacity-30" />
</div>
<div class="space-y-6 sm:space-y-10">
<div class="pt-12 sm:pt-16 grid grid-cols-1 lg:grid-cols-[1.5fr_1fr] gap-8 sm:gap-16">
<div class="space-y-4 sm:space-y-6">
<h4 class="font-['Instrument_Sans'] text-sm sm:text-base theme-text-40 uppercase tracking-wider font-medium">
Technologies
</h4>
<div class="flex flex-wrap items-center gap-3 sm:gap-4">
{project.tags.map((tag, tagIndex) => {
const Icon = tag.icon;
return (
<span
class="flex items-center text-sm sm:text-base theme-text-70 font-['Instrument_Sans'] tracking-tight font-medium py-1.5 sm:py-2 group-hover:theme-text-90 transition-all duration-300 theme-bg-05 px-4 sm:px-5 rounded-xl shadow-sm border border-transparent group-hover:theme-border"
>
<span class="mr-2 flex items-center">
<Icon className="text-lg" />
<h3 class="font-['DM_Sans'] text-3xl sm:text-5xl font-semibold tracking-tight theme-primary group-hover:theme-text-90 transition-colors">
{project.title}
</h3>
<p class="font-['Instrument_Sans'] text-base sm:text-xl theme-text-70 leading-relaxed group-hover:theme-text-90 transition-colors max-w-xl">
{project.description}
</p>
</div>
<div class="space-y-6 sm:space-y-10">
<div class="space-y-4 sm:space-y-6">
<h4 class="font-['Instrument_Sans'] text-sm sm:text-base theme-text-40 uppercase tracking-wider font-medium">
Technologies
</h4>
<div class="flex flex-wrap items-center gap-3 sm:gap-4">
{project.tags.map((tag, tagIndex) => {
const Icon = tag.icon;
return (
<span class="flex items-center text-sm sm:text-base theme-text-70 font-['Instrument_Sans'] tracking-tight font-medium py-1.5 sm:py-2 group-hover:theme-text-90 transition-all duration-300 theme-bg-05 px-4 sm:px-5 rounded-xl shadow-sm border border-transparent group-hover:theme-border">
<span class="mr-2 flex items-center">
<Icon className="text-lg" />
</span>
{tag.name}
{tagIndex !== project.tags.length - 1 && (
<span class="ml-2 opacity-0">•</span>
)}
</span>
{tag.name}
{tagIndex !== project.tags.length - 1 && (
<span class="ml-2 opacity-0">•</span>
)}
</span>
);
})}
);
})}
</div>
</div>
</div>
</div>
</div>
<div class="absolute -inset-x-6 sm:-inset-x-8 -inset-y-6 sm:-inset-y-8 rounded-2xl sm:rounded-3xl border border-transparent hover:theme-border group-hover:bg-white/[0.01] transition-all duration-300 shadow-sm group-hover:shadow-md"></div>
</div>
</FadeIn>
))}
<div class="absolute -inset-x-6 sm:-inset-x-8 -inset-y-6 sm:-inset-y-8 rounded-2xl sm:rounded-3xl border border-transparent hover:theme-border group-hover:bg-white/[0.01] transition-all duration-300 shadow-sm group-hover:shadow-md" />
</div>
</FadeIn>
))
}
</div>
</div>
</section>
</section>