add x logo
This commit is contained in:
parent
37f3195288
commit
194d7072d4
@ -13,6 +13,7 @@ export default function Footer() {
|
|||||||
<SocialIcon kind="youtube" href={siteMetadata.youtube} size={6} />
|
<SocialIcon kind="youtube" href={siteMetadata.youtube} size={6} />
|
||||||
<SocialIcon kind="linkedin" href={siteMetadata.linkedin} size={6} />
|
<SocialIcon kind="linkedin" href={siteMetadata.linkedin} size={6} />
|
||||||
<SocialIcon kind="twitter" href={siteMetadata.twitter} size={6} />
|
<SocialIcon kind="twitter" href={siteMetadata.twitter} size={6} />
|
||||||
|
<SocialIcon kind="x" href={siteMetadata.x} size={6} />
|
||||||
<SocialIcon kind="instagram" href={siteMetadata.instagram} size={6} />
|
<SocialIcon kind="instagram" href={siteMetadata.instagram} size={6} />
|
||||||
<SocialIcon kind="threads" href={siteMetadata.threads} size={6} />
|
<SocialIcon kind="threads" href={siteMetadata.threads} size={6} />
|
||||||
</div>
|
</div>
|
||||||
|
@ -44,6 +44,14 @@ export function Twitter(svgProps: SVGProps<SVGSVGElement>) {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export function X(svgProps: SVGProps<SVGSVGElement>) {
|
||||||
|
return (
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...svgProps}>
|
||||||
|
<path d="M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z" />
|
||||||
|
</svg>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
export function Youtube(svgProps: SVGProps<SVGSVGElement>) {
|
export function Youtube(svgProps: SVGProps<SVGSVGElement>) {
|
||||||
return (
|
return (
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...svgProps}>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...svgProps}>
|
||||||
|
@ -5,6 +5,7 @@ import {
|
|||||||
Youtube,
|
Youtube,
|
||||||
Linkedin,
|
Linkedin,
|
||||||
Twitter,
|
Twitter,
|
||||||
|
X,
|
||||||
Mastodon,
|
Mastodon,
|
||||||
Threads,
|
Threads,
|
||||||
Instagram,
|
Instagram,
|
||||||
@ -17,6 +18,7 @@ const components = {
|
|||||||
youtube: Youtube,
|
youtube: Youtube,
|
||||||
linkedin: Linkedin,
|
linkedin: Linkedin,
|
||||||
twitter: Twitter,
|
twitter: Twitter,
|
||||||
|
x: X,
|
||||||
mastodon: Mastodon,
|
mastodon: Mastodon,
|
||||||
threads: Threads,
|
threads: Threads,
|
||||||
instagram: Instagram,
|
instagram: Instagram,
|
||||||
|
@ -13,7 +13,8 @@ const siteMetadata = {
|
|||||||
mastodon: 'https://mastodon.social/@mastodonuser',
|
mastodon: 'https://mastodon.social/@mastodonuser',
|
||||||
email: 'address@yoursite.com',
|
email: 'address@yoursite.com',
|
||||||
github: 'https://github.com',
|
github: 'https://github.com',
|
||||||
twitter: 'https://twitter.com/Twitter',
|
x: 'https://twitter.com/x',
|
||||||
|
// twitter: 'https://twitter.com/Twitter',
|
||||||
facebook: 'https://facebook.com',
|
facebook: 'https://facebook.com',
|
||||||
youtube: 'https://youtube.com',
|
youtube: 'https://youtube.com',
|
||||||
linkedin: 'https://www.linkedin.com',
|
linkedin: 'https://www.linkedin.com',
|
||||||
|
@ -37,7 +37,7 @@ export default function AuthorLayout({ children, content }: Props) {
|
|||||||
<SocialIcon kind="mail" href={`mailto:${email}`} />
|
<SocialIcon kind="mail" href={`mailto:${email}`} />
|
||||||
<SocialIcon kind="github" href={github} />
|
<SocialIcon kind="github" href={github} />
|
||||||
<SocialIcon kind="linkedin" href={linkedin} />
|
<SocialIcon kind="linkedin" href={linkedin} />
|
||||||
<SocialIcon kind="twitter" href={twitter} />
|
<SocialIcon kind="x" href={twitter} />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="prose max-w-none pb-8 pt-8 dark:prose-invert xl:col-span-2">
|
<div className="prose max-w-none pb-8 pt-8 dark:prose-invert xl:col-span-2">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user