aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/Divider
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2024-01-09 16:26:51 -0800
committerPinapelz <yukais@pinapelz.com>2024-01-09 16:26:51 -0800
commit1c06c6f39af400184b74a1713217e3081d01a3f6 (patch)
treee9b4c5a3b89e6c511658f369dc36c557899774c9 /src/components/Divider
parent7030bda4fbbacaddbed3789ebb06537463a1cab5 (diff)
add styled divider to stats pages
Diffstat (limited to 'src/components/Divider')
-rw-r--r--src/components/Divider/Divider.tsx12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/components/Divider/Divider.tsx b/src/components/Divider/Divider.tsx
new file mode 100644
index 0000000..55e6844
--- /dev/null
+++ b/src/components/Divider/Divider.tsx
@@ -0,0 +1,12 @@
+interface DividerProps {
+ text: string;
+}
+
+const Divider = (props: DividerProps) => {
+ return (
+ <div className="flex flex-row items-center justify-center bg-black h-24 mt-8">
+ <div className="px-2 text-white text-4xl font-extrabold">{props.text}</div>
+ </div>
+ )
+}
+export default Divider; \ No newline at end of file
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage