Download index.html
index.css
data.js
, edit the data.js
file, services
corresponds to links with icon and bookmarks
corresponds to links without icon.The types are as follows:
interface Service {
text: string;
href: string;
icon: string;
target?: string;
}
interface Bookmark {
text: string;
href: string;
target?: string;
}
下载 index.html
index.css
data.js
,编辑 data.js
文件,其中 services
对应的是有 icon 的链接,bookmarks
则对应的是无 icon 的链接。其类型如下:
interface Service {
text: string;
href: string;
icon: string;
target?: string;
}
interface Bookmark {
text: string;
href: string;
target?: string;
}