lumeweb.com/src/layouts/Layout.astro

39 lines
1.1 KiB
Plaintext
Raw Normal View History

---
2023-08-12 17:24:26 +00:00
import "../styles/global.scss";
import Navbar from "../components/Layout/Navbar/Navbar.astro";
import Footer from "../components/Layout/Footer/Footer.astro";
import JoinCommunity from "../components/Layout/JoinCommunity/JoinCommunity.astro";
export interface Props {
view: string;
title: string;
}
const { view, title } = Astro.props;
---
<!DOCTYPE html>
<html lang="en">
<head>
<title>{title}</title>
<meta charset="utf-8" />
2023-08-12 17:24:26 +00:00
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, minimum-scale=1.0"
/>
<meta
name="description"
2023-08-13 02:43:51 +00:00
content="A platform, network and experience that allows you to control and own your online web, and access all of the possibilities Web3 has to offer. Join the open web."
2023-08-12 17:24:26 +00:00
/>
2023-08-13 02:43:51 +00:00
<meta name="keywords" content="Web3 Extension, web3 browser, Lume Web, Web3, dWeb, p2p, handshake, eth, ethereum, ipfs, open web, privacy, decentralization, blockchain" />
</head>
2023-08-12 20:35:59 +00:00
<body class="max-w-[1600px] mx-auto">
2023-08-12 17:24:26 +00:00
<Navbar view={view} />
<main class={view + " space-y-40"}>
<slot />
</main>
2023-08-12 17:24:26 +00:00
{view !== "home" && <JoinCommunity />}
<Footer />
</body>
</html>