From a276f4879a351349c38d2d5b5efd8f6b977f5c22 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Sat, 6 Sep 2025 14:43:03 -0700 Subject: migrate to tailwind v4 --- src/app/globals.css | 7 +++---- src/components/ChannelCard/ChannelCard.tsx | 2 +- src/components/SubscriberTable/TwitchDataTable.tsx | 4 ++-- src/components/TitleBar/TitleBar.tsx | 2 +- src/pages/twitch/index.tsx | 3 +-- 5 files changed, 8 insertions(+), 10 deletions(-) (limited to 'src') diff --git a/src/app/globals.css b/src/app/globals.css index c7bbd41..fa064cc 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -1,5 +1,4 @@ -@import url("https://fonts.googleapis.com/css2?family=Quantico:wght@400;700&display=swap"); +@import url('https://fonts.googleapis.com/css2?family=Quantico:wght@400;700&display=swap') +layer(base); -@tailwind base; -@tailwind components; -@tailwind utilities; +@import 'tailwindcss'; diff --git a/src/components/ChannelCard/ChannelCard.tsx b/src/components/ChannelCard/ChannelCard.tsx index 7a41c22..f02eedb 100644 --- a/src/components/ChannelCard/ChannelCard.tsx +++ b/src/components/ChannelCard/ChannelCard.tsx @@ -34,7 +34,7 @@ const ChannelCard: React.FC = ({ diff_30d, }) => { return ( -
+
{

MAX Column Color Key

-
+
YouTube subscriber count is higher
-
+
Twitch follower count is higher
diff --git a/src/components/TitleBar/TitleBar.tsx b/src/components/TitleBar/TitleBar.tsx index 9fc8c34..9ae8d1e 100644 --- a/src/components/TitleBar/TitleBar.tsx +++ b/src/components/TitleBar/TitleBar.tsx @@ -94,7 +94,7 @@ const TitleBar: React.FC = ({ > diff --git a/src/pages/twitch/index.tsx b/src/pages/twitch/index.tsx index fc389c2..eea05e9 100644 --- a/src/pages/twitch/index.tsx +++ b/src/pages/twitch/index.tsx @@ -2,7 +2,6 @@ import TwitchDataTable, { type TwitchDataTableProp, } from "../../components/SubscriberTable/TwitchDataTable"; import TitleBar from "../../components/TitleBar/TitleBar"; -import Announcement from "../../components/Announcement"; import "../../app/globals.css"; type Props = { @@ -50,4 +49,4 @@ export async function getServerSideProps() { }; } -export default TwitchPage; \ No newline at end of file +export default TwitchPage; -- cgit v1.2.3