The website is build based on Next.js, Tailwind CSS, FlowBite, and Github Action
className
.This website keeps data, features, and UI as separate as possible for code management.
Data: For data that is easier to manage in a json or markdown file, such as keywords, paths, descriptions, etc are located in /data
, and the images and files (i.e., pdf) are located in /public
.
utils/preprocess.ts
Type: For the data, we defined types on /src/types
Function: For the function that can be used to do formatting, loading data, and etc are defined in /src/utils
and /src/hooks
.
UI: UI-related code can be found in the /src/app
folder, which is used for Next.js's file system routing, and in the /src/component
folder, where reusable components are located.
/src/components
: We haven't added any margin or padding to the top tag of the component to handle spacing among components only in /src/app
./src/app
: In most cases, layout and spacing among components are defined. CI & CD: /.github
contains yaml file for Github Action
npm install
npm run dev