Scaffold monorepo dev setup
This commit is contained in:
commit
d2a09e095a
47 changed files with 1033 additions and 0 deletions
44
apps/web/app/globals.css
Normal file
44
apps/web/app/globals.css
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
:root {
|
||||
color-scheme: light;
|
||||
font-family: "IBM Plex Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
||||
background: #f4f3ef;
|
||||
color: #1b1b1b;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
.page {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
min-height: 100vh;
|
||||
padding: 48px 24px;
|
||||
background: radial-gradient(circle at top, #fef7e4, #f4f3ef 60%);
|
||||
}
|
||||
|
||||
.panel {
|
||||
max-width: 520px;
|
||||
padding: 32px 36px;
|
||||
border: 1px solid #dad2c2;
|
||||
border-radius: 18px;
|
||||
background: #fff9ee;
|
||||
box-shadow: 0 20px 40px rgba(48, 32, 12, 0.12);
|
||||
}
|
||||
|
||||
h1 {
|
||||
margin: 0 0 12px;
|
||||
font-size: 2.25rem;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 8px 0;
|
||||
line-height: 1.6;
|
||||
}
|
||||
19
apps/web/app/layout.tsx
Normal file
19
apps/web/app/layout.tsx
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
import "./globals.css";
|
||||
import type { ReactNode } from "react";
|
||||
|
||||
export const metadata = {
|
||||
title: "Islandflow",
|
||||
description: "Realtime options flow & off-exchange analysis"
|
||||
};
|
||||
|
||||
type RootLayoutProps = {
|
||||
children: ReactNode;
|
||||
};
|
||||
|
||||
export default function RootLayout({ children }: RootLayoutProps) {
|
||||
return (
|
||||
<html lang="en">
|
||||
<body>{children}</body>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
11
apps/web/app/page.tsx
Normal file
11
apps/web/app/page.tsx
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
export default function HomePage() {
|
||||
return (
|
||||
<main className="page">
|
||||
<section className="panel">
|
||||
<h1>Islandflow</h1>
|
||||
<p>Realtime options flow + off-exchange analysis.</p>
|
||||
<p>UI scaffold is up; live data wiring next.</p>
|
||||
</section>
|
||||
</main>
|
||||
);
|
||||
}
|
||||
4
apps/web/next-env.d.ts
vendored
Normal file
4
apps/web/next-env.d.ts
vendored
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
/// <reference types="next" />
|
||||
/// <reference types="next/image-types/global" />
|
||||
|
||||
// Note: This file is normally generated by Next.js.
|
||||
15
apps/web/package.json
Normal file
15
apps/web/package.json
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"name": "@islandflow/web",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "next dev -p 3000",
|
||||
"build": "next build",
|
||||
"start": "next start -p 3000"
|
||||
},
|
||||
"dependencies": {
|
||||
"next": "^14.2.4",
|
||||
"react": "^18.3.1",
|
||||
"react-dom": "^18.3.1"
|
||||
}
|
||||
}
|
||||
11
apps/web/tsconfig.json
Normal file
11
apps/web/tsconfig.json
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"jsx": "preserve",
|
||||
"lib": ["DOM", "DOM.Iterable", "ES2022"],
|
||||
"incremental": true,
|
||||
"noEmit": true
|
||||
},
|
||||
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
|
||||
"exclude": ["node_modules"]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue