Skip to content

Commit 7bc9b25

Browse files
authored
Merge pull request #38 from Capstone-Projects-2024-Spring/babel-hot-fix
hot fix babel and next/font issues brought upon from tests
2 parents 5eaa51a + 52690db commit 7bc9b25

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

intelligest-ui/src/app/globals.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
}
1818

1919
body {
20+
font-family: 'Inter', sans-serif;
2021
color: rgb(var(--foreground-rgb));
2122
background: linear-gradient(
2223
to bottom,
@@ -36,4 +37,4 @@ body {
3637
width: 50px; /* Set width of the image */
3738
height: 50px; /* Set height of the image */
3839
margin-right: 10px; /* Add some spacing between image and text */
39-
}
40+
}

intelligest-ui/src/app/layout.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
import { Inter } from "next/font/google";
1+
import Head from "next/head";
22
import "./globals.css";
33

4-
const inter = Inter({ subsets: ["latin"] });
5-
64
export const metadata = {
75
title: "IntelliGest GUI",
86
description: "Developed by IntelliGest Team",
@@ -11,7 +9,10 @@ export const metadata = {
119
export default function RootLayout({ children }) {
1210
return (
1311
<html lang="en">
14-
<body className={inter.className}>{children}</body>
12+
<Head>
13+
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap" rel="stylesheet" />
14+
</Head>
15+
<body>{children}</body>
1516
</html>
1617
);
17-
}
18+
}

0 commit comments

Comments
 (0)