feat: initialize landing application with Vite and Mantine configuration
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
import { ThemeProvider } from '@repo/ui/provider';
|
||||
import { Button } from '@repo/ui/components';
|
||||
|
||||
export default function App() {
|
||||
return (
|
||||
<ThemeProvider>
|
||||
<div className="flex min-h-screen flex-col items-center justify-center bg-gradient-to-br from-gray-950 via-gray-900 to-gray-800 text-white">
|
||||
<div className="mx-auto max-w-3xl px-6 text-center">
|
||||
<h1 className="text-5xl font-bold tracking-tight sm:text-6xl">
|
||||
Hello from{' '}
|
||||
<span className="bg-gradient-to-r from-blue-400 to-violet-400 bg-clip-text text-transparent">
|
||||
Landing Page
|
||||
</span>
|
||||
</h1>
|
||||
|
||||
<p className="mt-6 text-lg leading-8 text-gray-300">
|
||||
Enterprise-grade solutions for modern businesses.
|
||||
This page is served from{' '}
|
||||
<code className="rounded bg-gray-700/50 px-2 py-0.5 text-sm font-mono text-blue-300">
|
||||
apps/landing
|
||||
</code>{' '}
|
||||
on port <strong>5174</strong>.
|
||||
</p>
|
||||
|
||||
<div className="mt-10 flex items-center justify-center gap-4">
|
||||
<Button>Get Started</Button>
|
||||
<Button variant="outline">Learn More</Button>
|
||||
</div>
|
||||
|
||||
<p className="mt-12 text-xs text-gray-500">
|
||||
✅ @repo/ui workspace link verified — Button component rendered successfully.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
@import 'tailwindcss';
|
||||
@import '@repo/ui/theme.css';
|
||||
@source "../../../packages/ui/src";
|
||||
@@ -0,0 +1,10 @@
|
||||
import './main.css';
|
||||
import { StrictMode } from 'react';
|
||||
import { createRoot } from 'react-dom/client';
|
||||
import App from './app';
|
||||
|
||||
createRoot(document.getElementById('app')!).render(
|
||||
<StrictMode>
|
||||
<App />
|
||||
</StrictMode>,
|
||||
);
|
||||
Reference in New Issue
Block a user