Caleb Fahlgren commited on
Commit
6b6f639
·
1 Parent(s): 1c1f44a

modify template

Browse files
Files changed (3) hide show
  1. app/page.tsx +1 -28
  2. components/main-nav.tsx +0 -20
  3. config/site.ts +4 -4
app/page.tsx CHANGED
@@ -6,34 +6,7 @@ import { buttonVariants } from "@/components/ui/button"
6
  export default function IndexPage() {
7
  return (
8
  <section className="container grid items-center gap-6 pb-8 pt-6 md:py-10">
9
- <div className="flex max-w-[980px] flex-col items-start gap-2">
10
- <h1 className="text-3xl font-extrabold leading-tight tracking-tighter md:text-4xl">
11
- Beautifully designed components <br className="hidden sm:inline" />
12
- built with Radix UI and Tailwind CSS.
13
- </h1>
14
- <p className="max-w-[700px] text-lg text-muted-foreground">
15
- Accessible and customizable components that you can copy and paste
16
- into your apps. Free. Open Source. And Next.js 13 Ready.
17
- </p>
18
- </div>
19
- <div className="flex gap-4">
20
- <Link
21
- href={siteConfig.links.docs}
22
- target="_blank"
23
- rel="noreferrer"
24
- className={buttonVariants()}
25
- >
26
- Documentation
27
- </Link>
28
- <Link
29
- target="_blank"
30
- rel="noreferrer"
31
- href={siteConfig.links.github}
32
- className={buttonVariants({ variant: "outline" })}
33
- >
34
- GitHub
35
- </Link>
36
- </div>
37
  </section>
38
  )
39
  }
 
6
  export default function IndexPage() {
7
  return (
8
  <section className="container grid items-center gap-6 pb-8 pt-6 md:py-10">
9
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  </section>
11
  )
12
  }
components/main-nav.tsx CHANGED
@@ -14,28 +14,8 @@ export function MainNav({ items }: MainNavProps) {
14
  return (
15
  <div className="flex gap-6 md:gap-10">
16
  <Link href="/" className="flex items-center space-x-2">
17
- <Icons.logo className="h-6 w-6" />
18
  <span className="inline-block font-bold">{siteConfig.name}</span>
19
  </Link>
20
- {items?.length ? (
21
- <nav className="flex gap-6">
22
- {items?.map(
23
- (item, index) =>
24
- item.href && (
25
- <Link
26
- key={index}
27
- href={item.href}
28
- className={cn(
29
- "flex items-center text-sm font-medium text-muted-foreground",
30
- item.disabled && "cursor-not-allowed opacity-80"
31
- )}
32
- >
33
- {item.title}
34
- </Link>
35
- )
36
- )}
37
- </nav>
38
- ) : null}
39
  </div>
40
  )
41
  }
 
14
  return (
15
  <div className="flex gap-6 md:gap-10">
16
  <Link href="/" className="flex items-center space-x-2">
 
17
  <span className="inline-block font-bold">{siteConfig.name}</span>
18
  </Link>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  </div>
20
  )
21
  }
config/site.ts CHANGED
@@ -1,9 +1,9 @@
1
  export type SiteConfig = typeof siteConfig
2
 
3
  export const siteConfig = {
4
- name: "Next.js",
5
  description:
6
- "Beautifully designed components built with Radix UI and Tailwind CSS.",
7
  mainNav: [
8
  {
9
  title: "Home",
@@ -11,8 +11,8 @@ export const siteConfig = {
11
  },
12
  ],
13
  links: {
14
- twitter: "https://twitter.com/shadcn",
15
- github: "https://github.com/shadcn/ui",
16
  docs: "https://ui.shadcn.com",
17
  },
18
  }
 
1
  export type SiteConfig = typeof siteConfig
2
 
3
  export const siteConfig = {
4
+ name: "Hugging Face Hub Stats",
5
  description:
6
+ "Tracking Hugging Face Hub usage",
7
  mainNav: [
8
  {
9
  title: "Home",
 
11
  },
12
  ],
13
  links: {
14
+ twitter: "https://twitter.com/calebfahlgren",
15
+ github: "https://github.com/cfahlgren1",
16
  docs: "https://ui.shadcn.com",
17
  },
18
  }