Skip to content

Commit

Permalink
♻️ Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
Irori235 committed Oct 14, 2023
1 parent 8e5284f commit 26625d5
Show file tree
Hide file tree
Showing 14 changed files with 57 additions and 213 deletions.
6 changes: 0 additions & 6 deletions pages/_app.tsx

This file was deleted.

30 changes: 0 additions & 30 deletions pages/about/index.tsx

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 5 additions & 0 deletions src/pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import type { AppProps } from "next/app";

export default function App({ Component, pageProps }: AppProps) {
return <Component {...pageProps} />;
}
30 changes: 30 additions & 0 deletions src/pages/about/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
import * as React from "react";
import { FC, useState, useEffect } from "react";

import Markdown from "@/components/Markdown";
import post from "@/_posts/about.md";
import { MaleRounded } from "@mui/icons-material";
import { Box, Container } from "@mui/material";

const AboutPage: FC = () => {
return (
<>
<Box
sx={{
bgcolor: "#fff",
boxShadow: 1,
borderRadius: 2,
p: 4,
maxWidth: 4 / 5,
minWidth: 300,
margin: "auto",
my: 4,
}}
>
<Markdown className="markdown">{post}</Markdown>
</Box>
</>
);
};

export default AboutPage;
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
129 changes: 0 additions & 129 deletions styles/Home.module.css

This file was deleted.

26 changes: 0 additions & 26 deletions styles/globals.css

This file was deleted.

44 changes: 22 additions & 22 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
{
"compilerOptions": {
"target": "es5",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"baseUrl": ".",
"paths": {
"@/*": ["./*"]
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
"exclude": ["node_modules"]
"compilerOptions": {
"target": "es5",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"]
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
"exclude": ["node_modules"]
}

0 comments on commit 26625d5

Please sign in to comment.