Skip to content

Commit

Permalink
🔍 Update SEO contents
Browse files Browse the repository at this point in the history
  • Loading branch information
iqfareez committed Jan 7, 2024
1 parent 0897a1d commit 4e9a814
Show file tree
Hide file tree
Showing 12 changed files with 33 additions and 15 deletions.
Binary file added app/[locale]/changelog/opengraph-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 8 additions & 12 deletions app/[locale]/changelog/page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import ChangelogHeader from '@/components/changelog-header'

Due to the [Jan 1 Incident](https://github.com/mptwaktusolat/app_waktu_solat_malaysia/issues/216) issue, some changes are made to improve stability of the app.


- Fix **Homescreen widget** error view that never triggered.
- Skip storing cache if the API response can't be parsed by the equivalent model
- Change the **cache key** for API response, because some users still have the error
Expand All @@ -19,7 +18,6 @@ Other house chores:
- Update dependencies
- Update website, link & references


<ChangelogHeader
version="2.11.0"
date="27 December 2023"
Expand Down Expand Up @@ -63,7 +61,6 @@ Other house chores:
- [DEV]
- Fix lints rule


<ChangelogHeader
version="2.9.2"
date="27 August 2023"
Expand All @@ -78,7 +75,6 @@ Other house chores:
- [DEV]
- Code cleaning and refactoring


<ChangelogHeader
version="2.9.1"
date="27 August 2023"
Expand All @@ -102,7 +98,6 @@ Other house chores:
githubSlug="2.9.0+132"
/>


- Using the latest API update from [mpt-server](https://mpt-server.vercel.app/)
- Prayer time API now using [solat-v2](https://waktusolat.iqfareez.com/api#tag/solat-v2) endpoint
- **Improved accuracy** when detecting one's prayer zone - now using pre-defined zone definition instead of just calculating the nearest point of the prayer time zone to the user location. For more details, please see issue [#188](https://github.com/mptwaktusolat/app_waktu_solat_malaysia/issues/188)
Expand All @@ -123,7 +118,6 @@ Other house chores:

- :card_file_box: Update **JAKIM location** database (Comes with zone changes and addition especially for Sarawak, etc.) [011cb86](https://github.com/mptwaktusolat/app_waktu_solat_malaysia/commit/011cb864596a8a231d7f00ce24261b714feae712)


<ChangelogHeader
version="2.8.2"
date="13 Jun 2023"
Expand Down Expand Up @@ -158,7 +152,6 @@ Other house chores:
githubSlug="`2.8.0+126"
/>


- :art: Revamped design to **Material You** (or Material 3). Feel more rounded corners, improved designs and clean UIs.
- :art: The app themes now matched the phone's theme colours (usually derived from the wallpaper) for supported phones only.
- :man_with_probing_cane: Increase **default text size** for prayer time text to `16`.
Expand Down Expand Up @@ -380,7 +373,6 @@ Other house chores:

<ChangelogHeader version="2.3.5" date="5 March 2022" githubSlug="2.3.5+93" />


- :bug: Fixed notification failed to schedule. This is due to slight api changes that failed the date parser to convert the date correctly. [#103](../issues/103)
- :sparkles: New **Tasbih**. It features a simple beads and a counter. Can be accessed via the pray icon at the navigation bar. [#103](../issues/37) _#RoadToRamadan_
- :speech_balloon: Minor tweak in the date format on the homepage. [Screenshot](https://imgur.com/a/NKIGIpB)
Expand Down Expand Up @@ -411,7 +403,6 @@ Other house chores:

<ChangelogHeader version="2.3.0" date="27 January 2022" githubSlug="2.3.0+89" />


- Added **Bahasa Melayu** to the app! :tada:
- For for time installation, user will be **prompted to choose** their preferred language. _Default to their device locale (en/ms)_
- For others, language can be changed in **Setting** page.
Expand Down Expand Up @@ -637,7 +628,6 @@ Other house chores:

<ChangelogHeader version="1.15.94" date="28 September 2021" githubSlug="1.15.93+46" />


- Introduced **Share to WhatsApp** option. The texts will be formatted beautifully (**bold**, _italic_ etc.) Default setting can be changed in Setting page. So, there are three options of sharing now. **1- Ask, 2- Plain Text, 3-WhatsApp**.
- **Adjustable prayer time text** sizes. Defaulted to size **14**. Minimum is **12** and can go up to **22**. Issue [#8](../issues/8).
- Add `http://` to links so other apps _(e.g.: WhatsApp/Telegram)_ can generate a link preview.
Expand All @@ -652,17 +642,18 @@ Other house chores:
- Others (may) not documented.

## [Ver `1.13.91-hotfix2`](../releases/tag/1.13.91-hotfix2%2B43) - 19 February 2021
<ChangelogHeader version="1.13.91-hotfix2" date="19 February 2021" githubSlug="1.13.91-hotfix2+43" />

- Custom fork [hijri](https://github.com/iqfareez/hijri_date) packages to make it more Malaysian friendly ([Huh?](../releases/tag/1.13.91-hotfix2%2B43#:~:text=so%20that%20tak%20guna%20sgt%20istilah%20mcm%20arabic%20tu)). Thanks to Aqil Mohd for the idea.
- Reverted to the **good old** [**mpti906**](https://mpt.i906.my/api/prayer/sgr-1) API (yes again hahaha), no longer use [JAKIM](https://www.e-solat.gov.my/index.php?r=esolatApi/takwimsolat&period=month&zone=SGR01) API because very often downtime and affected the user experience. Thanks to Aqil Mohd again.
- Notification threshold until rescheduled reduced to **two days** (Previously three days).

## [Ver `1.13.89-hotfix`](../releases/tag/1.13.89-hotfix%2B42) - 19 February 2021
<ChangelogHeader version="1.13.89-hotfix" date="19 February 2021" githubSlug="1.13.89-hotfix+42" />

- Fixed **time conversion** conflict when converting 12:00 to epoch, and later affected UI view. It supposed to be converted to 12pm but it was converted to 12am (hshshhs :joy:). Closes [#49](../issues/49). Thanks to [butitik](https://github.com/butitik).
- Change notification **naming convention** to Malay to make it consistent with the UI, however channel name not (yet) effected. Related to [#45](../issues/45). Thanks to Aqil Mohd.

## [Ver `1.13.87`](../releases/tag/1.13.87%2B41) - 17 February 2021
<ChangelogHeader version="1.13.87" date="17 February 2021" githubSlug="1.13.87+41" />

- Added [geocoding](https://pub.dev/packages/geocoding).
- Prayer time zone is now **detected in app**. This should fix the issue [#28](../issues/28) where some location is wrongly detected.
Expand Down Expand Up @@ -839,4 +830,9 @@ export default function MDXPage({ children }) {
title: "Changelogs",
}} >{children}</MdxLayout>;

}

export const metadata = {
title: 'Changelog',
description: 'List of releases',
}
Binary file added app/[locale]/changelog/twitter-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 11 additions & 2 deletions app/[locale]/layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,17 @@ import { dir } from 'i18next';
const poppins = Poppins({ subsets: ["latin"], weight: "400", display: "swap" });

export const metadata = {
title: 'Malaysia Prayer Time Site',
description: 'Download the app from Google Play Store',
title: {
template: '%s | App Waktu Solat Malaysia | Malaysia Prayer Time App',
default: 'App Waktu Solat Malaysia | Malaysia Prayer Time App',
},
description: 'An essential apps for Muslim in Malaysia. Help you determine the latest prayer times, find qibla and more. Download now from Google Play Store',
alternates: {
canonical: 'https://waktusolat.app',
languages: {
'en-US': 'https://waktusolat.app/en',
},
},
}

export function generateStaticParams() {
Expand Down
Binary file added app/[locale]/opengraph-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/[locale]/privacy-policy/opengraph-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions app/[locale]/privacy-policy/page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,7 @@ export default function MDXPage({ children}) {
return <MdxLayout
meta={{ title: "Privacy Policy" }}>{children}</MdxLayout>;
}

export const metadata = {
title: 'Privacy Policy',
}
Binary file added app/[locale]/privacy-policy/twitter-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions app/[locale]/terms-and-conditions/page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,8 @@ export default function MDXPage({ children }) {
}}
>{children}</MdxLayout>;

}

export const metadata = {
title: 'Terms & Conditions',
}
Binary file added app/[locale]/twitter-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 4 additions & 1 deletion components/sections/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const navigation = {
},
{
name: "GitHub",
href: "https://github.com/iqfareez",
href: "https://github.com/mptwaktusolat/app_waktu_solat_malaysia",
icon: (props) => (
<svg fill="currentColor" viewBox="0 0 24 24" {...props}>
<path
Expand Down Expand Up @@ -49,6 +49,9 @@ const Footer = () => {
</Link>
))}
</div>
{/* <p className="mt-10 text-center text-xs leading-5 text-gray-500">
Privacy Policy &middot; Map &middot; API &middot; Help
</p> */}
<p className="mt-10 text-center text-xs leading-5 text-gray-500">
&copy; 2024{" "}
<a
Expand Down
2 changes: 2 additions & 0 deletions public/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
User-agent: *
Disallow:

0 comments on commit 4e9a814

Please sign in to comment.