diff --git a/src/common/Blocks/CTACenteredBlock/index.tsx b/src/common/Blocks/CTACenteredBlock/index.tsx index f764879..9049047 100644 --- a/src/common/Blocks/CTACenteredBlock/index.tsx +++ b/src/common/Blocks/CTACenteredBlock/index.tsx @@ -1,5 +1,5 @@ import type { CTACenteredBlock as CTACenteredBlockType } from '@/payload-types'; -import { LinkButton } from '../../components/LinkButtons'; +import { LinkButton } from '../../Components/LinkButtons'; export const CTACenteredBlock = ({ data }: { data: CTACenteredBlockType | null | undefined }) => { if (!data) return null; diff --git a/src/common/Blocks/CTAWithSplitContentAndButtonBlock/index.tsx b/src/common/Blocks/CTAWithSplitContentAndButtonBlock/index.tsx index 785dfb6..e2f614b 100644 --- a/src/common/Blocks/CTAWithSplitContentAndButtonBlock/index.tsx +++ b/src/common/Blocks/CTAWithSplitContentAndButtonBlock/index.tsx @@ -1,4 +1,4 @@ -import { LinkButton } from '../../components/LinkButtons'; +import { LinkButton } from '../../Components/LinkButtons'; import type { CTAWithSplitContentAndButtonBlock as CTAWithSplitContentAndButtonBlockType } from '@/payload-types'; export const CTAWithSplitContentAndButtonBlock = ({ diff --git a/src/common/Blocks/CTAWithSplitContentAndImageBlock/index.tsx b/src/common/Blocks/CTAWithSplitContentAndImageBlock/index.tsx index ad74464..6a2a0f1 100644 --- a/src/common/Blocks/CTAWithSplitContentAndImageBlock/index.tsx +++ b/src/common/Blocks/CTAWithSplitContentAndImageBlock/index.tsx @@ -1,6 +1,6 @@ import type { CTAWithSplitContentAndImageBlock as CTAWithSplitContentAndImageBlockType } from '@/payload-types'; import Image from 'next/image'; -import { LinkButton } from '../../components/LinkButtons'; +import { LinkButton } from '../../Components/LinkButtons'; export const CTAWithSplitContentAndImageBlock = ({ data, diff --git a/src/common/Blocks/ContentBlock/index.tsx b/src/common/Blocks/ContentBlock/index.tsx index 0a36e1d..cecdc9d 100644 --- a/src/common/Blocks/ContentBlock/index.tsx +++ b/src/common/Blocks/ContentBlock/index.tsx @@ -1,4 +1,4 @@ -import { LinkButton } from '../../components/LinkButtons'; +import { LinkButton } from '../../Components/LinkButtons'; import { ContentBlock as ContentBlockType } from '@/payload-types'; export const ContentBlock = ({ data }: { data: ContentBlockType | null | undefined }) => { diff --git a/src/common/Blocks/FeatureWithThreeColumnBlock/index.tsx b/src/common/Blocks/FeatureWithThreeColumnBlock/index.tsx index 57005ef..cb73c76 100644 --- a/src/common/Blocks/FeatureWithThreeColumnBlock/index.tsx +++ b/src/common/Blocks/FeatureWithThreeColumnBlock/index.tsx @@ -1,7 +1,6 @@ -import Link from 'next/link'; import { CustomIcon } from '../../Components/CustomIcon'; import type { FeatureWithThreeColumnBlock as FeatureWithThreeColumnBlockType } from '@/payload-types'; -import { LinkButton } from '../../components/LinkButtons'; +import { LinkButton } from '../../Components/LinkButtons'; export const FeatureWithThreeColumnBlock = ({ data, diff --git a/src/common/Blocks/HeroWithBackgroundBlock/index.tsx b/src/common/Blocks/HeroWithBackgroundBlock/index.tsx index ec00e26..12f4f1b 100644 --- a/src/common/Blocks/HeroWithBackgroundBlock/index.tsx +++ b/src/common/Blocks/HeroWithBackgroundBlock/index.tsx @@ -1,6 +1,6 @@ import type { HeroWithBackgroundBlock as HeroWithBackgroundBlockType } from '@/payload-types'; import { MediaImage } from '../../Mediaimage'; -import { LinkButton } from '../../components/LinkButtons'; +import { LinkButton } from '../../Components/LinkButtons'; export const HeroWithBackgroundBlock = ({ data, diff --git a/src/common/Blocks/HeroWithSplitContentAndImageBlock/index.tsx b/src/common/Blocks/HeroWithSplitContentAndImageBlock/index.tsx index 73b3aef..83d4317 100644 --- a/src/common/Blocks/HeroWithSplitContentAndImageBlock/index.tsx +++ b/src/common/Blocks/HeroWithSplitContentAndImageBlock/index.tsx @@ -1,6 +1,6 @@ import type { HeroWithSplitContentAndImageBlock as HeroWithSplitContentAndImageBlockType } from '@/payload-types'; import { MediaImage } from '../../Mediaimage'; -import { LinkButton } from '../../components/LinkButtons'; +import { LinkButton } from '../../Components/LinkButtons'; export const HeroWithSplitContentAndImageBlock = ({ data, diff --git a/src/common/Components/LinkButtons/index.tsx b/src/common/Components/LinkButtons/index.tsx index 63cf968..8154615 100644 --- a/src/common/Components/LinkButtons/index.tsx +++ b/src/common/Components/LinkButtons/index.tsx @@ -24,7 +24,7 @@ export const LinkButton = ({ link, className }: { link: Link; className?: string link.appearance === 'primary' && 'bg-indigo-600' } px-12 py-3 text-sm font-medium ${ link.appearance === 'primary' ? 'text-white' : 'text-indigo-600' - } transition hover:bg-indigo-700 focus:outline-none focus:ring focus:ring-yellow-400`} + } transition hover:bg-indigo-700 hover:text-white focus:outline-none focus:ring focus:ring-yellow-400`} target={link.newTab ? '_blank' : '_self'} > {link.label} @@ -56,7 +56,7 @@ export const LinkButton = ({ link, className }: { link: Link; className?: string link.appearance === 'primary' && 'bg-indigo-600' } px-12 py-3 text-sm font-medium ${ link.appearance === 'primary' ? 'text-white' : 'text-indigo-600' - } transition hover:bg-indigo-700 focus:outline-none focus:ring focus:ring-yellow-400`} + } transition hover:bg-indigo-700 hover:text-white focus:outline-none focus:ring focus:ring-yellow-400`} target={link.newTab ? '_blank' : '_self'} href={doc.slug} > diff --git a/tailwind.config.js b/tailwind.config.js index 5239a72..5564c28 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -2,7 +2,7 @@ export default { content: [ './src/pages/**/*.{js,ts,jsx,tsx,mdx}', - './src/components/**/*.{js,ts,jsx,tsx,mdx}', + './src/Components/**/*.{js,ts,jsx,tsx,mdx}', './src/common/**/*.{js,ts,jsx,tsx,mdx}', './src/app/**/*.{js,ts,jsx,tsx,mdx}', ],