Welcome to my portfolio repository.
- This is a Next.js project bootstrapped with
create-next-app. - For css coding, Material-ui is used as a CSS-in-js modules.
- For development, no javascript files are allowed: you should write in typescript unless you have inevitable reason.
In this project, yarn is utilized to manage packages.
On cloning the repository, run
yarnto install dependencies into node_modules directory.
Then, for development build, run
yarn devto see the result on http://localhost:3000.
componentsto store definitions of component. Files should be categorized.libto store custom libraries.pagesto store page-defining tsx files.publicto store image and typeface files. For example, you can access a file atpublic/img/example.pngwith the path"/img/example.png"in html attributes.stylesto store global style data. Even though Material-ui is used, this website does not follow the rule of material design. Thus, some files are out ofThemeprovided by material-ui, such as colours data.
- You can add a new work by (1) adding a new element into
worksDataarray atcomponents/works/data.ts, (2) creating a new article file (which will be displayed at the top of individual page) incomponents-works-eachdirectory, and (3) importing the article tsx file tocomponents/works/each/index.tsand adding it toarticleDataobject. - You can add a new blog by (1) creating a new tsx file in
components/blog/eachdirectory to export the written content as an array ofBlogContent, and (2) adding the exported array toblogListobject incomponents/blog/blogProvider.tsx.
This project is automatically deployed via Vercel, using Vercel extensions on GitHub. As pushed to master branch, the newest version will be deployed.
