refactor: migrate to pnpm monorepo with Payload CMS backend and Astro frontend to support scalable website development and AI-assisted workflows
This commit is contained in:
2
apps/frontend/src/env.d.ts
vendored
Normal file
2
apps/frontend/src/env.d.ts
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
/// <reference path="../.astro/types.d.ts" />
|
||||
/// <reference types="astro/client" />
|
||||
16
apps/frontend/src/pages/index.astro
Normal file
16
apps/frontend/src/pages/index.astro
Normal file
@@ -0,0 +1,16 @@
|
||||
---
|
||||
import '../styles/tailwind.css';
|
||||
---
|
||||
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>enchun.tw</title>
|
||||
</head>
|
||||
<body class="bg-surface text-text">
|
||||
<main class="mx-auto flex min-h-screen max-w-4xl flex-col items-center justify-center gap-6 px-4 text-center">
|
||||
<h1 class="text-4xl font-semibold text-primary">enchun.tw migration scaffold</h1>
|
||||
<p class="text-lg text-secondary">Astro SSR frontend is ready for development.</p>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
3
apps/frontend/src/styles/tailwind.css
Normal file
3
apps/frontend/src/styles/tailwind.css
Normal file
@@ -0,0 +1,3 @@
|
||||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
Reference in New Issue
Block a user