The main reference is the source code of the personal website: https://github.com/zyushun/zyushun.github.io\.