diff --git a/app/components/Copyright.tsx b/app/components/Copyright.tsx deleted file mode 100644 index b3b1963..0000000 --- a/app/components/Copyright.tsx +++ /dev/null @@ -1,21 +0,0 @@ -import * as React from 'react'; -import Typography from '@mui/material/Typography'; -import MuiLink from '@mui/material/Link'; - -export default function Copyright() { - return ( - - {'Copyright © '} - - Your Website - {' '} - {new Date().getFullYear()}. - - ); -} diff --git a/app/components/ProTip.tsx b/app/components/ProTip.tsx deleted file mode 100644 index 7f07d59..0000000 --- a/app/components/ProTip.tsx +++ /dev/null @@ -1,23 +0,0 @@ -import * as React from 'react'; -import Link from '@mui/material/Link'; -import SvgIcon, { type SvgIconProps } from '@mui/material/SvgIcon'; -import Typography from '@mui/material/Typography'; - -function LightBulbIcon(props: SvgIconProps) { - return ( - - - - ); -} - -export default function ProTip() { - return ( - - - {'Pro tip: See more '} - templates - {' in the Material UI documentation.'} - - ); -} diff --git a/app/routes.ts b/app/routes.ts index 0b5b479..dc3bc1f 100644 --- a/app/routes.ts +++ b/app/routes.ts @@ -2,5 +2,4 @@ import { type RouteConfig, index, route } from '@react-router/dev/routes'; export default [ index('routes/home.tsx'), - route('/about', 'routes/about.tsx'), ] satisfies RouteConfig; diff --git a/app/routes/about.tsx b/app/routes/about.tsx deleted file mode 100644 index d6e6b58..0000000 --- a/app/routes/about.tsx +++ /dev/null @@ -1,45 +0,0 @@ -import * as React from 'react'; -import Container from '@mui/material/Container'; -import Typography from '@mui/material/Typography'; -import Box from '@mui/material/Box'; -import Button from '@mui/material/Button'; -import { Link as ReactRouterLink } from 'react-router'; -import ProTip from '~/components/ProTip'; -import Copyright from '~/components/Copyright'; - -export function meta() { - return [ - { title: 'About' }, - { - name: 'description', - content: 'About the project', - }, - ]; -} - -export default function About() { - return ( - - - - Material UI - Next.js example in TypeScript - - - - - - - - - ); -}