diff options
| author | Pinapelz <yukais@pinapelz.com> | 2024-03-20 11:34:02 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2024-03-20 11:34:02 -0700 |
| commit | 7b762bf7eb6e2e7c9a0f4fa44c0e42c8717bbb55 (patch) | |
| tree | e1c23b321adb5f2d4d447b41a70ec5481bff8579 /src/components | |
| parent | 20182842769afbfbf9504954591eb9cf20aeebf6 (diff) | |
add house icon for home button
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/SubscriberTable/SubscriberTable.tsx | 2 | ||||
| -rw-r--r-- | src/components/TitleBar/TitleBar.tsx | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/src/components/SubscriberTable/SubscriberTable.tsx b/src/components/SubscriberTable/SubscriberTable.tsx index 31ca24f..a666284 100644 --- a/src/components/SubscriberTable/SubscriberTable.tsx +++ b/src/components/SubscriberTable/SubscriberTable.tsx @@ -26,7 +26,7 @@ return ( <h1 className="text-2xl font-bold text-gray-800">Subscriber Count</h1> <p className="text-gray-500 text-sm">Last Updated: {timestamp}</p> </div> - <div className="px-2 sm:px-48 py-4 sm:py-8 relative shadow-md rounded-l text-left overflow-auto"> + <div className="px-2 sm:px-48 py-4 sm:py-8 relative rounded-l text-left overflow-auto"> <table className="w-full text-m sm:text-xl text-black bg-white"> <thead className="text-m sm:text-lg text-white rounded-md" style={{ backgroundColor: 'black' }}> <tr> 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> |
