mirror of
https://github.com/kremalicious/blog.git
synced 2024-11-22 01:46:51 +01:00
remove twitter
This commit is contained in:
parent
a9f5ea925d
commit
16b2b0cdf8
@ -6,7 +6,6 @@ export default {
|
||||
name: 'Matthias Kretschmann',
|
||||
email: 'm@kretschmann.io',
|
||||
url: 'https://matthiaskretschmann.com',
|
||||
twitter: 'https://twitter.com/kremalicious',
|
||||
mastodon: 'https://mas.to/@krema',
|
||||
github: 'https://github.com/kremalicious',
|
||||
bitcoin: '171qDmKEXm9YBgBLXyGjjPvopP5o9htQ1V',
|
||||
|
@ -1,5 +1,5 @@
|
||||
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 { WagmiConfig } from 'wagmi'
|
||||
import { wagmiConfig, chains, theme } from '@lib/rainbowkit'
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
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 = {
|
||||
links: string[]
|
||||
@ -15,8 +15,6 @@ const { links } = Astro.props
|
||||
<a class={styles.link} href={link} title={link} rel="me">
|
||||
{link.includes('mas.to') ? (
|
||||
<Mastodon />
|
||||
) : link.includes('twitter') ? (
|
||||
<Twitter />
|
||||
) : link.includes('github') ? (
|
||||
<Github />
|
||||
) : link.includes('feed.xml') ? (
|
||||
|
@ -2,12 +2,12 @@
|
||||
import { Image } from 'astro:assets'
|
||||
import Networks from './Networks.astro'
|
||||
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'
|
||||
|
||||
const { author, rss, jsonfeed } = config
|
||||
const { mastodon, twitter, github, name, url } = author
|
||||
const links = [mastodon, github, twitter, rss, jsonfeed]
|
||||
const { mastodon, github, name, url } = author
|
||||
const links = [mastodon, github, rss, jsonfeed]
|
||||
---
|
||||
|
||||
<Image
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
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'
|
||||
|
||||
const { menu } = config
|
||||
|
@ -1,7 +1,7 @@
|
||||
---
|
||||
import { getImage } from 'astro:assets'
|
||||
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 faviconSrc from '@images/favicon.png'
|
||||
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:url" content={canonicalURL} />
|
||||
<meta name="twitter:card" content="summary_large_image" />
|
||||
<meta name="twitter:creator" content={config.author.twitter} />
|
||||
|
||||
<meta name="theme-color" content="" />
|
||||
<meta name="msapplication-TileColor" content="" />
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
import config from '@config/blog.config.ts'
|
||||
import config from '@config/blog.config'
|
||||
|
||||
export type Props = {
|
||||
title: string
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
import config from '@config/blog.config.ts'
|
||||
import config from '@config/blog.config'
|
||||
import styles from './Actions.module.css'
|
||||
import Action from './Action.astro'
|
||||
import { Mastodon, Bitcoin, Github } from '@images/components'
|
||||
|
@ -1,7 +1,7 @@
|
||||
---
|
||||
import type { CollectionEntry } from 'astro:content'
|
||||
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 styles from './Meta.module.css'
|
||||
import Date from './Date.astro'
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { getAllPosts } from '@lib/astro'
|
||||
import config from '@config/blog.config.ts'
|
||||
import config from '@config/blog.config'
|
||||
import type { AstroConfig } from 'astro'
|
||||
import { getFeedContent } from '@lib/feed'
|
||||
import faviconSrc from '@images/favicon.png'
|
||||
|
@ -1,5 +1,5 @@
|
||||
import rss from '@astrojs/rss'
|
||||
import config from '@config/blog.config.ts'
|
||||
import config from '@config/blog.config'
|
||||
import { getAllPosts } from '@lib/astro'
|
||||
import { getFeedContent } from '@lib/feed'
|
||||
import type { AstroConfig } from 'astro'
|
||||
|
@ -1,6 +1,6 @@
|
||||
import type { APIRoute } from 'astro'
|
||||
import { getImage } from 'astro:assets'
|
||||
import config from '@config/blog.config.ts'
|
||||
import config from '@config/blog.config'
|
||||
import favicon from '@images/favicon.png'
|
||||
|
||||
const faviconPngSizes = [192, 512]
|
||||
|
@ -2,7 +2,7 @@
|
||||
import BackButton from '@components/BackButton.astro'
|
||||
import LayoutBase from '@layouts/Base/index.astro'
|
||||
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'
|
||||
|
||||
const coins = Object.entries(config.author).filter(
|
||||
|
Loading…
Reference in New Issue
Block a user