1- import { BentoCard , BentoGrid } from "@/components/magicui/bento-grid" ;
2- import RepositorySlider from "@/components/ui/repository-slider" ;
3- import { InputIcon , BellIcon , CalendarIcon , FileTextIcon , GlobeIcon } from "@radix-ui/react-icons" ;
4- import { FaMobileAlt , FaNodeJs , FaPython , FaReact , FaServer , FaVuejs } from "react-icons/fa" ;
1+ import { BellIcon , CalendarIcon , FileTextIcon , GlobeIcon , InputIcon } from '@radix-ui/react-icons'
2+ import { FaMobileAlt , FaNodeJs , FaPython , FaReact , FaServer , FaVuejs } from 'react-icons/fa'
3+
4+ import { BentoCard , BentoGrid } from '@/components/magicui/bento-grid'
5+ import RepositorySlider from '@/components/ui/repository-slider'
56
67export default function Home ( ) {
78 const repositories = [
@@ -16,7 +17,7 @@ export default function Home() {
1617 language : 'JavaScript' ,
1718 languageColor : '#61DAFB' ,
1819 icon : < FaReact /> ,
19- updated : 'Updated 2 days ago'
20+ updated : 'Updated 2 days ago' ,
2021 } ,
2122 {
2223 id : '2' ,
@@ -29,7 +30,7 @@ export default function Home() {
2930 language : 'Python' ,
3031 languageColor : '#3572A5' ,
3132 icon : < FaPython /> ,
32- updated : 'Updated 1 week ago'
33+ updated : 'Updated 1 week ago' ,
3334 } ,
3435 {
3536 id : '3' ,
@@ -42,7 +43,7 @@ export default function Home() {
4243 language : 'Vue' ,
4344 languageColor : '#41B883' ,
4445 icon : < FaVuejs /> ,
45- updated : 'Updated 3 days ago'
46+ updated : 'Updated 3 days ago' ,
4647 } ,
4748 {
4849 id : '4' ,
@@ -55,7 +56,7 @@ export default function Home() {
5556 language : 'Node.js' ,
5657 languageColor : '#339933' ,
5758 icon : < FaNodeJs /> ,
58- updated : 'Updated 5 days ago'
59+ updated : 'Updated 5 days ago' ,
5960 } ,
6061 {
6162 id : '5' ,
@@ -68,7 +69,7 @@ export default function Home() {
6869 language : 'Dart' ,
6970 languageColor : '#02569B' ,
7071 icon : < FaMobileAlt /> ,
71- updated : 'Updated yesterday'
72+ updated : 'Updated yesterday' ,
7273 } ,
7374 {
7475 id : '6' ,
@@ -81,57 +82,57 @@ export default function Home() {
8182 language : 'Go' ,
8283 languageColor : '#007396' ,
8384 icon : < FaServer /> ,
84- updated : 'Updated 2 weeks ago'
85- }
86- ] ;
85+ updated : 'Updated 2 weeks ago' ,
86+ } ,
87+ ]
8788 const features = [
8889 {
8990 Icon : FileTextIcon ,
90- name : " Save your files" ,
91- description : " We automatically save your files as you type." ,
92- href : "/" ,
93- cta : " Learn more" ,
91+ name : ' Save your files' ,
92+ description : ' We automatically save your files as you type.' ,
93+ href : '/' ,
94+ cta : ' Learn more' ,
9495 background : < img className = "absolute -right-20 -top-20 opacity-60" /> ,
95- className : " lg:row-start-1 lg:row-end-4 lg:col-start-2 lg:col-end-3" ,
96+ className : ' lg:row-start-1 lg:row-end-4 lg:col-start-2 lg:col-end-3' ,
9697 } ,
9798 {
9899 Icon : InputIcon ,
99- name : " Full text search" ,
100- description : " Search through all your files in one place." ,
101- href : "/" ,
102- cta : " Learn more" ,
100+ name : ' Full text search' ,
101+ description : ' Search through all your files in one place.' ,
102+ href : '/' ,
103+ cta : ' Learn more' ,
103104 background : < img className = "absolute -right-20 -top-20 opacity-60" /> ,
104- className : " lg:col-start-1 lg:col-end-2 lg:row-start-1 lg:row-end-3" ,
105+ className : ' lg:col-start-1 lg:col-end-2 lg:row-start-1 lg:row-end-3' ,
105106 } ,
106107 {
107108 Icon : GlobeIcon ,
108- name : " Multilingual" ,
109- description : " Supports 100+ languages and counting." ,
110- href : "/" ,
111- cta : " Learn more" ,
109+ name : ' Multilingual' ,
110+ description : ' Supports 100+ languages and counting.' ,
111+ href : '/' ,
112+ cta : ' Learn more' ,
112113 background : < img className = "absolute -right-20 -top-20 opacity-60" /> ,
113- className : " lg:col-start-1 lg:col-end-2 lg:row-start-3 lg:row-end-4" ,
114+ className : ' lg:col-start-1 lg:col-end-2 lg:row-start-3 lg:row-end-4' ,
114115 } ,
115116 {
116117 Icon : CalendarIcon ,
117- name : " Calendar" ,
118- description : " Use the calendar to filter your files by date." ,
119- href : "/" ,
120- cta : " Learn more" ,
118+ name : ' Calendar' ,
119+ description : ' Use the calendar to filter your files by date.' ,
120+ href : '/' ,
121+ cta : ' Learn more' ,
121122 background : < img className = "absolute -right-20 -top-20 opacity-60" /> ,
122- className : " lg:col-start-3 lg:col-end-3 lg:row-start-1 lg:row-end-2" ,
123+ className : ' lg:col-start-3 lg:col-end-3 lg:row-start-1 lg:row-end-2' ,
123124 } ,
124125 {
125126 Icon : BellIcon ,
126- name : " Notifications" ,
127+ name : ' Notifications' ,
127128 description :
128- " Get notified when someone shares a file or mentions you in a comment." ,
129- href : "/" ,
130- cta : " Learn more" ,
129+ ' Get notified when someone shares a file or mentions you in a comment.' ,
130+ href : '/' ,
131+ cta : ' Learn more' ,
131132 background : < img className = "absolute -right-20 -top-20 opacity-60" /> ,
132- className : " lg:col-start-3 lg:col-end-3 lg:row-start-2 lg:row-end-4" ,
133+ className : ' lg:col-start-3 lg:col-end-3 lg:row-start-2 lg:row-end-4' ,
133134 } ,
134- ] ;
135+ ]
135136 return (
136137 < >
137138 < BentoGrid className = "lg:grid-rows-3" >
0 commit comments