first project commit

This commit is contained in:
2026-05-16 12:02:15 +01:00
parent 33789b13d1
commit c013b52f59
79 changed files with 5834 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
import type { Metadata } from 'next';
export const metadata: Metadata = {
title: 'FieldOps Admin',
description: 'Backoffice — coming soon.',
};
export default function RootLayout({ children }: { children: React.ReactNode }) {
return (
<html lang="en">
<body
style={{
fontFamily: 'system-ui, sans-serif',
margin: 0,
minHeight: '100vh',
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
}}
>
{children}
</body>
</html>
);
}
+8
View File
@@ -0,0 +1,8 @@
export default function Page() {
return (
<main style={{ textAlign: 'center' }}>
<h1 style={{ fontSize: '2rem', marginBottom: '0.5rem' }}>FieldOps Admin</h1>
<p style={{ color: '#64748b' }}>Coming soon.</p>
</main>
);
}
+8
View File
@@ -0,0 +1,8 @@
import type { NextConfig } from 'next';
const config: NextConfig = {
reactStrictMode: true,
poweredByHeader: false,
};
export default config;
+28
View File
@@ -0,0 +1,28 @@
{
"name": "@repo/admin-web",
"version": "0.0.0",
"private": true,
"type": "module",
"scripts": {
"dev": "dotenv -e ../../.env -- next dev --port 3001",
"build": "dotenv -e ../../.env -- next build",
"start": "dotenv -e ../../.env -- next start --port 3001",
"lint": "next lint",
"typecheck": "tsc --noEmit",
"clean": "rimraf .next .turbo node_modules"
},
"dependencies": {
"next": "^15.1.3",
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
"devDependencies": {
"@repo/config": "workspace:*",
"@types/node": "^22.10.2",
"@types/react": "^19.0.2",
"@types/react-dom": "^19.0.2",
"dotenv-cli": "^8.0.0",
"rimraf": "^6.0.1",
"typescript": "^5.7.2"
}
}
+9
View File
@@ -0,0 +1,9 @@
{
"extends": "@repo/config/tsconfig/nextjs.json",
"compilerOptions": {
"baseUrl": ".",
"paths": { "@/*": ["./*"] }
},
"include": ["**/*.ts", "**/*.tsx", ".next/types/**/*.ts", "next-env.d.ts"],
"exclude": ["node_modules", ".next"]
}