astro-testing/src/pages/index.astro
2024-07-29 08:07:09 -04:00

23 lines
728 B
Text

---
const nuclearLaunchCodes = "below"
// this will never be revealed :meowlien:
const actualLaunchCodes = ["54", "29", "69", "19", "11", "234"]
---
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="viewport" content="width=device-width" />
<meta name="generator" content={Astro.generator} />
<title>Astro</title>
</head>
<body>
<h1>Astro 2</h1>
<a href="/about">second page idk</a>
<a href="/blog">Cool blog</a>
<p>The nukes are {nuclearLaunchCodes}</p>
<p>The actual code is {actualLaunchCodes.map((code) => <pre>{code}</pre> )}</p>
{actualLaunchCodes.length >= 6 && <p>Enough codes to obliterate humanity</p>}
</body>
</html>