Skip to content

Commit

Permalink
feat: add fonts and first iteration of navbar
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronchan32 committed Nov 1, 2024
1 parent 5e64579 commit 8713e0e
Show file tree
Hide file tree
Showing 18 changed files with 157 additions and 27 deletions.
Binary file added public/fonts/Iosevka-Curly-Bold-Extended.woff2
Binary file not shown.
Binary file added public/fonts/Iosevka-Curly-Medium.woff2
Binary file not shown.
Binary file added public/fonts/Iosevka-Curly-Regular.woff2
Binary file not shown.
Binary file added public/fonts/Iosevka-Curly-SemiBoldItalic.woff2
Binary file not shown.
Binary file added public/fonts/Iosevka-Curly-Semibold.woff2
Binary file not shown.
Binary file removed public/fonts/NB-International-Mono.ttf
Binary file not shown.
Binary file removed public/fonts/NB-International-Pro-Light.otf
Binary file not shown.
Binary file removed public/fonts/NB-International-Regular.ttf
Binary file not shown.
Binary file removed public/fonts/Neue-Plak-Extended-Bold.ttf
Binary file not shown.
Binary file removed public/fonts/NeuePlak-ExtendedBold.woff2
Binary file not shown.
12 changes: 12 additions & 0 deletions public/images/icons/info-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions public/images/logos/dco-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions public/images/logos/stride-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
51 changes: 30 additions & 21 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,38 @@ import type { Metadata } from 'next';
import localFont from 'next/font/local';
import '@/app/styles/global.scss';
import { ReactNode } from 'react';
import Navbar from '@/components/Navbar/Navbar';

export const metadata: Metadata = {
title: 'Stride 2024',
description:
'Stride is a uniquely design-forward career fair aiming to connect aspiring designers with company representatives.'
};

const NeuePlak = localFont({
src: '../../public/fonts/Neue-Plak-Extended-Bold.ttf',
variable: '--font-neueplak',
display: 'swap'
});

const NBInternational = localFont({
src: '../../public/fonts/NB-International-Pro-Light.otf',
variable: '--font-nbinternational',
display: 'swap'
});

const NBInternationalMono = localFont({
src: '../../public/fonts/NB-International-Mono.ttf',
variable: '--font-nbinternational-mono',
display: 'swap'
const IosevkaCurly = localFont({
src: [
{
path: '../../public/fonts/Iosevka-Curly-Regular.woff2',
weight: '400',
style: 'normal'
},
{
path: '../../public/fonts/Iosevka-Curly-Medium.woff2',
weight: '500',
style: 'normal'
},
{
path: '../../public/fonts/Iosevka-Curly-SemiBold.woff2',
weight: '600',
style: 'normal'
},
{
path: '../../public/fonts/Iosevka-Curly-SemiBoldItalic.woff2',
weight: '600',
style: 'italic'
}
],
variable: '--font-iosevka'
});

export default function RootLayout({
Expand All @@ -33,11 +42,11 @@ export default function RootLayout({
children: ReactNode;
}>) {
return (
<html
lang="en"
className={`${NeuePlak.variable} ${NBInternational.variable} ${NBInternationalMono.variable}`}
>
<body>{children}</body>
<html lang="en" className={`${IosevkaCurly.variable} `}>
<body>
<Navbar />
{children}
</body>
</html>
);
}
Loading

0 comments on commit 8713e0e

Please sign in to comment.