initial commit

This commit is contained in:
2025-06-18 07:46:59 -04:00
commit 9a82d1a664
167 changed files with 40539 additions and 0 deletions

13
src/pages/index.astro Normal file
View File

@@ -0,0 +1,13 @@
---
import Base from "../layouts/Base.astro";
import Root from "../components/AppLayout.jsx";
import LyricSearch from '../components/LyricSearch.jsx';
---
<Base>
<section>
<div class="prose prose-neutral dark:prose-invert">
<Root child="LyricSearch" client:only="react" />
</div>
</section>
</Base>

16
src/pages/radio.astro Normal file
View File

@@ -0,0 +1,16 @@
---
import Base from "../layouts/Base.astro";
import Root from "../components/AppLayout.jsx";
import "@styles/player.css";
---
<Base>
<section>
<div class="prose prose-neutral dark:prose-invert">
<Root child="Player" client:only="react">
</Root>
<script is:inline src="/scripts/jquery/dist/jquery.js" />
<script is:inline src="/scripts/howler/dist/howler.js" />
<script is:inline src="/scripts/player.js" />
</section>
</Base>

11
src/pages/robots.txt.js Normal file
View File

@@ -0,0 +1,11 @@
const getRobotsTxt = (sitemapURL) => `
User-agent: *
Allow: /
Sitemap: ${sitemapURL.href}
`;
export const GET = ({ site }) => {
const sitemapURL = new URL("sitemap-index.xml", site);
return new Response(getRobotsTxt(sitemapURL));
};