Skip to content

Commit

Permalink
docs: improve doc
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexStack committed Sep 24, 2023
1 parent 88eaa3f commit c91ba68
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
<h2>2023/2024: 🔋 NextJs 13.x + MUI 5.x + TypeScript Starter</h2>
<p>The scaffold for NextJs 13.x (App Router), React Hook Form, Material UI(MUI 5.x),Typescript and ESLint, and TypeScript with Absolute Import, Seo, Link component, pre-configured with Husky.</p>

<p>With simple example of NextJs API, React-hook-form with zod, fetch remote api, 404/500 error pages, MUI SSR usage</p>

🚘🚘🚘 [**Click here to see an online demo**](https://mui-nextjs-ts.vercel.app) 🚘🚘🚘

If you prefer Tailwind css, check this: [Tailwind-CSS-Version](https://github.com/theodorusclarence/ts-nextjs-tailwind-starter)

</div>
Expand Down
5 changes: 3 additions & 2 deletions src/component/shared/ServerDateTime.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { Box } from '@mui/material';
import dayjs from 'dayjs';
import timezone from 'dayjs/plugin/timezone';
import utc from 'dayjs/plugin/utc';
Expand All @@ -17,9 +18,9 @@ const ServerDateTime = ({
date?: string;
}) => {
return (
<span className='date-time' style={{ color }}>
<Box component='span' className='date-time' style={{ color }}>
{dayjs(date).tz(cityTimezone).format(timeFormat)}
</span>
</Box>
);
};

Expand Down

0 comments on commit c91ba68

Please sign in to comment.