Skip to content

Commit

Permalink
fix: remove unnecessary underlines in components on landing page
Browse files Browse the repository at this point in the history
  • Loading branch information
Coyenn committed Sep 16, 2022
1 parent 0336955 commit 1a5cc5e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions www/src/components/landingPage/banner.astro
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
>
<a
href="/en/introduction"
class="inline-flex items-center rounded-full p-1 pr-2 sm:text-base lg:text-sm xl:text-base cursor-pointer"
class="inline-flex items-center rounded-full p-1 pr-2 sm:text-base lg:text-sm xl:text-base cursor-pointer hover:no-underline"
>
<span
class="px-3 sm:px-5 py-1.5 text-slate-800 text-sm font-semibold leading-5 bg-t3-purple-100 rounded-full flex items-center justify-between hover:bg-t3-purple-200"
Expand All @@ -63,7 +63,7 @@
href="https://github.com/t3-oss/create-t3-app"
target="_blank"
rel="noopener noreferrer"
class="inline-flex items-center rounded-full p-1 pr-2 sm:text-base lg:text-sm xl:text-base cursor-pointer bg-white/10 hover:bg-white/20"
class="inline-flex items-center rounded-full p-1 pr-2 sm:text-base lg:text-sm xl:text-base cursor-pointer bg-white/10 hover:bg-white/20 hover:no-underline"
>
<span
class="ml-1 px-2 py-0.5 text-sm flex items-center justify-between text-white"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const { text, title, href } = Astro.props;
href={href}
target="_blank"
rel="noopener noreferrer"
class="py-8 flex flex-col items-center justify-center rounded-lg p-3 space-y-3 h-60 hover:bg-white/20 bg-white/10 transition-colors cursor-pointer w-full"
class="py-8 flex flex-col items-center justify-center rounded-lg p-3 space-y-3 h-60 hover:bg-white/20 bg-white/10 transition-colors cursor-pointer w-full hover:no-underline"
>
<div class="w-14 h-14"><slot name="icon" /></div>
<h2 class="text-xl font-black">{title}</h2>
Expand Down
6 changes: 5 additions & 1 deletion www/src/components/landingPage/stack/card.astro
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ const { title, href } = Astro.props;
---

<div class="relative bg-white/5 rounded-md flex flex-col justify-between">
<a href={href} target="_blank" rel="noopener noreferrer"
<a
href={href}
target="_blank"
rel="noopener noreferrer"
class="hover:no-underline"
><dt
class="flex space-x-4 items-center bg-white/10 p-2 pl-6 rounded-tr-md rounded-tl-md hover:bg-white/20 transition-colors"
>
Expand Down

0 comments on commit 1a5cc5e

Please sign in to comment.