diff options
| author | Pinapelz <yukais@pinapelz.com> | 2023-11-18 21:21:22 -0800 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2023-11-18 21:21:22 -0800 |
| commit | adc88dbdf3274d4d0cf15b5f2cf7b0bbb939bfe0 (patch) | |
| tree | 96089396e548f3f57121674362b6170c7b76693b /src/app/_componenets/TitleBar | |
| parent | 96019367e8f72eac26abd3b7a908c2b914bd1ae1 (diff) | |
v3: re-write frontend using next js
Diffstat (limited to 'src/app/_componenets/TitleBar')
| -rw-r--r-- | src/app/_componenets/TitleBar/TitleBar.tsx | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/app/_componenets/TitleBar/TitleBar.tsx b/src/app/_componenets/TitleBar/TitleBar.tsx new file mode 100644 index 0000000..27bebfc --- /dev/null +++ b/src/app/_componenets/TitleBar/TitleBar.tsx @@ -0,0 +1,18 @@ +import React from 'react'; +import Image from 'next/image'; + +interface TitleBarProps { + title: string; +} + +const TitleBar: React.FC<TitleBarProps> = ({ title }) => { + return ( + <div className="title-bar p-5 shadow-md" style={{ backgroundColor: '#2D4B71' }}> + <div style={{ width: 'fit-content', whiteSpace: 'nowrap', overflow: 'hidden' }}> + <span className="text-white text-4xl font-bold">{title}</span> + </div> + </div> + ); +}; + +export default TitleBar;
\ No newline at end of file |
