BLOG-5 refactor: remove unused props definition

This commit is contained in:
SquidSpirit 2025-01-18 00:40:24 +08:00
parent 90c8a2f627
commit 738008b983
3 changed files with 4 additions and 6 deletions

View File

@ -1,3 +1,5 @@
import React from "react";
export default function HomePage() {
return (
<div className="mx-auto flex min-h-[--content-height] max-w-screen-xl flex-col justify-center gap-y-2.5 px-4 md:gap-y-8 md:px-6">

View File

@ -3,9 +3,7 @@ import { faEnvelope } from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import React from "react";
type Props = {};
export default function Footer({}: Props) {
export default function Footer() {
return (
<div className="border-t border-gray-300">
<div className="mx-auto flex max-w-screen-xl flex-col items-center justify-center gap-4 px-4 py-12 md:flex-row md:px-6">

View File

@ -1,8 +1,6 @@
import React from "react";
type Props = {};
export default function Navbar({}: Props) {
export default function Navbar() {
return (
<div className="border-b border-gray-300">
<div className="mx-auto flex h-[--tool-bar-height] max-w-screen-xl flex-row items-center justify-between px-4 md:px-6">