From af9826149408392908420a148dd85df62c0d9cac Mon Sep 17 00:00:00 2001 From: LeonardYam Date: Mon, 7 Aug 2023 17:36:35 +0800 Subject: [PATCH] fix: integrate normalize.css to apply consistent styles --- package-lock.json | 6 ++++++ package.json | 1 + src/app/layout.tsx | 1 + 3 files changed, 8 insertions(+) diff --git a/package-lock.json b/package-lock.json index a49b8a5..ec912c8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,6 +20,7 @@ "eslint": "8.40.0", "eslint-config-next": "13.4.1", "next": "^13.4.2", + "normalize.css": "^8.0.1", "react": "18.2.0", "react-dom": "18.2.0", "typescript": "5.0.4" @@ -2636,6 +2637,11 @@ } } }, + "node_modules/normalize.css": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/normalize.css/-/normalize.css-8.0.1.tgz", + "integrity": "sha512-qizSNPO93t1YUuUhP22btGOo3chcvDFqFaj2TRybP0DMxkHOCTYwp3n34fel4a31ORXy4m1Xq0Gyqpb5m33qIg==" + }, "node_modules/npm-run-path": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-5.1.0.tgz", diff --git a/package.json b/package.json index 9414e14..3652451 100644 --- a/package.json +++ b/package.json @@ -21,6 +21,7 @@ "eslint": "8.40.0", "eslint-config-next": "13.4.1", "next": "^13.4.2", + "normalize.css": "^8.0.1", "react": "18.2.0", "react-dom": "18.2.0", "typescript": "5.0.4" diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 7fa4f4d..02446d0 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -3,6 +3,7 @@ import { Analytics } from "@vercel/analytics/react"; import React from "react"; import NavBar from "@/app/NavBar"; import Footer from "@/app/Footer"; +import 'normalize.css' import './global.css'; import "@fortawesome/fontawesome-svg-core/styles.css" import { config } from "@fortawesome/fontawesome-svg-core"