Skip to content

Commit 6edb6a2

Browse files
committed
Add src/ directory with initial React components
- src/main.tsx: React app entry point - src/App.tsx: Root component with Tailwind test - src/styles/globals.css: Tailwind v4 import
1 parent a08a3d8 commit 6edb6a2

3 files changed

Lines changed: 25 additions & 0 deletions

File tree

src/App.tsx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
function App() {
2+
return (
3+
<div className="min-h-screen bg-gray-900 text-white">
4+
<h1 className="text-4xl font-bold text-center py-10">
5+
Farese.com - Reformed Baptist Church Directory
6+
</h1>
7+
<p className="text-center text-gray-400">
8+
Vite + React 19 + TypeScript + Tailwind v4 + MapLibre GL
9+
</p>
10+
</div>
11+
);
12+
}
13+
14+
export default App;

src/main.tsx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import { StrictMode } from 'react';
2+
import { createRoot } from 'react-dom/client';
3+
import App from './App';
4+
import './styles/globals.css';
5+
6+
createRoot(document.getElementById('root')!).render(
7+
<StrictMode>
8+
<App />
9+
</StrictMode>,
10+
);

src/styles/globals.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
@import "tailwindcss";

0 commit comments

Comments
 (0)