Skip to content

Commit cde570e

Browse files
authored
Merge pull request #9 from karpolan/dev
Version 0.2.9
2 parents fad0f89 + 6fdbca4 commit cde570e

File tree

15 files changed

+1779
-987
lines changed

15 files changed

+1779
-987
lines changed

package-lock.json

Lines changed: 1749 additions & 973 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nextjs-mui-starter-ts",
3-
"version": "0.2.7",
3+
"version": "0.2.9",
44
"description": "_DESCRIPTION_",
55
"author": {
66
"name": "Anton Karpenko",

src/app/about/page.tsx

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Stack, Typography } from '@mui/material';
22
import { NextPage } from 'next';
3-
import { AppLink } from '@/components';
3+
import { AppButton, AppLink } from '@/components';
44

55
/**
66
* Renders About Application page
@@ -15,8 +15,14 @@ const AboutPage: NextPage = () => {
1515
This application is a mix of{' '}
1616
<AppLink href="https://nextjs.org/docs/api-reference/create-next-app">Create Next App</AppLink> and{' '}
1717
<AppLink href="https://mui.com/">MUI</AppLink> with set of reusable components and utilities to build
18-
professional <AppLink href="https://nextjs.org/">NextJS</AppLink> application faster.
18+
professional <AppLink href="https://nextjs.org/">NextJS</AppLink> application faster. The source code is
19+
available on <AppLink href="https://github.com/karpolan/nextjs-mui-starter-ts">GitHub</AppLink>.
1920
</Typography>
21+
<Stack alignItems="center">
22+
<AppButton color="secondary" href="https://github.com/karpolan/nextjs-mui-starter-ts">
23+
Open GitHub
24+
</AppButton>
25+
</Stack>
2026
</Stack>
2127
<Stack>
2228
<Typography variant="h4">Reusable components</Typography>

src/app/auth/login/LoginForm.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use client';
22
import { Stack } from '@mui/material';
33
import { useRouter } from 'next/navigation';
4-
import { AppButton } from '@/components';
4+
import { AppButton, AppLink } from '@/components';
55
import { useAppStore } from '@/store';
66
import { useEventLogout } from '@/hooks';
77
import { sessionStorageSet } from '@/utils';
@@ -35,6 +35,11 @@ const LoginForm = () => {
3535
Logout User
3636
</AppButton>
3737
</Stack>
38+
39+
<div>
40+
The source code is available at{' '}
41+
<AppLink href="https://github.com/karpolan/nextjs-mui-starter-ts">GitHub</AppLink>
42+
</div>
3843
</Stack>
3944
);
4045
};

src/app/auth/login/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const LoginPage: NextPage = () => {
1414
};
1515

1616
export const metadata: Metadata = {
17-
title: 'Login - _TITLE__',
17+
title: 'Login - _TITLE_',
1818
description: '_DESCRIPTION_',
1919
};
2020

src/app/auth/signup/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { Metadata } from 'next';
22
import LoginPage from '../login/page';
33

44
export const metadata: Metadata = {
5-
title: 'Signup - _TITLE__',
5+
title: 'Signup - _TITLE_',
66
description: '_DESCRIPTION_',
77
};
88

src/app/home/page.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ const Home: NextPage = () => {
2525
This application is a mix of{' '}
2626
<AppLink href="https://nextjs.org/docs/api-reference/create-next-app">Create Next App</AppLink> and{' '}
2727
<AppLink href="https://mui.com/">MUI</AppLink> with set of reusable components and utilities to build
28-
professional <AppLink href="https://nextjs.org/">NextJS</AppLink> application faster.
28+
professional <AppLink href="https://nextjs.org/">NextJS</AppLink> application faster. The source code is
29+
available on <AppLink href="https://github.com/karpolan/nextjs-mui-starter-ts">GitHub</AppLink>.
2930
</Typography>
3031
</Stack>
3132

src/components/common/AppAlert/AppAlert.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { render, screen } from '@testing-library/react';
22
import AppAlert from './AppAlert';
3-
import { capitalize, randomText } from '../../../utils';
3+
import { capitalize, randomText } from '@/utils';
44
import { AlertProps } from '@mui/material';
55

66
const ComponentToTest = AppAlert;

src/components/common/AppButton/AppButton.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { render, screen, within } from '@testing-library/react';
33
import { ThemeProvider } from '../../../theme';
44
import AppButton, { AppButtonProps } from './AppButton';
55
import DefaultIcon from '@mui/icons-material/MoreHoriz';
6-
import { randomText, capitalize } from '../../../utils';
6+
import { randomText, capitalize } from '@/utils';
77

88
/**
99
* AppButton wrapped with Theme Provider

src/components/common/AppIcon/AppIcon.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { render, screen } from '@testing-library/react';
22
import AppIcon from './AppIcon';
33
import { APP_ICON_SIZE } from '../../config';
4-
import { randomColor, randomText } from '../../../utils';
4+
import { randomColor, randomText } from '@/utils';
55
import { ICONS } from './config';
66

77
const ComponentToTest = AppIcon;

0 commit comments

Comments
 (0)