11'use client' ;
2- import { PriceDisplay } from '@/components/PriceDisplay' ;
3- import EmptyState from '@/components/EmptyState' ;
42import { BoundlessButton } from '@/components/buttons' ;
5- import { Coins , History , Plus } from 'lucide-react' ;
6- import Card from '@/components/card' ;
7- import RecentProjects from '@/components/overview/RecentProjects' ;
8- import RecentContributions from '@/components/overview/ReecntContributions' ;
9- import GrantHistory from '@/components/overview/GrantHistory' ;
103import { AuthNav } from '@/components/auth/AuthNav' ;
114import { motion } from 'framer-motion' ;
125import {
13- fadeInUp ,
146 staggerContainer ,
157 slideInFromLeft ,
168 slideInFromRight ,
179} from '@/lib/motion' ;
1810import PageTransition from '@/components/PageTransition' ;
11+ import Link from 'next/link' ;
1912
2013export default function Home ( ) {
2114 return (
@@ -34,95 +27,12 @@ export default function Home() {
3427 < AuthNav />
3528 </ motion . header >
3629 < motion . main
37- className = 'flex flex-col gap-[32px] items-center sm:items-start '
38- variants = { staggerContainer }
30+ className = 'w-full max-w-6xl flex flex-col items-center justify-center '
31+ variants = { slideInFromRight }
3932 >
40- < motion . div
41- className = 'bg-[#1C1C1C] rounded-lg p-4 w-full max-w-[550px]'
42- variants = { fadeInUp }
43- >
44- < PriceDisplay price = { 100 } className = 'text-2xl font-bold' />
45- < EmptyState
46- title = 'No comments yet'
47- description = 'Start by sharing your first project idea with the Boundless community. Once submitted, your projects will appear here for easy tracking.'
48- type = 'default'
49- action = {
50- < BoundlessButton
51- variant = 'default'
52- size = 'lg'
53- icon = { < Plus className = 'w-5 h-5' /> }
54- iconPosition = 'right'
55- >
56- Add comment
57- </ BoundlessButton >
58- }
59- />
60- </ motion . div >
61- < motion . div className = 'flex gap-4' variants = { staggerContainer } >
62- < motion . div variants = { fadeInUp } >
63- < Card
64- title = 'Active Campaigns'
65- value = '10'
66- bottomText = {
67- < div className = 'flex items-center gap-2' >
68- < Coins className = 'w-4 h-4 text-white/60' />
69- < PriceDisplay
70- price = { 0 }
71- className = '!text-xs !tracking-[-0.06px]'
72- />
73- </ div >
74- }
75- />
76- </ motion . div >
77- < motion . div variants = { fadeInUp } >
78- < Card
79- title = 'Pending Submissions'
80- value = '0'
81- bottomText = {
82- < div className = 'flex items-center gap-2' >
83- < History className = 'w-4 h-4 text-white/60' />
84- < span className = 'text-white/60' > No recent submissions</ span >
85- </ div >
86- }
87- />
88- </ motion . div >
89- < motion . div variants = { fadeInUp } >
90- < Card
91- title = 'Active Projects'
92- value = '0'
93- bottomText = {
94- < div className = 'flex items-center gap-2' >
95- < span className = 'text-white/90' > 0</ span >
96- Approved Submissions
97- </ div >
98- }
99- />
100- </ motion . div >
101- < motion . div variants = { fadeInUp } >
102- < Card
103- title = 'Available Grants'
104- value = {
105- < PriceDisplay price = { 0 } className = '!tracking-[-0.06px]' />
106- }
107- bottomText = {
108- < div className = 'flex items-center gap-2 text-white/90' >
109- 6 grants available
110- </ div >
111- }
112- />
113- </ motion . div >
114- </ motion . div >
115- < motion . div variants = { fadeInUp } >
116- < RecentProjects projects = { [ ] } />
117- </ motion . div >
118- < motion . div className = 'flex gap-4' variants = { staggerContainer } >
119- < motion . div variants = { slideInFromLeft } >
120- < RecentContributions projects = { [ ] } />
121- </ motion . div >
122- < motion . div variants = { slideInFromRight } >
123- < GrantHistory projects = { [ ] } />
124- </ motion . div >
125- </ motion . div >
33+ < Link href = '/user' >
34+ < BoundlessButton > Go to Dashboard</ BoundlessButton >
35+ </ Link >
12636 </ motion . main >
12737 </ motion . div >
12838 </ PageTransition >
0 commit comments