diff options
Diffstat (limited to 'src/components/TitleBar/TitleBar.tsx')
| -rw-r--r-- | src/components/TitleBar/TitleBar.tsx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/components/TitleBar/TitleBar.tsx b/src/components/TitleBar/TitleBar.tsx index 05a0e5d..171e03a 100644 --- a/src/components/TitleBar/TitleBar.tsx +++ b/src/components/TitleBar/TitleBar.tsx @@ -1,5 +1,7 @@ import React from 'react'; import '../TitleBar/TitleBarStyle.css' +import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' +import { faHouse } from '@fortawesome/free-solid-svg-icons' interface TitleBarProps { title: string; @@ -17,8 +19,8 @@ const TitleBar: React.FC<TitleBarProps> = ({ title, redirectUrl, showHomeButton, <span className="text-white text-4xl font-bold" style={{ fontFamily: 'Quantico, sans-serif' }}>{title}</span> </a> {showHomeButton && ( - <a href="/"> - <button className="bg-white text-black font-bold py-2 px-4 rounded-lg">Home</button> + <a href="/" className='text-white text-3xl'> + <FontAwesomeIcon icon={faHouse} /> </a> )} </div> |
