Commit 64c13ae3 authored by Afzaal Ahmad Zeeshan's avatar Afzaal Ahmad Zeeshan 😴

Modified the HTML tags, etc.

parent 262f3fda
Pipeline #107306345 passed with stages
in 2 minutes and 58 seconds
---
title: "Received Award: CodeProject MVP 2020"
date: "2020-01-02T00:00:00.000Z"
description: "CodeProject community selects around 20 experts from a pool of more than 2 million experts as their MVP and I was selected for the 5th time in a row!"
author: "Afzaal Ahmad Zeeshan"
tags: [ "codeproject", "awards", "mvp", "2020" ]
published: false
---
It has been 5 years that I have been a CodeProject MVP! Celebration is a must.
---
title: "Software Developer's New Year Resolution: 2020"
description: "Since everybody is doing it, let me give it a try too! My new year resolutions based on my mistakes and wrong turns in 2019, 2018 and more years."
date: "2020-01-01T00:00:00.000Z"
author: "Afzaal Ahmad Zeeshan"
tags: [ "happy new year", "software developer" ]
......@@ -18,12 +19,24 @@ because of my laziness. I was also busy in a couple of important things; family-
## Learning
Over the previous year as well as 2018, I explored several languages, tools and sometimes
I went out of my field and studied some history, science and photography concepts.
I tried to post some of the work that I had done online on my community profiles
but as fate had it, I was a lot busy so it was not sure what I was doing. Most of
the communities and organizations (especially Microsoft) had to remove my from their
MVP Award lists due to lack of online activities.
## Family and friends
## Community and Open Source
## Games and Entertainment
I spent 2019 playing games and enjoying movies, songs and travelling across country
as well as outside Pakistan. I will add my travel experience about Qatar and Malaysia
in their own respective posts, but for the time being, let us just enlist the moments
that I enjoyed.
## New hobby still not found
I am still looking for a new hobby. I have tried:
......
......@@ -5,14 +5,14 @@ module.exports = {
description: `Personal website, blog and online apps listing for a software engineer.`,
siteUrl: `https://www.afzaalahmadzeeshan.com`,
social: {
twitter: `afzaalvirgoboy`,
twitter: `@afzaalvirgoboy`,
},
},
plugins: [
{
resolve: `gatsby-source-filesystem`,
options: {
path: `${__dirname}/content/blog`,
path: `${__dirname}/content/site`,
name: `blog`,
},
},
......@@ -81,5 +81,6 @@ module.exports = {
sitemapSize: 5000
}
},
`gatsby-plugin-remove-trailing-slashes`,
],
}
......@@ -7712,6 +7712,26 @@
"@babel/runtime": "^7.7.4"
}
},
"gatsby-plugin-remove-trailing-slashes": {
"version": "2.1.17",
"resolved": "https://registry.npmjs.org/gatsby-plugin-remove-trailing-slashes/-/gatsby-plugin-remove-trailing-slashes-2.1.17.tgz",
"integrity": "sha512-MtN4nxd1Zk6IzCbjrKp3eR1pqbUKSDP7SIyQ/Nf9PmCLrcPJzkzZqIiMevL+qVJsZdDJ5b9LBOEhs4ylz2X5CQ==",
"dev": true,
"requires": {
"@babel/runtime": "^7.7.6"
},
"dependencies": {
"@babel/runtime": {
"version": "7.7.7",
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.7.7.tgz",
"integrity": "sha512-uCnC2JEVAu8AKB5do1WRIsvrdJ0flYx/A/9f/6chdacnEZ7LmavjdsDXr5ksYBegxtuTPR5Va9/+13QF/kFkCA==",
"dev": true,
"requires": {
"regenerator-runtime": "^0.13.2"
}
}
}
},
"gatsby-plugin-sharp": {
"version": "2.3.5",
"resolved": "https://registry.npmjs.org/gatsby-plugin-sharp/-/gatsby-plugin-sharp-2.3.5.tgz",
......
......@@ -67,8 +67,8 @@ class Layout extends React.Component {
{` `}
<a href="https://www.gatsbyjs.org">Gatsby</a> and deployed on <a href="https://gitlab.com/afzaal-ahmad-zeeshan-dotcom/website">GitLab</a>.
{/* Global site tag (gtag.js) - Google Analytics */}
{/* <script async src="https://www.googletagmanager.com/gtag/js?id=UA-104546823-1"></script>
<script src="/scripts/google-analytics.js"></script> */}
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-104546823-1"></script>
<script src="/scripts/google-analytics.js"></script>
<link rel="stylesheet" href="/styles/site.css" />
<script data-ad-client="ca-pub-5344286604733504" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
</footer>
......
......@@ -19,6 +19,9 @@ function SEO({ description, lang, meta, title }) {
title
description
author
social {
twitter
}
}
}
}
......@@ -33,7 +36,7 @@ function SEO({ description, lang, meta, title }) {
lang,
}}
title={title}
titleTemplate={`%s | ${site.siteMetadata.title}`}
titleTemplate={`%s ${site.siteMetadata.title}`}
meta={[
{
name: `description`,
......@@ -57,7 +60,7 @@ function SEO({ description, lang, meta, title }) {
},
{
name: `twitter:creator`,
content: site.siteMetadata.author,
content: site.siteMetadata.social.twitter,
},
{
name: `twitter:title`,
......
import React from "react"
import { graphql } from "gatsby"
import { Link, graphql } from "gatsby"
import Layout from "../components/layout"
import SEO from "../components/seo"
class NotFoundPage extends React.Component {
render() {
const { data } = this.props
const siteTitle = data.site.siteMetadata.title
// const { data } = this.props
const siteTitle = this.props.data.site.siteMetadata.title
return (
<Layout location={this.props.location} title={siteTitle}>
<SEO title="404: Not Found" />
<h1>Not Found</h1>
<p>You just hit a route that doesn&#39;t exist... the sadness.</p>
<SEO title="Lost" />
<h1>Oops...</h1>
<p>This page doesn't exist, did you take a wrong turn somewhere? If the page is broken, I will fix it... Or add a new one as needed!</p>
<p>You may visit the <Link to="/">home page</Link>.</p>
</Layout>
)
}
......
import React from "react"
import PropTypes from "prop-types"
// import PropTypes from "prop-types"
import { GoHome } from 'react-icons/go'
// Components
......@@ -41,28 +41,29 @@ const TagComponent = ({ pageContext, data }) => {
)
}
TagComponent.propTypes = {
pageContext: PropTypes.shape({
tag: PropTypes.string.isRequired,
}),
data: PropTypes.shape({
allMarkdownRemark: PropTypes.shape({
totalCount: PropTypes.number.isRequired,
edges: PropTypes.arrayOf(
PropTypes.shape({
node: PropTypes.shape({
frontmatter: PropTypes.shape({
title: PropTypes.string.isRequired,
}),
fields: PropTypes.shape({
slug: PropTypes.string.isRequired,
}),
}),
}).isRequired
),
}),
}),
}
// Prop verification, not necessary right now.
// TagComponent.propTypes = {
// pageContext: PropTypes.shape({
// tag: PropTypes.string.isRequired,
// }),
// data: PropTypes.shape({
// allMarkdownRemark: PropTypes.shape({
// totalCount: PropTypes.number.isRequired,
// edges: PropTypes.arrayOf(
// PropTypes.shape({
// node: PropTypes.shape({
// frontmatter: PropTypes.shape({
// title: PropTypes.string.isRequired,
// }),
// fields: PropTypes.shape({
// slug: PropTypes.string.isRequired,
// }),
// }),
// }).isRequired
// ),
// }),
// }),
// }
export default TagComponent
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment