Update font styles
This commit is contained in:
@@ -8,7 +8,7 @@ export default function Footer() {
|
|||||||
<div className="mx-auto py-8">
|
<div className="mx-auto py-8">
|
||||||
<div className="md:flex md:items-center md:justify-between">
|
<div className="md:flex md:items-center md:justify-between">
|
||||||
<SocialIcons />
|
<SocialIcons />
|
||||||
<p className="mt-4 text-xs leading-5 text-slate-100 md:order-1 md:mt-0">
|
<p className="mt-4 text-xs leading-5 text-gray-100 md:order-1 md:mt-0">
|
||||||
© {currentYear} Beau Findlay. All rights reserved.
|
© {currentYear} Beau Findlay. All rights reserved.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -7,14 +7,14 @@ interface Props {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export default function NavLink({ children, to, className }: Props) {
|
export default function NavLink({ children, to, className }: Props) {
|
||||||
const defaultStyles = "text-sm font-semibold leading-6";
|
const defaultStyles = "text-base font-semibold leading-6 hover:text-gray-300";
|
||||||
const styles = className ? className : defaultStyles;
|
const styles = className ? className : defaultStyles;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ReactNavLink
|
<ReactNavLink
|
||||||
to={to}
|
to={to}
|
||||||
className={({ isActive }) =>
|
className={({ isActive }) =>
|
||||||
isActive ? `${styles} underline underline-offset-2` : styles
|
isActive ? `${styles} underline underline-offset-4` : styles
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
{children}
|
{children}
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ export default function SocialIcons({ size = 20 }: Props) {
|
|||||||
<a
|
<a
|
||||||
key={socialIcon.name}
|
key={socialIcon.name}
|
||||||
href={socialIcon.href}
|
href={socialIcon.href}
|
||||||
className="text-slate-200 hover:text-slate-500"
|
className="text-gray-100 hover:text-gray-300"
|
||||||
>
|
>
|
||||||
<span className="sr-only">{socialIcon.name}</span>
|
<span className="sr-only">{socialIcon.name}</span>
|
||||||
{socialIcon.icon}
|
{socialIcon.icon}
|
||||||
|
|||||||
Reference in New Issue
Block a user