Copy this complete page template to get started with the TricklAI theme:
import React from "react";
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";
import { Button } from "@/components/ui/button";
import { Link } from "react-router-dom";
import { createPageUrl } from "@/utils";
export default function MyDashboardPage() {
return (
<>
<style>{`
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
* { font-family: 'Inter', sans-serif; }
`}</style>
<div className="min-h-screen bg-gradient-to-br from-slate-900 to-slate-800">
{/* Header */}
<div className="bg-slate-800/50 backdrop-blur-lg border-b border-slate-700">
<div className="max-w-7xl mx-auto px-6 py-4">
<div className="flex items-center justify-between">
<h1 className="text-2xl font-bold text-white">My Dashboard</h1>
<Button variant="outline" className="bg-slate-700 text-slate-300 border-slate-600">
Action
</Button>
</div>
</div>
</div>
{/* Main Content */}
<div className="max-w-7xl mx-auto px-6 py-8">
{/* Stats Grid */}
<div className="grid md:grid-cols-3 gap-6 mb-8">
<Card className="bg-slate-800/50 border-slate-700">
<CardHeader>
<CardTitle className="text-sm text-slate-400">Total Items</CardTitle>
</CardHeader>
<CardContent>
<div className="text-3xl font-bold text-white">123</div>
</CardContent>
</Card>
</div>
{/* Main Card */}
<Card className="bg-slate-800/50 border-slate-700">
<CardHeader>
<CardTitle className="text-white">Card Title</CardTitle>
</CardHeader>
<CardContent>
<p className="text-slate-300 mb-4">Your content here</p>
<Button className="bg-gradient-to-r from-purple-500 to-blue-500 hover:from-purple-600 hover:to-blue-600 text-white">
Primary Action
</Button>
</CardContent>
</Card>
</div>
</div>
</>
);
}Background Gradient
bg-gradient-to-br from-slate-900 to-slate-800Card Background
bg-slate-800/50 border-slate-700Input Background
bg-slate-700/50 border-slate-600Primary Gradient
bg-gradient-to-r from-purple-500 to-blue-500Accent Gradient
bg-gradient-to-br from-purple-900/30 to-blue-900/30Primary heading text
text-white font-boldSecondary description text
text-slate-300Muted helper text
text-slate-400 text-smSuccess message
text-green-400Error message
text-red-400className="bg-gradient-to-r from-purple-500 to-blue-500"className="bg-slate-700/50 text-white border-slate-600"Add this to the top of every page:
<style>{`
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
* { font-family: 'Inter', sans-serif; }
`}</style>