File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11"use client" ;
22
33import { getOS } from "@/app/utils" ;
4- import { HeaderAction } from "@/components/HeaderAction " ;
4+ import { GithubStars } from "@/components/GithubStars " ;
55import { useEffect , useState } from "react" ;
66
77// Define the interface for a GitHub release asset
@@ -77,7 +77,7 @@ export const DownloadButton = () => {
7777 : "." } { " " }
7878 Get notified when it is available for your OS.
7979 </ p >
80- < HeaderAction />
80+ < GithubStars />
8181 </ div >
8282 ) ;
8383 }
Original file line number Diff line number Diff line change @@ -7,21 +7,19 @@ import "@/app/css/additional-styles/toggle-switch.css";
77import "@/app/css/additional-styles/theme.css" ;
88
99import Hero from "@/components/hero" ;
10- // import Testimonials from "@/components/testimonials";
11- import Features from "@/components/features" ;
1210import Features02 from "@/components/features-02" ;
13- // import Integrations from "@/components/integrations";
1411import Pricing from "@/components/pricing" ;
1512import Faqs from "@/components/faqs" ;
1613import Cta from "@/components/cta" ;
1714import { constructMetadata } from "../utils" ;
15+ import { FeaturesBento } from "@/components/features-bento" ;
1816
1917export default function Home ( ) {
2018 return (
2119 < >
2220 < Hero />
2321 { /* <Testimonials /> */ }
24- < Features />
22+ < FeaturesBento />
2523 < Features02 />
2624 { /* <Integrations /> */ }
2725 < Pricing />
Original file line number Diff line number Diff line change 1+ // GithubStars.tsx
2+
13"use client" ;
2- import { GithubIcon } from "lucide-react" ;
4+ import { GithubIcon , Lock } from "lucide-react" ;
35import { useEffect , useState } from "react" ;
46import { Badge } from "./ui/badge" ;
7+ import { LockClosedIcon } from "@radix-ui/react-icons" ;
58
6- export const HeaderAction = ( ) => {
9+ export const GithubStars = ( { styles } : { styles ?: string } ) => {
710 const [ starCount , setStarCount ] = useState ( 0 ) ;
811
912 useEffect ( ( ) => {
@@ -32,7 +35,9 @@ export const HeaderAction = () => {
3235 >
3336 < button
3437 type = "button"
35- className = "relative inline-flex items-center rounded-md bg-white/10 px-3 py-2 text-sm font-semibold text-white ring-1 ring-inset ring-gray-300 hover:bg-white/20 focus:z-10"
38+ className = { `relative inline-flex items-center justify-center rounded-md bg-white/10 px-4 text-sm font-semibold text-white ring-1 ring-inset ring-gray-300 hover:bg-white/20 focus:z-10 ${
39+ styles ? styles : ""
40+ } `}
3641 >
3742 < GithubIcon className = "mr-2 h-4 w-4" /> Star on GitHub
3843 < Badge
@@ -46,4 +51,4 @@ export const HeaderAction = () => {
4651 </ div >
4752 </ span >
4853 ) ;
49- } ;
54+ } ;
Original file line number Diff line number Diff line change 2727 "@radix-ui/react-slot" : " ^1.0.2" ,
2828 "@radix-ui/react-tooltip" : " ^1.0.7" ,
2929 "@sentry/nextjs" : " ^7.88.0" ,
30+ "@tabler/icons-react" : " ^2.47.0" ,
3031 "@tanstack/react-query" : " ^5.20.5" ,
3132 "@tanstack/react-query-devtools" : " ^5.21.7" ,
3233 "@tremor/react" : " ^3.11.1" ,
3839 "aos" : " ^3.0.0-beta.6" ,
3940 "canvas-confetti" : " ^1.9.2" ,
4041 "class-variance-authority" : " ^0.7.0" ,
41- "clsx" : " ^2.0 .0" ,
42+ "clsx" : " ^2.1 .0" ,
4243 "cmdk" : " ^0.2.0" ,
4344 "date-fns" : " ^2.30.0" ,
45+ "framer-motion" : " ^11.0.8" ,
4446 "loops" : " ^0.1.3" ,
4547 "lucide-react" : " ^0.292.0" ,
4648 "next" : " ^13.5.4" ,
5759 "sharp" : " ^0.33.1" ,
5860 "sonner" : " ^1.2.0" ,
5961 "swiper" : " ^8.4.7" ,
60- "tailwind-merge" : " ^2.0.0 " ,
62+ "tailwind-merge" : " ^2.2.1 " ,
6163 "tailwindcss-animate" : " ^1.0.7" ,
6264 "typescript" : " ^5.2.2" ,
6365 "uuid" : " ^9.0.1" ,
You can’t perform that action at this time.
0 commit comments