Skip to content

Commit

Permalink
add my-arxiv and remove unnecessary todos
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidingPlus committed Nov 19, 2024
1 parent ccd0da7 commit de5b0f9
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
name: Homepage
path: dist

# TODO 以下是自动化将打包的静态页面部署到 gh-pages 分支和我自己服务器的脚本
# 以下是自动化将打包的静态页面部署到 gh-pages 分支和我自己服务器的脚本
# 为了互不影响,采用并行执行的方式

deploy-gh-pages:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# feature-liuzx-homepage
# homepage

我的个人站点的主页的源代码分支,派生自本仓库的`dev`分支,和原仓库的`dev`分支进行同步,同时做了部分的自定义修改。
我的个人分支 feature-liuzx-homepage。派生自本仓库的 dev 分支,和原仓库的 dev 分支进行同步,同时做了部分的自定义修改。

原文档 | [README](./README-dev.md)

11 changes: 8 additions & 3 deletions src/assets/siteLinks.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,19 @@
"name": "个人博客",
"link": "https://blog.davidingplus.cn/"
},
{
"icon": "Book",
"name": "LarkSDK 手册",
"link": "http://caiyi.tech/larksdk/"
},
{
"icon": "FileCode",
"name": "Code Browser",
"link": "https://davidingplus.github.io/code-browser/"
},
{
"icon": "Book",
"name": "LarkSDK 手册",
"link": "http://caiyi.tech/larksdk/"
"icon": "Newspaper",
"name": "My Arxiv",
"link": "https://davidingplus.github.io/my-arxiv/"
}
]
7 changes: 4 additions & 3 deletions src/components/Links.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@

<script setup>
import { Icon } from "@vicons/utils";
// TODO 可前往 https://www.xicons.org 自行挑选并在此处引入
import { Link, Blog, CompactDisc, Cloud, Compass, Book, Fire, LaptopCode, FileCode, Tools } from "@vicons/fa"; // 注意使用正确的类别
// 可前往 https://www.xicons.org 自行挑选并在此处引入
import { Link, Blog, CompactDisc, Cloud, Compass, Book, Fire, LaptopCode, FileCode, Tools, Newspaper } from "@vicons/fa"; // 注意使用正确的类别
import { mainStore } from "@/store";
import { Swiper, SwiperSlide } from "swiper/vue";
import { Pagination, Mousewheel } from "swiper/modules";
Expand Down Expand Up @@ -71,7 +71,8 @@ const siteIcon = {
Fire,
LaptopCode,
FileCode,
Tools
Tools,
Newspaper
};
// 链接跳转
Expand Down
2 changes: 1 addition & 1 deletion src/components/Message.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<div class="logo">
<img class="logo-img" :src="siteLogo" alt="logo" />
<div :class="{ name: true, 'text-hidden': true, long: siteUrl[0].length >= 6 }">
<!-- TODO 主界面 logo 后面的文字以及样式在这里修改 -->
<!-- 主界面 logo 后面的文字以及样式在这里修改 -->
<!-- <span class="bg">{{ siteUrl[0] }}</span> -->
<!-- <span class="sm">.{{ siteUrl[1] }}</span> -->
<span class="bg">{{ siteName }}</span>
Expand Down
2 changes: 1 addition & 1 deletion src/components/MoreContent.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<!-- TODO 可以在这里面写在时光胶囊页面中下面展示的文字内容 -->
<!-- 可以在这里面写在时光胶囊页面中下面展示的文字内容 -->
<!-- <div class="more-content">您可在此编写任意内容</div> -->
<div class="more-content"></div>
</template>
Expand Down
2 changes: 1 addition & 1 deletion src/utils/cursor.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class Cursor {
for (let i = 0; i < el.length; i++)
if (getStyle(el[i], "cursor") == "pointer") this.pt.push(el[i].outerHTML);

// TODO 修改 fill 属性的值可以修改鼠标指针的颜色
// 修改 fill 属性的值可以修改鼠标指针的颜色
document.body.appendChild((this.scr = document.createElement("style")));
this.scr.innerHTML = `* {cursor: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8' width='10px' height='10px'><circle cx='4' cy='4' r='4' fill='pink' /></svg>") 4 4, auto !important}`;
}
Expand Down

0 comments on commit de5b0f9

Please sign in to comment.