Skip to content

Commit

Permalink
refactor: pages dir and naming convention
Browse files Browse the repository at this point in the history
  • Loading branch information
theaungmyatmoe committed Oct 29, 2023
1 parent 19bb693 commit 52fa550
Show file tree
Hide file tree
Showing 7 changed files with 131 additions and 146 deletions.
21 changes: 20 additions & 1 deletion apps/myanmar_calendar/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,26 @@
<meta charset="UTF-8"/>
<link rel="icon" type="image/svg+xml" href="/vite.svg"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Vite + React</title>
<title>mCal - The first Cross Myanmar Calendar</title>
<meta
name="viewport"
content="width=device-width, initial-scale=1"
/>
<title>Myanmar Calendar - First digital calendar of Myanmar</title>
<meta
name="title"
content="Myanmar Calendar - Myanmar's first digital calendar "
/>
<meta name="description"
content="Myanmar Calendar is a feature-rich calendar app that seamlessly combines the functionality of Gregorian and Myanmar calendars, catering to users who follow both systems. It supports multiple languages, including Myanmar, Mon, English, Tai, and Karen, ensuring a user-friendly experience for individuals from diverse linguistic backgrounds."/>
<meta name="keywords" content="myanmar-calendar, caleadar, burma calendar, burmese calendar"/>
<meta name="robots" content="index, follow"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="language" content="English"/>
<meta name="revisit-after" content="1 days"/>
<meta name="author" content="Aung Myat Moe"/>
<meta content="width=device-width, initial-scale=1" name="viewport"/>
<meta name="robots" content="all"/>
</head>
<body>
<div id="root"></div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,19 @@ import MyanmarCalendar2 from "@/components/MyanmarCalendar2";
import {Provider} from "react-redux";
import {store} from "@/store";
import AppSetupProvider from "@/components/providers/AppSetupProvider";
import {Analytics} from "@vercel/analytics/react";


const Home = () => {
return (
<Provider store={store}>
<AppSetupProvider>
<MyanmarCalendar2/>
</AppSetupProvider>
</Provider>
<>
<Analytics/>
<Provider store={store}>
<AppSetupProvider>
<MyanmarCalendar2/>
</AppSetupProvider>
</Provider>
</>
);
};

Expand Down
2 changes: 1 addition & 1 deletion apps/myanmar_calendar/src/main.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react'
import ReactDOM from 'react-dom/client'
import App from './pages/App'
import App from './App'
import './globals.css';


Expand Down
3 changes: 3 additions & 0 deletions apps/myanmar_calendar/src/pages/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Pages

We follow the some best pratices for the pages of Next.js. You can read more about it [here](https://nextjs.org/docs/basic-features/pages).
58 changes: 0 additions & 58 deletions apps/myanmar_calendar/src/pages/_document.tsx

This file was deleted.

13 changes: 0 additions & 13 deletions apps/myanmar_calendar/src/pages/some.tsx

This file was deleted.

Loading

0 comments on commit 52fa550

Please sign in to comment.