first commit

This commit is contained in:
Matt Kane
2026-04-01 10:44:22 +01:00
commit 43fcb9a131
1789 changed files with 395041 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
/**
* EmDash Live Content Collections
*
* Defines the _emdash collection that handles all content types from the database.
* Query specific types using getEmDashCollection() and getEmDashEntry().
*/
import { defineLiveCollection } from "astro:content";
import { emdashLoader } from "emdash/runtime";
export const collections = {
_emdash: defineLiveCollection({ loader: emdashLoader() }),
};

View File

@@ -0,0 +1,54 @@
---
---
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>My Site</title>
</head>
<body>
<main>
<h1>Welcome to EmDash</h1>
<p>Your site is ready. Open the <a href="/_emdash/admin">admin panel</a> to start adding content.</p>
</main>
<style>
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: system-ui, -apple-system, sans-serif;
color: #1a1a1a;
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
main {
text-align: center;
padding: 2rem;
}
h1 {
font-size: 2rem;
margin-bottom: 0.75rem;
}
p {
color: #6b7280;
font-size: 1.0625rem;
}
a {
color: #1a1a1a;
}
</style>
</body>
</html>