firq-dev-website/src/layouts/Layout.astro

52 lines
1.6 KiB
Text

---
import Navbar from '../components/navbar.astro';
import NavbarEntry from '../components/navbarEntry.astro';
import navdata from '../../static/_navdata.json'
export interface Props {
title: string;
currentpage: string;
}
const { currentpage, title } = Astro.props;
const description: string = "A reference for all esports Servants, CEs and already completed TAs that Firq can provide. Contact information available as well.";
import favicon from "/favicon.ico"
---
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width" />
<link rel="icon" type="image/ico" href={favicon} />
<meta name="generator" content={Astro.generator} />
<meta property="og:title" content="Firq TA Reference" />
<meta property="og:url" content="https://firq.pages.neshweb.net/fgosite/" />
<meta name="description" content={description}/>
<meta property="og:description" content={description}/>
<meta property="og:image" content="https://firq.pages.neshweb.net/fgosite/link_192.png" />
<meta property="og:type" content="website" />
<meta property="og:locale" content="en_US" />
<title>{title}</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/iconoir-icons/iconoir@main/css/iconoir.css">
</head>
<body>
<Navbar>
{navdata.map((item) => (<NavbarEntry currentPage={currentpage} {...item}/>))}
</Navbar>
<slot />
</body>
</html>
<style is:global>
:root {
--hover-scale: 1.05;
--speed: 50%;
--ease: 50%;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
background: #3e3e3e;
margin: 0px;
}
</style>