Minor updoot

This commit is contained in:
Admin 2023-09-07 21:04:15 +02:00
parent 6433358b04
commit 8cce061cf5
3 changed files with 43 additions and 48 deletions

View File

@ -9,6 +9,6 @@ const { href, title } = Astro.props;
<a <a
href={href} href={href}
class="text-primary-foreground hover:text-primary hover:bg-primary-foreground rounded-md px-3 py-2 transition duration-300" class="text-primary-foreground hover:font-bold px-3 py-2 transition duration-300"
>{title} >{title}
</a> </a>

View File

@ -1,43 +0,0 @@
---
import "@/styles/globals.css";
import { Image } from "astro:assets";
import Navbar from "../components/Navbar.astro";
import foscLogo from "../assets/img/fosc-logo-old.png";
---
<!doctype html>
<html lang="en">
<!-- Ah shit, here we go again. -->
<head>
<meta charset="utf-8" />
<title>FOSC</title>
<meta name="generator" content={Astro.generator} />
</head>
<body class="bg-fixed bg-cover bg-center bg-repeat-y">
<!-- Vertical screen space is initially shared by navbar and splash content, furhter content can be obtained by scrolling -->
<div class="flex flex-col h-screen">
<Navbar />
<div class="backdrop-blur object-cover flex-grow">
<!-- Floating center items -->
<div class="container-sm mx-auto px-4 flex flex-col justify-center">
<Image class="mt-[10vh] max-h-[33vh] w-auto" src={foscLogo} alt="FOSC Logo" />
<p class="mt-4 text-center text-white">Welcome to FOSC</p>
</div>
</div>
</div>
</body>
</html>
<style>
body {
background-image: url(../img/coreboot2.webp);
}
</style>

View File

@ -1,7 +1,45 @@
--- ---
import Layout from '../layouts/new.astro'; import "@/styles/globals.css";
import { Image } from "astro:assets";
import Navbar from "../components/Navbar.astro";
import foscLogo from "../assets/img/fosc-logo-old.png";
--- ---
<Layout> <!doctype html>
aaaaaaaaaaaaaaaaaaaaa <html lang="en">
</Layout> <!-- Ah shit, here we go again. -->
<head>
<meta charset="utf-8" />
<title>FOSC</title>
<meta name="generator" content={Astro.generator} />
</head>
<body class="bg-fixed bg-cover bg-center bg-repeat-y">
<!-- Vertical screen space is initially shared by navbar and splash content, furhter content can be obtained by scrolling -->
<div class="flex flex-col h-screen">
<Navbar />
<div class="backdrop-blur object-cover flex-grow">
<!-- Floating center items -->
<div class="container-sm mx-auto px-4 flex flex-col justify-center items-center">
<div class="mt-[10vh] h-[30vh]">
<Image class="h-full w-auto" src={foscLogo} alt="FOSC Logo" />
</div>
<p class="mt-4 text-center text-white">Welcome to FOSC</p>
</div>
</div>
</div>
</body>
</html>
<style>
body {
background-image: url(../img/coreboot2.webp);
}
</style>