Skip to content

Commit 58f6ee7

Browse files
committed
style: Remove HeroSection image top margin, add a global body background color, and update the Next.js type reference path.
1 parent 7ec5754 commit 58f6ee7

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

next-env.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/// <reference types="next" />
22
/// <reference types="next/image-types/global" />
3-
import "./.next/dev/types/routes.d.ts";
3+
import "./.next/types/routes.d.ts";
44

55
// NOTE: This file should not be edited
66
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.

src/app/[locale]/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export default async function LocaleLayout({
7575
<head>
7676
<link rel="icon" href="/icons/favicon.ico" />
7777
</head>
78-
<body className={montserrat.className} suppressHydrationWarning>
78+
<body className={`${montserrat.className} bg-blue`} suppressHydrationWarning>
7979
<NextIntlClientProvider messages={messages}>
8080
<div id="top" className="relative overflow-x-clip bg-gray">
8181
<Navbar locale={locale} />

src/components/home/HeroSection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export default function HeroSection() {
1414
<div className="bg-blue h-full w-full 2xl:block hidden"></div>
1515
<div className="w-full 2xl:shrink-0">
1616
<Image
17-
className="hidden w-full mt-3 xl:mt-0 lg:block"
17+
className="hidden w-full xl:mt-0 lg:block"
1818
src="/illustrations/home-bg-2.svg"
1919
alt="Hero background"
2020
width={2000}

0 commit comments

Comments
 (0)