[TOC]
index.html contain the main framework and design of the whole site. DO NOT TOUCH IT unless you know what you're doing!
The docs folder contains all topics in plain text. It will be used to record the text content of all modules, and written by the programmer to the Topics folder, in the corresponding file.
topic folder contains all the tab inside the page
Using PhpStorm will make your works more efficiently.
make sure NodeJS is installed on your computer
- cd into your project folder
- run
npm install - run
npm run build, you need to run this command everytime the code is change. - The generated file will create inside
distfolder, open it and VOILA!.
First, you need to declare your topic in site.json
{
"fileName": "announcements",
"name": "公告",
"badge": "重要",
"badgeStyle": "danger",
"classList": "text-bg-primary text-center",
"footer": "follow the instructions carefully"
}fileName: the file name of the file insideTopicfolder.name: the topic's namebadge: (optional) if you need a small badge beside your topic, you can add it here.badgeStyle: (optional) the style of the badge, accepted styles areprimary, bluesecondary, greysuccess, greendanger, redwarning, yellowinfo, cyanlight, (default) whitedark, black
classList: (optional) extension class for this topic, for exampletext-bg-primary: The topic will show in blue background, you can replaceprimarywith any of the style listed insidebadgeStyle.text-center: The text will align at center
footer: The footer of the card. It will display the content at the bottom of the card.
All the topic will show in card style of Bootstrap 5.0. The content of fileName.html will append inside the <div class='card-body'> tag.
All of the class is Bootstrap compatible.
❤如果觉得我们做的不错,劳烦客官打赏一杯咖啡哦❤
- 修复copy的bug
- 更新条规第3项
- 增加claim行李步骤
- 更新其他两个地区的签证申请位置

