Skip to content

Commit

Permalink
fix: remove outline on schedule anchors
Browse files Browse the repository at this point in the history
  • Loading branch information
ginifizz committed Sep 17, 2024
1 parent 5676dd9 commit 6f51ac8
Showing 1 changed file with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,14 +90,18 @@ export default function ScheduleDay({
return acc;
}, [] as string[]);

const daySlug = slugify(day.title?.[locale] || '');
const daySlug = slugify(day.title?.[locale] || "");

return day ? (
<div className="mb-14 last:mb-0" key={day.title?.[locale]}>
<a id={daySlug} href={`#${daySlug}`} className='block -mt-24 pt-24'>
<h2 className="text-white font-title text-4xl font-bold">
{day.title?.[locale]}
</h2>
<a
id={daySlug}
href={`#${daySlug}`}
className="block -mt-24 pt-24 outline-none"
>
<h2 className="text-white font-title text-4xl font-bold">
{day.title?.[locale]}
</h2>
</a>
<Overline className="text-white/80 py-2">
{" "}
Expand Down

0 comments on commit 6f51ac8

Please sign in to comment.