Skip to content

Commit

Permalink
convert to material ui
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholeuf committed Feb 13, 2024
1 parent afc735f commit 4bbbd6d
Show file tree
Hide file tree
Showing 33 changed files with 987 additions and 1,527 deletions.
14 changes: 6 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,23 @@
"test:watch": "jest --watchAll"
},
"dependencies": {
"next": "^14.0.3",
"postcss": "^8.4.34",
"postcss-flexbugs-fixes": "^5.0.2",
"postcss-nesting": "^12.0.2",
"postcss-preset-env": "^9.3.0",
"@emotion/cache": "^11.11.0",
"@emotion/react": "^11.11.3",
"@emotion/styled": "^11.11.0",
"@mui/material": "^5.15.9",
"@mui/material-nextjs": "^5.15.9",
"next": "^14.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.2.1",
"@types/css-mediaquery": "^0",
"@types/eslint": "^8",
"@types/jest": "^29.5.12",
"@types/node": "^20.10.4",
"@types/postcss-flexbugs-fixes": "^5",
"@types/react": "^18",
"@types/react-dom": "^18",
"css-mediaquery": "^0.1.2",
"eslint": "^8.55.0",
"eslint-config-next": "^14.0.3",
"eslint-plugin-prettier": "^5.0.1",
Expand Down
18 changes: 0 additions & 18 deletions postcss.config.json

This file was deleted.

38 changes: 16 additions & 22 deletions src/app/about/page.tsx
Original file line number Diff line number Diff line change
@@ -1,25 +1,19 @@
import type { Metadata } from "next";
import * as React from 'react';
import Typography from '@mui/material/Typography';
import Box from '@mui/material/Box';

export const metadata: Metadata = {
title: "About Me",
};

export default function About() {
const About = () => {
return (
<section>
<h1>About Me</h1>
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Quaerat quae
optio quos dolor, corporis tenetur? Alias fugit doloribus nesciunt eum
perferendis mollitia similique cupiditate ea quaerat. Magnam fugit
cupiditate non!
</p>
<p>
Lorem ipsum dolor sit, amet consectetur adipisicing elit. Quidem
assumenda laudantium in rem nisi architecto mollitia consequuntur quas
nobis cupiditate, natus laborum, excepturi reprehenderit aspernatur
commodi, explicabo amet aperiam. Pariatur.
</p>
</section>
<Box>
<Typography variant='h1'>About</Typography>
<Typography>
Lorem ipsum dolor, sit amet consectetur adipisicing elit. Ipsum tempore
a praesentium perferendis doloremque, veniam minus quis laborum, numquam
blanditiis sunt ex consectetur asperiores assumenda nisi laboriosam et
tempora quos.
</Typography>
</Box>
);
}
};

export default About;
31 changes: 12 additions & 19 deletions src/app/contact/page.tsx
Original file line number Diff line number Diff line change
@@ -1,25 +1,18 @@
import type { Metadata } from "next";

export const metadata: Metadata = {
title: "Contact",
};
import * as React from 'react';
import Typography from '@mui/material/Typography';
import Box from '@mui/material/Box';

const Contact = () => {
return (
<section>
<h1>Contact</h1>
<ul>
<li>
<a target="_blank" href="https://icons8.com/icon/24556/lotus">
Lotus
</a>{" "}
icon by{" "}
<a target="_blank" href="https://icons8.com">
Icons8
</a>
</li>
</ul>
</section>
<Box>
<Typography variant='h1'>Contact</Typography>
<Typography>
Lorem ipsum dolor, sit amet consectetur adipisicing elit. Ipsum tempore
a praesentium perferendis doloremque, veniam minus quis laborum, numquam
blanditiis sunt ex consectetur asperiores assumenda nisi laboriosam et
tempora quos.
</Typography>
</Box>
);
};

Expand Down
25 changes: 0 additions & 25 deletions src/app/experience/page.tsx

This file was deleted.

137 changes: 0 additions & 137 deletions src/app/globals.css

This file was deleted.

16 changes: 0 additions & 16 deletions src/app/layout.module.css

This file was deleted.

Loading

0 comments on commit 4bbbd6d

Please sign in to comment.