From d2da1d3bf77b4fe05043d7751192ab0fbd87a0df Mon Sep 17 00:00:00 2001 From: John Paul Larkin <107807466+John-Paul-Larkin@users.noreply.github.com> Date: Tue, 29 Oct 2024 20:29:57 +0000 Subject: [PATCH 1/5] remove input-base class --- app/(editor)/create/[[...paramsArr]]/_client.tsx | 2 +- styles/globals.css | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/app/(editor)/create/[[...paramsArr]]/_client.tsx b/app/(editor)/create/[[...paramsArr]]/_client.tsx index 5b1852f9..b0d7bf30 100644 --- a/app/(editor)/create/[[...paramsArr]]/_client.tsx +++ b/app/(editor)/create/[[...paramsArr]]/_client.tsx @@ -557,7 +557,7 @@ const Create = ({ session }: { session: Session | null }) => { type="button" className="relative flex w-full focus:outline-none focus:ring-2 focus:ring-pink-300 focus:ring-offset-2 active:hover:bg-neutral-50 disabled:opacity-50" > -
+
{PREVIEW_URL}
diff --git a/styles/globals.css b/styles/globals.css index ac5849a9..0959ae58 100644 --- a/styles/globals.css +++ b/styles/globals.css @@ -45,10 +45,6 @@ body { } } -.input-base { - @apply block w-full border px-2 py-2 text-black shadow-sm ring-offset-1 focus:border-pink-500 focus:outline-none focus:ring-2 focus:ring-neutral-300 disabled:opacity-50 dark:border-white dark:bg-black dark:text-white sm:text-sm; -} - .nav-button { @apply focus-style rounded-md px-2 py-2 text-neutral-900 hover:bg-neutral-200 hover:text-black focus:text-neutral-900 dark:text-neutral-300 dark:hover:bg-neutral-900 dark:hover:text-white dark:focus:text-white; } From 56209c60106fc830e86efb1211eb8825d2f818a1 Mon Sep 17 00:00:00 2001 From: John Paul Larkin <107807466+John-Paul-Larkin@users.noreply.github.com> Date: Tue, 29 Oct 2024 20:49:10 +0000 Subject: [PATCH 2/5] remove footer links custom styles from globals.css --- components/Footer/Footer.tsx | 6 +++++- styles/globals.css | 21 --------------------- tailwind.config.js | 8 ++++---- 3 files changed, 9 insertions(+), 26 deletions(-) diff --git a/components/Footer/Footer.tsx b/components/Footer/Footer.tsx index b9377929..f91e354d 100644 --- a/components/Footer/Footer.tsx +++ b/components/Footer/Footer.tsx @@ -19,21 +19,25 @@ const navigation = { social: [ { name: "Twitter", + customStyle: "hover:bg-twitter focus:bg-twitter", href: twitterUrl, icon: Twitter, }, { name: "GitHub", + customStyle: "hover:bg-github focus:bg-github", href: githubUrl, icon: Github, }, { name: "Discord", + customStyle: "hover:bg-discord focus:bg-discord", href: discordInviteUrl, icon: Discord, }, { name: "Youtube", + customStyle: "hover:bg-youtube focus:bg-youtube", href: youtubeUrl, icon: Youtube, }, @@ -77,7 +81,7 @@ const Footer = () => { href={item.href} target="_blank" rel="noopener noreferrer" - className={`focus-style rounded-md p-1 transition-all duration-300 hover:scale-105 hover:text-white hover:brightness-110 focus:scale-105 focus:text-white focus:brightness-110 ${item.name.toLowerCase()}`} + className={`focus-style rounded-md p-1 transition-all duration-300 hover:scale-105 hover:text-white hover:brightness-110 focus:scale-105 focus:text-white focus:brightness-110 ${item.customStyle.toLowerCase()}`} > {item.name}