-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
20e74cf
commit d3addaf
Showing
25 changed files
with
2,257 additions
and
2,922 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// import { currentUser } from "@clerk/nextjs" | ||
|
||
import { SiteFooter } from "@/components/layouts/site-footer" | ||
import { SiteHeader } from "@/components/layouts/site-header" | ||
|
||
// interface LobyLayoutProps | ||
// extends React.PropsWithChildren<{ | ||
// modal: React.ReactNode | ||
// }> {} | ||
|
||
export default async function LobyLayout({ | ||
children, | ||
}: { | ||
children: React.ReactNode | ||
}) { | ||
// const user = await currentUser() | ||
|
||
return ( | ||
<div className="relative flex min-h-screen flex-col"> | ||
<SiteHeader /> | ||
<main className="flex-1"> | ||
{children} | ||
</main> | ||
<SiteFooter /> | ||
</div> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,172 @@ | ||
import type { FooterItem, MainNavItem } from "@/types" | ||
|
||
// import { productCategories } from "@/config/products" | ||
// import { slugify } from "@/lib/utils" | ||
|
||
export type SiteConfig = typeof siteConfig | ||
|
||
const links = { | ||
twitter: "https://twitter.com/gelco", | ||
github: "https://github.com/alex-guoba", | ||
githubAccount: "https://github.com/alex-guoba", | ||
// discord: "https://discord.com/gelco", | ||
// calDotCom: "https://cal.com/gelco", | ||
} | ||
|
||
export const siteConfig = { | ||
name: "Utopian", | ||
description: | ||
"An open source blog build with everything new in Next.js.", | ||
url: "https://skateshop.sadmn.com", | ||
ogImage: "https://skateshop.sadmn.com/opengraph-image.png", | ||
links, | ||
mainNav: [ | ||
{ | ||
title: "Utopian", | ||
items: [ | ||
{ | ||
title: "Products", | ||
href: "/products", | ||
description: "All the products we have to offer.", | ||
items: [], | ||
}, | ||
{ | ||
title: "Build a Board", | ||
href: "/build-a-board", | ||
description: "Build your own custom skateboard.", | ||
items: [], | ||
}, | ||
{ | ||
title: "Blog", | ||
href: "/blog", | ||
description: "Read our latest blog posts.", | ||
items: [], | ||
}, | ||
], | ||
}, | ||
// ...productCategories.map((category) => ({ | ||
// title: category.title, | ||
// items: [ | ||
// { | ||
// title: "All", | ||
// href: `/categories/${slugify(category.title)}`, | ||
// description: `All ${category.title}.`, | ||
// items: [], | ||
// }, | ||
// ...category.subcategories.map((subcategory) => ({ | ||
// title: subcategory.title, | ||
// href: `/categories/${slugify(category.title)}/${subcategory.slug}`, | ||
// description: subcategory.description, | ||
// items: [], | ||
// })), | ||
// ], | ||
// })), | ||
] satisfies MainNavItem[], | ||
footerNav: [ | ||
{ | ||
title: "Credits", | ||
items: [ | ||
{ | ||
title: "OneStopShop", | ||
href: "https://onestopshop.jackblatch.com", | ||
external: true, | ||
}, | ||
{ | ||
title: "Acme Corp", | ||
href: "https://acme-corp.jumr.dev", | ||
external: true, | ||
}, | ||
{ | ||
title: "craft.mxkaske.dev", | ||
href: "https://craft.mxkaske.dev", | ||
external: true, | ||
}, | ||
{ | ||
title: "Taxonomy", | ||
href: "https://tx.shadcn.com/", | ||
external: true, | ||
}, | ||
{ | ||
title: "shadcn/ui", | ||
href: "https://ui.shadcn.com", | ||
external: true, | ||
}, | ||
], | ||
}, | ||
{ | ||
title: "Help", | ||
items: [ | ||
{ | ||
title: "About", | ||
href: "/pages/about", | ||
external: false, | ||
}, | ||
{ | ||
title: "Contact", | ||
href: "/pages/Contact", | ||
external: false, | ||
}, | ||
{ | ||
title: "Terms", | ||
href: "/pages/terms", | ||
external: false, | ||
}, | ||
{ | ||
title: "Privacy", | ||
href: "/pages/privacy", | ||
external: false, | ||
}, | ||
], | ||
}, | ||
{ | ||
title: "Social", | ||
items: [ | ||
{ | ||
title: "Twitter", | ||
href: links.twitter, | ||
external: true, | ||
}, | ||
{ | ||
title: "GitHub", | ||
href: links.githubAccount, | ||
external: true, | ||
}, | ||
{ | ||
title: "Discord", | ||
href: links.discord, | ||
external: true, | ||
}, | ||
{ | ||
title: "cal.com", | ||
href: links.calDotCom, | ||
external: true, | ||
}, | ||
], | ||
}, | ||
{ | ||
title: "Lofi", | ||
items: [ | ||
{ | ||
title: "beats to study to", | ||
href: "https://www.youtube.com/watch?v=jfKfPfyJRdk", | ||
external: true, | ||
}, | ||
{ | ||
title: "beats to chill to", | ||
href: "https://www.youtube.com/watch?v=rUxyKA_-grg", | ||
external: true, | ||
}, | ||
{ | ||
title: "a fresh start", | ||
href: "https://www.youtube.com/watch?v=rwionZbOryo", | ||
external: true, | ||
}, | ||
{ | ||
title: "coffee to go", | ||
href: "https://www.youtube.com/watch?v=2gliGzb2_1I", | ||
external: true, | ||
}, | ||
], | ||
}, | ||
] satisfies FooterItem[], | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.