From b37c051e8272ada8ef74706af3d0544fd6cb0a33 Mon Sep 17 00:00:00 2001 From: hendraaagil Date: Mon, 23 Aug 2021 22:06:48 +0700 Subject: [PATCH] fix(v2): some little stuffs --- components/about/Description.js | 2 +- next-seo.config.js | 7 ++++--- pages/_document.js | 2 +- pages/blog/[slug].js | 4 ++-- pages/index.js | 4 ++-- public/favicon/site.webmanifest | 4 ++-- 6 files changed, 12 insertions(+), 11 deletions(-) diff --git a/components/about/Description.js b/components/about/Description.js index 8ecf4ab..e252fdc 100644 --- a/components/about/Description.js +++ b/components/about/Description.js @@ -17,7 +17,7 @@ const Description = () => ( at 2021 as Software Engineering student. - 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. diff --git a/next-seo.config.js b/next-seo.config.js index bfe35a1..4d94fd9 100644 --- a/next-seo.config.js +++ b/next-seo.config.js @@ -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, @@ -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: [ { diff --git a/pages/_document.js b/pages/_document.js index 73e2ac0..01f9dc7 100644 --- a/pages/_document.js +++ b/pages/_document.js @@ -46,7 +46,7 @@ export default class MyDocument extends NextDocument { - +
diff --git a/pages/blog/[slug].js b/pages/blog/[slug].js index 386c047..eb7aa1e 100644 --- a/pages/blog/[slug].js +++ b/pages/blog/[slug].js @@ -57,10 +57,10 @@ const DetailBlog = ({ blog }) => { return ( <> - Hello, I'm Hendra Agil 👋 + Hi! I'm Hendra Agil 👋 - Student. {getAge()} years old. + Software Developer. {getAge()} years old. ); diff --git a/public/favicon/site.webmanifest b/public/favicon/site.webmanifest index 65fd7b4..cff4fc3 100644 --- a/public/favicon/site.webmanifest +++ b/public/favicon/site.webmanifest @@ -13,7 +13,7 @@ "type": "image/png" } ], - "theme_color": "#ffffff", - "background_color": "#ffffff", + "theme_color": "#2a61cc", + "background_color": "#eff4f6", "display": "standalone" }