blob: 27bebfccd7b67ea81d665460b03d6077832edd1a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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;
|