1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-22 01:46:51 +01:00

remove twitter

This commit is contained in:
Matthias Kretschmann 2023-09-19 19:37:10 +01:00
parent a9f5ea925d
commit 16b2b0cdf8
Signed by: m
GPG Key ID: 606EEEF3C479A91F
13 changed files with 14 additions and 18 deletions

View File

@ -6,7 +6,6 @@ export default {
name: 'Matthias Kretschmann', name: 'Matthias Kretschmann',
email: 'm@kretschmann.io', email: 'm@kretschmann.io',
url: 'https://matthiaskretschmann.com', url: 'https://matthiaskretschmann.com',
twitter: 'https://twitter.com/kremalicious',
mastodon: 'https://mas.to/@krema', mastodon: 'https://mas.to/@krema',
github: 'https://github.com/kremalicious', github: 'https://github.com/kremalicious',
bitcoin: '171qDmKEXm9YBgBLXyGjjPvopP5o9htQ1V', bitcoin: '171qDmKEXm9YBgBLXyGjjPvopP5o9htQ1V',

View File

@ -1,5 +1,5 @@
import Web3Donation from '@components/Donation/Web3Donation' import Web3Donation from '@components/Donation/Web3Donation'
import config from '@config/blog.config.ts' import config from '@config/blog.config'
import { RainbowKitProvider } from '@rainbow-me/rainbowkit' import { RainbowKitProvider } from '@rainbow-me/rainbowkit'
import { WagmiConfig } from 'wagmi' import { WagmiConfig } from 'wagmi'
import { wagmiConfig, chains, theme } from '@lib/rainbowkit' import { wagmiConfig, chains, theme } from '@lib/rainbowkit'

View File

@ -1,6 +1,6 @@
--- ---
import styles from './Networks.module.css' import styles from './Networks.module.css'
import { Twitter, Rss, Mastodon, Github, Jsonfeed } from '@images/components' import { Rss, Mastodon, Github, Jsonfeed } from '@images/components'
type Props = { type Props = {
links: string[] links: string[]
@ -15,8 +15,6 @@ const { links } = Astro.props
<a class={styles.link} href={link} title={link} rel="me"> <a class={styles.link} href={link} title={link} rel="me">
{link.includes('mas.to') ? ( {link.includes('mas.to') ? (
<Mastodon /> <Mastodon />
) : link.includes('twitter') ? (
<Twitter />
) : link.includes('github') ? ( ) : link.includes('github') ? (
<Github /> <Github />
) : link.includes('feed.xml') ? ( ) : link.includes('feed.xml') ? (

View File

@ -2,12 +2,12 @@
import { Image } from 'astro:assets' import { Image } from 'astro:assets'
import Networks from './Networks.astro' import Networks from './Networks.astro'
import avatar from '@images/avatar.jpg' import avatar from '@images/avatar.jpg'
import config from '@config/blog.config.ts' import config from '@config/blog.config'
import styles from './Vcard.module.css' import styles from './Vcard.module.css'
const { author, rss, jsonfeed } = config const { author, rss, jsonfeed } = config
const { mastodon, twitter, github, name, url } = author const { mastodon, github, name, url } = author
const links = [mastodon, github, twitter, rss, jsonfeed] const links = [mastodon, github, rss, jsonfeed]
--- ---
<Image <Image

View File

@ -1,6 +1,6 @@
--- ---
import Hamburger from '@components/Hamburger.astro' import Hamburger from '@components/Hamburger.astro'
import config from '@config/blog.config.ts' import config from '@config/blog.config'
import styles from './index.module.css' import styles from './index.module.css'
const { menu } = config const { menu } = config

View File

@ -1,7 +1,7 @@
--- ---
import { getImage } from 'astro:assets' import { getImage } from 'astro:assets'
import SchemaOrg, { type Props as SchemaProps } from './SchemaOrg.astro' import SchemaOrg, { type Props as SchemaProps } from './SchemaOrg.astro'
import config from '@config/blog.config.ts' import config from '@config/blog.config'
import { getUmamiConfig } from '@lib/umami' import { getUmamiConfig } from '@lib/umami'
import faviconSrc from '@images/favicon.png' import faviconSrc from '@images/favicon.png'
import faviconSvgSrc from '@images/favicon.svg' import faviconSvgSrc from '@images/favicon.svg'
@ -75,7 +75,6 @@ const faviconSvg = await getImage({ src: faviconSvgSrc, format: 'svg' })
<meta property="og:image:alt" content={imageFinalAlt} /> <meta property="og:image:alt" content={imageFinalAlt} />
<meta property="og:url" content={canonicalURL} /> <meta property="og:url" content={canonicalURL} />
<meta name="twitter:card" content="summary_large_image" /> <meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:creator" content={config.author.twitter} />
<meta name="theme-color" content="" /> <meta name="theme-color" content="" />
<meta name="msapplication-TileColor" content="" /> <meta name="msapplication-TileColor" content="" />

View File

@ -1,5 +1,5 @@
--- ---
import config from '@config/blog.config.ts' import config from '@config/blog.config'
export type Props = { export type Props = {
title: string title: string

View File

@ -1,5 +1,5 @@
--- ---
import config from '@config/blog.config.ts' import config from '@config/blog.config'
import styles from './Actions.module.css' import styles from './Actions.module.css'
import Action from './Action.astro' import Action from './Action.astro'
import { Mastodon, Bitcoin, Github } from '@images/components' import { Mastodon, Bitcoin, Github } from '@images/components'

View File

@ -1,7 +1,7 @@
--- ---
import type { CollectionEntry } from 'astro:content' import type { CollectionEntry } from 'astro:content'
import slugify from '@lib/slugify' import slugify from '@lib/slugify'
import config from '@config/blog.config.ts' import config from '@config/blog.config'
import Tag from '@components/Tag.astro' import Tag from '@components/Tag.astro'
import styles from './Meta.module.css' import styles from './Meta.module.css'
import Date from './Date.astro' import Date from './Date.astro'

View File

@ -1,5 +1,5 @@
import { getAllPosts } from '@lib/astro' import { getAllPosts } from '@lib/astro'
import config from '@config/blog.config.ts' import config from '@config/blog.config'
import type { AstroConfig } from 'astro' import type { AstroConfig } from 'astro'
import { getFeedContent } from '@lib/feed' import { getFeedContent } from '@lib/feed'
import faviconSrc from '@images/favicon.png' import faviconSrc from '@images/favicon.png'

View File

@ -1,5 +1,5 @@
import rss from '@astrojs/rss' import rss from '@astrojs/rss'
import config from '@config/blog.config.ts' import config from '@config/blog.config'
import { getAllPosts } from '@lib/astro' import { getAllPosts } from '@lib/astro'
import { getFeedContent } from '@lib/feed' import { getFeedContent } from '@lib/feed'
import type { AstroConfig } from 'astro' import type { AstroConfig } from 'astro'

View File

@ -1,6 +1,6 @@
import type { APIRoute } from 'astro' import type { APIRoute } from 'astro'
import { getImage } from 'astro:assets' import { getImage } from 'astro:assets'
import config from '@config/blog.config.ts' import config from '@config/blog.config'
import favicon from '@images/favicon.png' import favicon from '@images/favicon.png'
const faviconPngSizes = [192, 512] const faviconPngSizes = [192, 512]

View File

@ -2,7 +2,7 @@
import BackButton from '@components/BackButton.astro' import BackButton from '@components/BackButton.astro'
import LayoutBase from '@layouts/Base/index.astro' import LayoutBase from '@layouts/Base/index.astro'
import Web3 from '@components/Donation/Web3' import Web3 from '@components/Donation/Web3'
import config from '@config/blog.config.ts' import config from '@config/blog.config'
import Coin from '@components/Donation/Coin.astro' import Coin from '@components/Donation/Coin.astro'
const coins = Object.entries(config.author).filter( const coins = Object.entries(config.author).filter(