Merge branch 'main' of https://github.com/timlrx/tailwind-nextjs-starter-blog into upstream
This commit is contained in:
@ -16,6 +16,7 @@ export default function Footer() {
|
||||
<SocialIcon kind="x" href={siteMetadata.x} size={6} />
|
||||
<SocialIcon kind="instagram" href={siteMetadata.instagram} size={6} />
|
||||
<SocialIcon kind="threads" href={siteMetadata.threads} size={6} />
|
||||
<SocialIcon kind="medium" href={siteMetadata.medium} size={6} />
|
||||
</div>
|
||||
<div className="mb-2 flex space-x-2 text-sm text-gray-500 dark:text-gray-400">
|
||||
<div>{siteMetadata.author}</div>
|
||||
|
@ -28,10 +28,8 @@ const Header = () => {
|
||||
)}
|
||||
</div>
|
||||
</Link>
|
||||
{/* Changed this so I can get all of my links in the header 10-19-2024. Backup Config */}
|
||||
<div className="flex items-center space-x-4 leading-5 sm:space-x-6">
|
||||
<div className="no-scrollbar max-w-50 hidden items-center space-x-4 overflow-x-auto sm:flex md:flex lg:flex">
|
||||
{/* <div className="no-scrollbar hidden max-w-50 items-center space-x-4 overflow-x-auto sm:flex sm:space-x-6 md:max-w-72 lg:max-w-96"> */}
|
||||
<div className="no-scrollbar hidden max-w-40 items-center space-x-4 overflow-x-auto sm:flex sm:space-x-6 md:max-w-72 lg:max-w-96">
|
||||
{headerNavLinks
|
||||
.filter((link) => link.href !== '/')
|
||||
.map((link) => (
|
||||
|
@ -93,3 +93,12 @@ export function Instagram(svgProps: SVGProps<SVGSVGElement>) {
|
||||
</svg>
|
||||
)
|
||||
}
|
||||
|
||||
export function Medium(svgProps: SVGProps<SVGSVGElement>) {
|
||||
return (
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...svgProps}>
|
||||
<title>Medium</title>
|
||||
<path d="M13.54 12a6.8 6.8 0 01-6.77 6.82A6.8 6.8 0 010 12a6.8 6.8 0 016.77-6.82A6.8 6.8 0 0113.54 12zM20.96 12c0 3.54-1.51 6.42-3.38 6.42-1.87 0-3.39-2.88-3.39-6.42s1.52-6.42 3.39-6.42 3.38 2.88 3.38 6.42M24 12c0 3.17-.53 5.75-1.19 5.75-.66 0-1.19-2.58-1.19-5.75s.53-5.75 1.19-5.75C23.47 6.25 24 8.83 24 12z" />
|
||||
</svg>
|
||||
)
|
||||
}
|
||||
|
@ -9,6 +9,7 @@ import {
|
||||
Mastodon,
|
||||
Threads,
|
||||
Instagram,
|
||||
Medium,
|
||||
} from './icons'
|
||||
|
||||
const components = {
|
||||
@ -22,6 +23,7 @@ const components = {
|
||||
mastodon: Mastodon,
|
||||
threads: Threads,
|
||||
instagram: Instagram,
|
||||
medium: Medium,
|
||||
}
|
||||
|
||||
type SocialIconProps = {
|
||||
|
Reference in New Issue
Block a user