Update stuff
This commit is contained in:
@@ -5,13 +5,7 @@ import { MetricCard } from '@/components/dashboard/metric-card';
|
||||
import { SpoonCard } from '@/components/spoons/spoon-card';
|
||||
import { MaintenanceQueue } from '@/components/updates/maintenance-queue';
|
||||
import { useQuery } from 'convex/react';
|
||||
import {
|
||||
Bot,
|
||||
GitBranch,
|
||||
GitPullRequest,
|
||||
RefreshCw,
|
||||
ShieldCheck,
|
||||
} from 'lucide-react';
|
||||
import { Bot, GitBranch, RefreshCw, ShieldCheck } from 'lucide-react';
|
||||
|
||||
import { api } from '@spoon/backend/convex/_generated/api.js';
|
||||
import { Button, Card, CardContent, CardHeader, CardTitle } from '@spoon/ui';
|
||||
@@ -50,17 +44,11 @@ const DashboardPage = () => {
|
||||
|
||||
<div className='grid gap-4 md:grid-cols-2 xl:grid-cols-4'>
|
||||
<MetricCard
|
||||
label='Total Spoons'
|
||||
label='Spoons'
|
||||
value={spoons.length}
|
||||
note='Managed forks'
|
||||
note={`${activeSpoons} active`}
|
||||
icon={GitBranch}
|
||||
/>
|
||||
<MetricCard
|
||||
label='Active Spoons'
|
||||
value={activeSpoons}
|
||||
note='Ready for checks'
|
||||
icon={GitPullRequest}
|
||||
/>
|
||||
<MetricCard
|
||||
label='Behind upstream'
|
||||
value={behind}
|
||||
|
||||
@@ -13,7 +13,7 @@ const SpoonsPage = () => {
|
||||
<main className='space-y-6'>
|
||||
<div className='flex flex-col justify-between gap-4 md:flex-row md:items-end'>
|
||||
<div>
|
||||
<h1 className='text-3xl font-semibold tracking-normal'>My Spoons</h1>
|
||||
<h1 className='text-3xl font-semibold tracking-normal'>Spoons</h1>
|
||||
<p className='text-muted-foreground mt-2'>
|
||||
Managed forks you want to keep close to their upstream projects.
|
||||
</p>
|
||||
|
||||
@@ -1,4 +1,11 @@
|
||||
import { Agents, CTA, Features, Hero, Workflow } from '@/components/landing';
|
||||
import {
|
||||
Agents,
|
||||
CTA,
|
||||
Features,
|
||||
Hero,
|
||||
Security,
|
||||
Workflow,
|
||||
} from '@/components/landing';
|
||||
|
||||
const Home = () => (
|
||||
<main className='flex min-h-screen flex-col'>
|
||||
@@ -6,6 +13,7 @@ const Home = () => (
|
||||
<Workflow />
|
||||
<Features />
|
||||
<Agents />
|
||||
<Security />
|
||||
<CTA />
|
||||
</main>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user