lukeonline

source for my website
git clone https://git.lukeonline.net/repos/lukeonline
Log | Files | Refs | README | LICENSE

commit a0dde794468d38472a2c5fa1aa3aae799ae1fb0c
parent ab9287051ab1adb689aeeaff2a2f291c95c6b379
Author: LukeJ <luke.jones.2567@gmail.com>
Date:   Wed, 15 Jul 2026 20:27:23 +0100

feat: footer + styling

Diffstat:
Msrc/components/Footer.astro | 2+-
Msrc/layouts/Base.astro | 2+-
Msrc/layouts/ContentList.astro | 4++--
3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/components/Footer.astro b/src/components/Footer.astro @@ -1,3 +1,3 @@ <footer> - <p></p> + <span class="w-full text-center text-sm text-gray-500">&copy; 2024-2026 lukeonline.net - Licensed under <a class="text-blue-500" href="https://spdx.org/licenses/GPL-2.0-or-later.html" target="_blank" rel="noopener noreferrer">GPL-2.0-or-later</a></span> </footer> diff --git a/src/layouts/Base.astro b/src/layouts/Base.astro @@ -13,7 +13,7 @@ const { ...props } = Astro.props; <html class="bg-gray-200"> <Head title={`${SITE_TITLE} - ${props.title}`} /> <body class="w-full md:w-192 m-auto mt-8 text-base p-8"> - <div class="border-solid border-1 p-8 bg-white flex flex-col gap-4"> + <div class="border-solid border-1 p-8 bg-white flex flex-col gap-5"> <Header /> <main> <slot /> diff --git a/src/layouts/ContentList.astro b/src/layouts/ContentList.astro @@ -3,8 +3,8 @@ import Base from "./Base.astro"; const { ...props } = Astro.props; -const postStyling = "flex flex-col bg-gray-100 " + - "p-1 pl-3 pr-3 hover:bg-gray-300 " +const postStyling = "flex flex-col bg-gray-50 " + + "p-1 pl-3 pr-3 hover:bg-gray-200 " --- <Base title={props.title}> <slot />