commit 395defc5a4901cdf4296e43c319347a6e2ea5492
parent 01b9990a3032f63ee98fcc6786a5f2c6d2eac511
Author: Agastya Chandrakant <me@hanabi.in>
Date: Thu, 19 Dec 2019 12:54:41 +0530
Rmv twitter links from config, footer, index and blogPost
Diffstat:
4 files changed, 18 insertions(+), 10 deletions(-)
diff --git a/gatsby-config.js b/gatsby-config.js
@@ -1,12 +1,12 @@
module.exports = {
siteMetadata: {
- author: `@SanaHabeeb4`,
- description: `Hi, I am Sanā!`,
+ author: `Sana`,
+ description: `Welcome to my website!`,
headerImg: `https://images.unsplash.com/photo-1536633125620-8a3245c11ffa`,
- name: `Sanā Habeeb`,
- photo: `https://pbs.twimg.com/profile_images/1116312044951744512/z9hsCRB7_400x400.jpg`,
+ name: `Sana`,
+ photo: `https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRQMmVLtfjxqwhKZ7MR9I8SIn9s3LsN7l9z7vuIfjzYt97fN3B7&s`,
siteUrl: `https://sana137.in`,
- title: `Sana’s stories`,
+ title: `Sanah's stories`,
homeName: `サナ`,
},
plugins: [
diff --git a/src/components/footer.js b/src/components/footer.js
@@ -8,8 +8,8 @@ const Footer = ({ author, name, style }) => (
<footer className={'site-footer outer'} style={{ ...style }}>
<div className={'site-footer-content inner'}>
<section className={'copyright'}>
- <a href={`https://www.twitter.com/${author}`}>{name}</a> ©{' '}
- {new Date().getFullYear()}
+ {/* <a href={`https://www.twitter.com/${author}`}>{name}</a> ©{' '} */}
+ {name} © {new Date().getFullYear()}
</section>
<nav className={'site-footer-nav'}>
<Link to="/">Latest Posts</Link>
diff --git a/src/pages/index.js b/src/pages/index.js
@@ -83,7 +83,7 @@ export default function IndexPage(props) {
<ul className={'author-list'}>
<li className={'author-list-item'}>
<div className={'author-name-tooltip'}>{name}</div>
- <a
+ {/* <a
href={`https://www.twitter.com/${twitterHandle}`}
className={'static-avatar'}
>
@@ -92,6 +92,13 @@ export default function IndexPage(props) {
className={'avatar-wrapper'}
alt={name}
/>
+ </a> */}
+ <a className={'static-avatar'}>
+ <img
+ src={photo}
+ className={'avatar-wrapper'}
+ alt={name}
+ />
</a>
</li>
</ul>
diff --git a/src/templates/blogPost.js b/src/templates/blogPost.js
@@ -78,12 +78,13 @@ function BlogPostTemplate({ data, pageContext }) {
</section>
<footer className={'post-full-footer'}>
<section className={'author-card'}>
- <a
+ {/* <a
href={`https://www.twitter.com/${twitterHandle}`}
className={'author-profile-image'}
>
<img src={photo} className={'avatar-wrapper'} alt={name} />
- </a>
+ </a> */}
+ <img src={photo} className={'avatar-wrapper'} alt={name} />
<AuthorCardContent name={name} description={description} />
</section>
<ReadMore />