asi-calculator/components/Header/Header.tsx

15 lines
394 B
TypeScript
Raw Normal View History

2024-04-01 15:23:01 +02:00
import { title, description } from '@/constants'
2024-03-31 06:01:26 +02:00
import styles from './Header.module.css'
import { Logo } from '@/components/Logo'
2024-03-31 06:01:26 +02:00
export function Header() {
return (
<header className={styles.header}>
<h1 className={styles.title}>
<Logo className={styles.logo} /> {`${title}`}
</h1>
2024-04-01 15:23:01 +02:00
<p className={styles.description}>{`${description}`}</p>
2024-03-31 06:01:26 +02:00
</header>
)
}