Skip to content

Commit c2809b0

Browse files
authored
Merge pull request #42 from codeanitdotcom/wrong_image-bug41
Wrong image bug41
2 parents 32c8326 + 9a9b057 commit c2809b0

File tree

7 files changed

+8
-16
lines changed

7 files changed

+8
-16
lines changed

content/kubernetes-components-part_3.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22

33
title: Kubernetes Components
4-
subtitle: A at the building blocks in simple terms for quick understanding
4+
subtitle: A quick look at the building blocks in simple terms for quick understanding
55
date: '2020-07-12'
66
categories: ['kubernetes', 'devops', 'basics']
77
keywords: ['kubernetes', 'devops', 'basics', 'series', 'part_3', 'components']

gatsby-config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ module.exports = {
2121
'Technical Articles',
2222
'Programming Blog',
2323
],
24-
title: "Anit Shrestha Manandhar | Software Development Service | Blog",
24+
title: "Blog By Anit Shrestha Manandhar",
2525
titleAlt: 'codeanit.com',
2626
description:
2727
"Anit is a hands-on code experienced software engineer who blogs and provides software development service.",
@@ -76,8 +76,8 @@ module.exports = {
7676
{
7777
resolve: `gatsby-plugin-manifest`,
7878
options: {
79-
name: `Technical Blog by Anit Shrestha Manandhar.`,
80-
short_name: `blog by codeanit`,
79+
name: `Blog By Anit Shrestha Manandhar.`,
80+
short_name: `Blog By Anit`,
8181
start_url: `/`,
8282
background_color: `#ffffff`,
8383
theme_color: `#ffffff`,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "codeanit.com",
33
"author": "Anit Shrestha Manandhar @codeanit <[email protected]>",
4-
"description": "Anit Shrestha Manandhar | Software Development Service | Blog",
4+
"description": "Blog By Anit",
55
"version": "0.5.0",
66
"private": true,
77
"scripts": {

src/components/Printer/index.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108,17 +108,13 @@ const TitleWrapper = styled('div')`
108108
width: 800px;
109109
110110
h1 {
111-
min-height: 60px;
112-
max-height: 60px;
113111
font-weight: 600;
114112
font-size: 42px;
115-
line-height: 3px;
116113
}
117114
118115
h2 {
119116
font-weight: bold;
120117
font-size: 30px;
121-
line-height: 15px;
122118
}
123119
124120
p {
@@ -135,8 +131,8 @@ const PrinterComponent = ( ogData ) => (
135131
<Matrix/>
136132
<TitleWrapper>
137133
<Logo height='150' width='150' />
138-
<h2>{ ogData.subtitle }</h2>
139134
<h1>{ ogData.title }</h1>
135+
<h2>{ ogData.subtitle }</h2>
140136
<p>Blog by Anit Shrestha Manandhar</p>
141137
<p>codeanit.com/blog/{ogData.slug}</p>
142138
</TitleWrapper>

src/pages/about.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,8 @@ const AboutPage = () => {
1515
return (
1616
<MainBlock>
1717
<Seo />
18+
<br/>
1819
<Box>
19-
<br/>
20-
<br/>
2120
<Heading fontSize={57} mb={3}>About Me</Heading>
2221
<p>I am Anit Shrestha Manandhar from Kathmandu, Nepal. I have completed my Bachelor's in Information Management from Tribhuvan University in 2009. I have completed a certification course Diploma in Information Technology from NIIT in 2003-2004.</p>
2322
<p>I have been working professionally as software engineer since 2007. I have worked mostly as an object oriented backend developer. I can code proficiently in Java, C#, PHP and JavaScript and I am improving my skills in Golang and TypeScript. Although I can work with frontend frameworks like React and Angular, I do not prefer to use the “Full Stack” tag. “Frontend” and “Backend” are two different worlds which would not mix easily and are difficult to live in at the same time. I strongly believe in the “DevOps” philosophy to automate the end to end processes by removing any bottlenecks in the discovery, design, development and delivery processes that require years of experience and expertise.</p>

src/pages/index.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,6 @@ const IndexPage = ({ data, location }: Props) => {
7575
<MainBlock>
7676
<Seo />
7777
<br/>
78-
<br/>
79-
<br/>
8078
<Heading fontSize={33} mb={6}>Hello, World!</Heading>
8179
<Heading fontSize={57} mb={6}>
8280
<Link style={{ textDecoration: `none`, color: theme.dark ? `white` : `black`}} to={`/about`}>I am Anit Shrestha Manandhar.</Link>

src/templates/Blog.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const Blog: React.FC<BlogProps> = (props) => {
5353
const { site } = layoutProps;
5454
const progressBarTarget = React.createRef<HTMLDivElement>();
5555
const parsedDate = new Date(Date.parse(date));
56-
const SeoBanner = `/opengraph-images/${slugify(title)}.png`;
56+
const SeoBanner = `/opengraph-images/${slug}.png`;
5757

5858
return (
5959
<article className="h-entry">
@@ -66,7 +66,6 @@ const Blog: React.FC<BlogProps> = (props) => {
6666
date={date}
6767
/>
6868
<br/>
69-
<br/>
7069
<Hero id="top">
7170
<Heading fontSize={50} mb={1}>{title}</Heading>
7271
{subtitle ? <Heading fontSize={21} mb={2}>{subtitle}</Heading> : null}

0 commit comments

Comments
 (0)