Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Daskom Official FE — Environment Variables

# CMS API URL (Cloudflare Worker)
# For local development:
NEXT_PUBLIC_CMS_API_URL=http://localhost:8787

# For production, replace with your deployed worker URL:
# NEXT_PUBLIC_CMS_API_URL=https://daskom-cms.<your-subdomain>.workers.dev
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,6 @@ yarn-error.log*
# typescript
*.tsbuildinfo
next-env.d.ts
.wrangler
.next
pnpm-lock.yaml
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ The official website of [Daskom Laboratory](https://daskomlab.com/) serves as th
- [Muhammad Zaenal Abidin Abdurrahman](https://github.com/Zendin110206) [ZEN]
- [Wijdan Insania Kuncoro](https://github.com/wijdanmkh-insk) [DAN]
- [Muhammad Hafiz](https://github.com/mhafiz03) [MHZ]
- [Mohammad Fiqri](https://github.com/takanashataryu) [RYU]

---
<p align="center" style="font-style:italic">"Daskom Laboratory - Looping Forever"</p>
Expand Down
13 changes: 13 additions & 0 deletions app/admin/layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
export default function AdminLayout({
children,
}: {
children: React.ReactNode;
}) {
return (
<section className="relative flex flex-col min-h-screen">
<div className="w-full max-w-7xl mx-auto px-4 py-6">
{children}
</div>
</section>
);
}
Loading