Skip to content

Commit

Permalink
fix(v2): some little stuffs
Browse files Browse the repository at this point in the history
  • Loading branch information
hendraaagil committed Aug 23, 2021
1 parent a0e8419 commit b37c051
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion components/about/Description.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const Description = () => (
at 2021 as Software Engineering student.
</Text>
<Text py={2}>
I started learn about web development since 2020 with PHP language. But
I started learn about web development since 2019 with PHP language. But
for now I spend more time to explore about frontend development especially
using JavaScript and React.
</Text>
Expand Down
7 changes: 4 additions & 3 deletions next-seo.config.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
import getAge from './lib/age';

const title = 'Hendra Agil';
const description = `Hello, my name is Hendra Agil Syaputra. Usually called Hendra / Agil. I'm currently ${getAge()} years old. Born and live in Karanganyar, Central Java, Indonesia.`;
const description = `Hi, my name is Hendra Agil Syaputra. Usually called Hendra / Agil. I'm currently ${getAge()} years old. Born and live in Karanganyar, Central Java, Indonesia.`;
const siteUrl = 'https://hendraaagil.space';

const SEO = {
titleTemplate: `${title} ▸ %s`,
titleTemplate: `%s | ${title}`,
defaultTitle: title,
description,
canonical: siteUrl,
openGraph: {
type: 'website',
site_name: title,
url: siteUrl,
title,
description,
Expand Down Expand Up @@ -38,7 +39,7 @@ const SEO = {
},
{ name: 'msapplication-TileColor', content: '#da532c' },
{ name: 'msapplication-config', content: '/favicon/browserconfig.xml' },
{ name: 'theme-color', content: '#ffffff' },
{ name: 'theme-color', content: '#2a61cc' },
],
additionalLinkTags: [
{
Expand Down
2 changes: 1 addition & 1 deletion pages/_document.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export default class MyDocument extends NextDocument {
</Head>

<body>
<ColorModeScript initialColorMode="light" />
<ColorModeScript initialColorMode="dark" />
<Main />
<NextScript />
</body>
Expand Down
4 changes: 2 additions & 2 deletions pages/blog/[slug].js
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ const DetailBlog = ({ blog }) => {
return (
<>
<NextSeo
title={`Blog ▸ ${title}`}
title={title}
canonical={url}
openGraph={{
title: `Blog ▸ ${title}`,
title,
description: summary,
url,
type: 'article',
Expand Down
4 changes: 2 additions & 2 deletions pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ export default function Home() {
return (
<PageContainer pb="72px" textAlign="center">
<Heading as="h1" mb={4}>
Hello, I&apos;m Hendra Agil 👋
Hi! I&apos;m Hendra Agil 👋
</Heading>
<Text fontSize="2xl" fontWeight="600">
Student. {getAge()} years old.
Software Developer. {getAge()} years old.
</Text>
</PageContainer>
);
Expand Down
4 changes: 2 additions & 2 deletions public/favicon/site.webmanifest
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"type": "image/png"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"theme_color": "#2a61cc",
"background_color": "#eff4f6",
"display": "standalone"
}

0 comments on commit b37c051

Please sign in to comment.