Skip to content

Commit b1a047a

Browse files
add assets and layout
1 parent cfb0bf3 commit b1a047a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+486
-2
lines changed

app/favicon.ico

-10.3 KB
Binary file not shown.

app/layout.tsx

Lines changed: 39 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,52 @@ import {
66
UserButton,
77
} from "@clerk/nextjs";
88
import "./globals.css";
9+
import { Inter, Space_Grotesk } from "next/font/google";
10+
import type { Metadata } from "next";
11+
12+
const inter = Inter({
13+
subsets: ["latin"],
14+
weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"],
15+
variable: "--font-inter",
16+
});
17+
18+
const spaceGrotesk = Space_Grotesk({
19+
subsets: ["latin"],
20+
weight: ["300", "400", "500", "600", "700"],
21+
variable: "--font-spaceGrotesk",
22+
});
23+
24+
export const metadata: Metadata = {
25+
title: "DevFlow",
26+
description:
27+
"A community-driven platform for asking and answering programming questions. Get help, share knowledge, and collaborate with developers from around the world. Explore topics in web development, mobile app development, algorithms, data structures, and more.",
28+
icons: {
29+
icon: "/assets/images/site-logo.svg",
30+
},
31+
};
32+
933
export default function RootLayout({
1034
children,
1135
}: {
1236
children: React.ReactNode;
1337
}) {
1438
return (
15-
<ClerkProvider>
39+
<ClerkProvider
40+
appearance={{
41+
elements: {
42+
formButtonPrimary: "primary-gradient",
43+
footerActionLink: "primary-text-gradient hover:text-primary-500",
44+
},
45+
}}
46+
>
1647
<html lang="en">
17-
<body>{children}</body>
48+
<body
49+
className={`
50+
${inter.variable} ${spaceGrotesk.variable}
51+
`}
52+
>
53+
{children}
54+
</body>
1855
</html>
1956
</ClerkProvider>
2057
);

public/assets/icons/account.svg

Lines changed: 4 additions & 0 deletions
Loading

public/assets/icons/arrow-left.svg

Lines changed: 3 additions & 0 deletions
Loading

public/assets/icons/arrow-right.svg

Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 9 additions & 0 deletions
Loading

public/assets/icons/au.svg

Lines changed: 20 additions & 0 deletions
Loading

public/assets/icons/avatar.svg

Lines changed: 4 additions & 0 deletions
Loading

public/assets/icons/bronze-medal.svg

Lines changed: 34 additions & 0 deletions
Loading

public/assets/icons/calendar.svg

Lines changed: 4 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)