-
Notifications
You must be signed in to change notification settings - Fork 39
Expand file tree
/
Copy pathpage.js
More file actions
54 lines (51 loc) · 2.49 KB
/
Copy pathpage.js
File metadata and controls
54 lines (51 loc) · 2.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
import React from 'react'
import PrimaryButton from '../components/buttons/PrimaryButton'
import SecondaryButton from '../components/buttons/SecondaryButton'
import GhostButton from '../components/buttons/GhostButton'
import IconButton from '../components/buttons/IconButton'
import PillButton from '../components/buttons/PillButton'
import SimpleCard from '../components/cards/SimpleCard'
import ImageCard from '../components/cards/ImageCard'
import FeatureCard from '../components/cards/FeatureCard'
import ProfileCard from '../components/cards/ProfileCard'
import PricingCard from '../components/cards/PricingCard'
import DataCard from '@/components/cards/DataCard'
import OutlineButton from '@/components/buttons/OutlineButton'
import DangerButton from '@/components/buttons/DangerButton'
import LinkButton from '@/components/buttons/LinkButton'
import LoadingButton from '@/components/buttons/LoadingButton'
import RoundButton from '@/components/buttons/RoundButton'
import SuccessButton from '@/components/buttons/SuccessButton'
export default function Page() {
return (
<div className="space-y-12">
<section className='mt-12'>
<h2 className="text-2xl font-semibold mb-4">Buttons</h2>
<div className="flex gap-4 flex-wrap">
<PrimaryButton>Primary</PrimaryButton>
<SecondaryButton>Secondary</SecondaryButton>
<GhostButton>Ghost</GhostButton>
<OutlineButton>Outline</OutlineButton>
<DangerButton>Danger</DangerButton>
<LinkButton>Link</LinkButton>
<LoadingButton>Loading</LoadingButton>
<RoundButton>Rounded</RoundButton>
<SuccessButton>Success</SuccessButton>
<IconButton aria-label="star">★</IconButton>
<PillButton>Subscribe</PillButton>
</div>
</section>
<section>
<h2 className="text-2xl font-semibold mb-4">Cards</h2>
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
<SimpleCard title="Simple Card" description="A minimal card with actions." />
<ImageCard title="Image Card" description="Card with SVG image." />
<FeatureCard title="Feature Card" description="Highlight features and benefits." />
<ProfileCard name="Alex Johnson" role="Product Designer" />
<PricingCard plan="Pro" price="$9/mo" features={["10 projects", "Priority support", "Unlimited users"]} />
<DataCard title="Active Projects" value="27" icon="📂" trend={8} />
</div>
</section>
</div>
)
}