Skip to content

Commit

Permalink
remove twitter
Browse files Browse the repository at this point in the history
  • Loading branch information
kremalicious committed Sep 19, 2023
1 parent a9f5ea9 commit 16b2b0c
Show file tree
Hide file tree
Showing 13 changed files with 14 additions and 18 deletions.
1 change: 0 additions & 1 deletion .config/blog.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ export default {
name: 'Matthias Kretschmann',
email: '[email protected]',
url: 'https://matthiaskretschmann.com',
twitter: 'https://twitter.com/kremalicious',
mastodon: 'https://mas.to/@krema',
github: 'https://github.com/kremalicious',
bitcoin: '171qDmKEXm9YBgBLXyGjjPvopP5o9htQ1V',
Expand Down
2 changes: 1 addition & 1 deletion src/components/Donation/Web3.tsx
Original file line number Diff line number Diff line change
@@ -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'
Expand Down
4 changes: 1 addition & 3 deletions src/components/Footer/Networks.astro
Original file line number Diff line number Diff line change
@@ -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[]
Expand All @@ -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') ? (
Expand Down
6 changes: 3 additions & 3 deletions src/components/Footer/Vcard.astro
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/components/Menu/index.astro
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 1 addition & 2 deletions src/components/layouts/Base/Head.astro
Original file line number Diff line number Diff line change
@@ -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'
Expand Down Expand Up @@ -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="" />
Expand Down
2 changes: 1 addition & 1 deletion src/components/layouts/Base/SchemaOrg.astro
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
import config from '@config/blog.config.ts'
import config from '@config/blog.config'
export type Props = {
title: string
Expand Down
2 changes: 1 addition & 1 deletion src/components/layouts/Post/Actions.astro
Original file line number Diff line number Diff line change
@@ -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'
Expand Down
2 changes: 1 addition & 1 deletion src/components/layouts/Post/Meta.astro
Original file line number Diff line number Diff line change
@@ -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'
Expand Down
2 changes: 1 addition & 1 deletion src/pages/feed.json.ts
Original file line number Diff line number Diff line change
@@ -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'
Expand Down
2 changes: 1 addition & 1 deletion src/pages/feed.xml.ts
Original file line number Diff line number Diff line change
@@ -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'
Expand Down
2 changes: 1 addition & 1 deletion src/pages/manifest.json.ts
Original file line number Diff line number Diff line change
@@ -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]
Expand Down
2 changes: 1 addition & 1 deletion src/pages/thanks.astro
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

1 comment on commit 16b2b0c

@vercel
Copy link

@vercel vercel bot commented on 16b2b0c Sep 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

blog – ./

blog-kremalicious.vercel.app
kremalicious.vercel.app
blog-git-main-kremalicious.vercel.app

Please sign in to comment.