The website is build based on Next.js, Tailwind CSS, FlowBite, and Github Action
- Next.js: The React framework for the web that allows intuitive file-system based router and static site rendering.
- Tailwind CSS: The CSS framework that allows easy configuration of CSS through
className
. - FlowBite: The Tailwind CSS component library.
- Github Action: The continuous deploy (CD) tool that is provided by Github. We used it for deploying website as github-page.
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
. -
Function: For the function that can be used to do formatting, loading data, and etc are defined in
/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. -
CI & CD:
/.github
contains yaml file for Github Action.
- Please run following codes after cloning
npm install
npm run dev
To add data, you can follow the instructions below directly on github, but I recommend you to run it locally to check whether it is added as you intended.
The metadata of gallery images are stored as a list in /data/galleries.ts
.
Please (1) add image in /public/galleries/[NAME]
and (2) add name and its path in /data/galleries.ts
.
The path should be /galleries/[Name]
(i.e., omit /public
), and you should add the recent image as a first item of list because gallery will be displayed based on the order of list.
The metadata of lectures are stored as a list in /data/lectures.ts
.
Please update syllabus of the recent semester of the course you want to update.
You should add the recent syllabus as a first item of list because syllabus will be displayed based on the order of list.
If number of syllabus is more than 3, delete oldest syllabus from list.
The metadata of gallery images are stored as a list in /data/members.ts
.
Please update members of the newcomer or changes in metadata there.
For updating image, please change the image in /pulbic/members/
.
The metadata of publication will be processed from /data/publication.bib
.
Please include bibtex for new publication on there.
The slide and paper should be located in /public/publications/papers/
and /public/publications/slides/
respectively named with citeKey.
The links of other supplementary materials (i.e., video and code) can be inserted in /data/publicationSupplementary.ts
on supplementaries
variable