mirror of
https://gitea.gofwd.group/dstrawsb/ballistic-builder.git
synced 2025-12-06 02:36:44 -05:00
added pagehero
This commit is contained in:
13
src/components/PageHero/index.tsx
Normal file
13
src/components/PageHero/index.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
import React from 'react';
|
||||
|
||||
interface PageHeroProps {
|
||||
title: string;
|
||||
}
|
||||
|
||||
export default function PageHero({ title }: PageHeroProps) {
|
||||
return (
|
||||
<div className="mb-6 bg-slate-700 text-center py-10">
|
||||
<h1 className="text-2xl uppercase font-bold">{title}</h1>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user