BLOG-5 refactor: remove unused props definition
This commit is contained in:
parent
90c8a2f627
commit
738008b983
@ -1,3 +1,5 @@
|
|||||||
|
import React from "react";
|
||||||
|
|
||||||
export default function HomePage() {
|
export default function HomePage() {
|
||||||
return (
|
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">
|
<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">
|
||||||
|
@ -3,9 +3,7 @@ import { faEnvelope } from "@fortawesome/free-solid-svg-icons";
|
|||||||
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
|
|
||||||
type Props = {};
|
export default function Footer() {
|
||||||
|
|
||||||
export default function Footer({}: Props) {
|
|
||||||
return (
|
return (
|
||||||
<div className="border-t border-gray-300">
|
<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">
|
<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">
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
import React from "react";
|
import React from "react";
|
||||||
|
|
||||||
type Props = {};
|
export default function Navbar() {
|
||||||
|
|
||||||
export default function Navbar({}: Props) {
|
|
||||||
return (
|
return (
|
||||||
<div className="border-b border-gray-300">
|
<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">
|
<div className="mx-auto flex h-[--tool-bar-height] max-w-screen-xl flex-row items-center justify-between px-4 md:px-6">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user