diff --git a/AstroPaper-lighthouse-score.svg b/AstroPaper-lighthouse-score.svg index db86b3d5a2..31b50c40ab 100644 --- a/AstroPaper-lighthouse-score.svg +++ b/AstroPaper-lighthouse-score.svg @@ -13,61 +13,61 @@ animation: load-gauge 1s ease forwards } - .guage-text { + .gauge-text { font-size: 40px; font-family: monospace; text-align: center } - .guage-red { + .gauge-red { color: #ff4e42; fill: #ff4e42; stroke: #ff4e42 } - .guage-orange { + .gauge-orange { color: #ffa400; fill: #ffa400; stroke: #ffa400 } - .guage-green { + .gauge-green { color: #0cce6b; fill: #0cce6b; stroke: #0cce6b } - .theme--agnostic .guage-undefined { + .theme--agnostic .gauge-undefined { color: #5c5c5c; fill: #5c5c5c; stroke: #5c5c5c } - .theme--light .guage-undefined { + .theme--light .gauge-undefined { color: #1e1e1e; fill: #1e1e1e; stroke: #1e1e1e } - .theme--dark .guage-undefined { + .theme--dark .gauge-undefined { color: #f5f5f5; fill: #f5f5f5; stroke: #f5f5f5 } - .guage-title { + .gauge-title { stroke: none; font-size: 26px; line-height: 26px; font-family: Roboto, Halvetica, Arial, sans-serif } - .metric.guage-title { + .metric.gauge-title { font-family: 'Courier New', Courier, monospace } - .theme--agnostic .guage-title { + .theme--agnostic .gauge-title { color: #737373; fill: #737373 } - .theme--light .guage-title { + .theme--light .gauge-title { color: #212121; fill: #212121 } - .theme--dark .guage-title { + .theme--dark .gauge-title { color: #f5f5f5; fill: #f5f5f5 } @@ -90,7 +90,7 @@ .lh-gauge--pwa__visible { display: inline } - .guage-invisible { + .gauge-invisible { display: none } .lh-gauge--pwa__logo--primary-color { @@ -118,26 +118,26 @@ stroke: #f5f5f566 } - + - - 100 - Performance - , + + 100 + Performance + , - - 100 - Accessibility - , + + 100 + Accessibility + , - - 100 - Best Practices - , + + 100 + Best Practices + , - - 100 - SEO + + 100 + SEO @@ -151,9 +151,9 @@ - 0-49 - 50-89 - 90-100 + 0-49 + 50-89 + 90-100 \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index fa2f978ef5..dbf4148c16 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -317,7 +317,7 @@ All notable changes to this project will be documented in this file. See [standa * [#133](https://github.com/satnaing/astro-paper/issues/133) update LOCALE config to cover overall locales ([cd02b04](https://github.com/satnaing/astro-paper/commit/cd02b047d2b5e3b4a2940c0ff30568cdebcec0b8)) * [#72](https://github.com/satnaing/astro-paper/issues/72) replace SITE.website with a URL in astro.config site value ([26ecd17](https://github.com/satnaing/astro-paper/commit/26ecd173ddec1075abb6ede9bbb62572b9f74b33)) -* anchor oveflow on small screen size ([d025c91](https://github.com/satnaing/astro-paper/commit/d025c914d91a9b7969c8db4bd6a700723ef86a39)) +* anchor overflow on small screen size ([d025c91](https://github.com/satnaing/astro-paper/commit/d025c914d91a9b7969c8db4bd6a700723ef86a39)) * **css:** text wrap in code blocks ([0c92492](https://github.com/satnaing/astro-paper/commit/0c92492959bed20f144d5d949116891d61c8e098)) * decode unicode tag chars in breadcrumb ([#175](https://github.com/satnaing/astro-paper/issues/175)) ([058c790](https://github.com/satnaing/astro-paper/commit/058c790d26cbeab286679a8a8e3bad6c14042d6d)) * get og image url correctly ([7f3edbd](https://github.com/satnaing/astro-paper/commit/7f3edbdecdce597d15e562e7d497d69af505d550)) diff --git a/src/constants.ts b/src/constants.ts index 27800deafa..a9004cdc31 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -18,9 +18,9 @@ interface Social { export const SOCIALS: Social[] = [ { - name: "Github", + name: "GitHub", href: "https://github.com/satnaing/astro-paper", - linkTitle: `${SITE.title} on Github`, + linkTitle: `${SITE.title} on GitHub`, icon: IconGitHub, }, { diff --git a/src/data/blog/examples/portfolio-website-development.md b/src/data/blog/examples/portfolio-website-development.md index cca7aec69a..4cd97b5709 100644 --- a/src/data/blog/examples/portfolio-website-development.md +++ b/src/data/blog/examples/portfolio-website-development.md @@ -28,7 +28,7 @@ I've been always thinking about launching my own website with my custom domain n So, "what about blog?" you may ask. Yeah, blog also has been in my project list for some time. I always wanted to make a blog project using some of the latest technologies. However, I've been busy with my works and other projects so that blog project has never been started. -In these days, I tend to develop my own projects with the focus in good quality rather than quantity. After the project is done, I usually put a proper readme file in the Github repo. But Github repo readme is only suitable for technical aspects (this is just my thought). I want to write down my experiences and challenges. Thus, I decided to make my own blog. Plus, at this point, I have decent experiences and confidence to develop this project. +In these days, I tend to develop my own projects with the focus in good quality rather than quantity. After the project is done, I usually put a proper readme file in the GitHub repo. But GitHub repo readme is only suitable for technical aspects (this is just my thought). I want to write down my experiences and challenges. Thus, I decided to make my own blog. Plus, at this point, I have decent experiences and confidence to develop this project. ## Tech Stack diff --git a/src/data/blog/how-to-configure-astropaper-theme.md b/src/data/blog/how-to-configure-astropaper-theme.md index eafff33efc..2b532b7346 100644 --- a/src/data/blog/how-to-configure-astropaper-theme.md +++ b/src/data/blog/how-to-configure-astropaper-theme.md @@ -163,9 +163,9 @@ You can configure social links in `SOCIALS` object inside `constants.ts`. ```ts file=src/constants.ts export const SOCIALS = [ { - name: "Github", + name: "GitHub", href: "https://github.com/satnaing/astro-paper", - linkTitle: ` ${SITE.title} on Github`, + linkTitle: ` ${SITE.title} on GitHub`, icon: IconGitHub, }, { diff --git a/src/data/blog/how-to-integrate-giscus-comments.md b/src/data/blog/how-to-integrate-giscus-comments.md index 4dd26c3d4c..b998ab5086 100644 --- a/src/data/blog/how-to-integrate-giscus-comments.md +++ b/src/data/blog/how-to-integrate-giscus-comments.md @@ -29,9 +29,9 @@ The approach is serverless, as the comments are stored on _GitHub_ and dynamical _Giscus_ can be set up easily on [giscus.app](https://giscus.app/), but I will outline the process shortly still. -### Prequisites +### Prerequisites -Prequisites to get _Giscus_ working are +Prerequisites to get _Giscus_ working are - the repository is [public](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/setting-repository-visibility#making-a-repository-public) - the [Giscus app](https://github.com/apps/giscus) is installed diff --git a/src/data/blog/how-to-update-dependencies.md b/src/data/blog/how-to-update-dependencies.md index 1673a6b221..8f3d70b25b 100644 --- a/src/data/blog/how-to-update-dependencies.md +++ b/src/data/blog/how-to-update-dependencies.md @@ -65,7 +65,7 @@ In most cases, the files and directories you might not want to override (as you' If you’re someone who only updates the bare minimum of the template, it should be okay to replace everything with the latest AstroPaper except the above files and directories. It’s like pure Android OS and other vendor-specific OSes like OneUI. The less you modify the base, the less you have to update. -You can manually replace every file one by one, or you can use the magic of git to update everything. I won’t show you the manual replacement process since it is very straightforward. If you’re not interested in that straightfoward and inefficient method, bear with me 🐻. +You can manually replace every file one by one, or you can use the magic of git to update everything. I won’t show you the manual replacement process since it is very straightforward. If you’re not interested in that straightforward and inefficient method, bear with me 🐻. ### Updating AstroPaper using Git diff --git a/src/data/blog/setting-dates-via-git-hooks.md b/src/data/blog/setting-dates-via-git-hooks.md index ab9e85456b..ad00b16710 100644 --- a/src/data/blog/setting-dates-via-git-hooks.md +++ b/src/data/blog/setting-dates-via-git-hooks.md @@ -85,7 +85,7 @@ This could be added to only look for files that we markdown files in the `blog` The regex will capture the two parts, the letter and the file path. We are going to pipe this list into a while loop to iterate over the matching lines and assign the letter to `a` and the path to `b`. We are going to ignore `a` for now. -To know the draft staus of the file, we need its frontmatter. In the following code we are using `cat` to get the content of the file, then using `awk` to split the file on the frontmatter separator (`---`) and taking the second block (the fonmtmatter, the bit between the `---`). From here we are using `awk` again to find the draft key and print is value. +To know the draft status of the file, we need its frontmatter. In the following code we are using `cat` to get the content of the file, then using `awk` to split the file on the frontmatter separator (`---`) and taking the second block (the fonmtmatter, the bit between the `---`). From here we are using `awk` again to find the draft key and print is value. ```shell filecontent=$(cat "$file")