提交 b702cfea 编写于 作者: Miykael_xxm's avatar Miykael_xxm 🚴

update

上级 805a41d9
# All available Hugo versions are listed here: https://gitlab.com/pages/hugo/container_registry
image: ubuntu-latest
variables:
GIT_SUBMODULE_STRATEGY: recursive
pages:
script:
- npm install
- npm run setup
- npm run build
artifacts:
paths:
- public
rules:
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
......@@ -5,6 +5,7 @@
/build
/tmp
/out-tsc
/public
# dependencies
/node_modules
......
......@@ -18,7 +18,7 @@
"builder": "@angular-devkit/build-angular:browser",
"options": {
"allowedCommonJsDependencies": ["axios", "qs", "nprogress"],
"outputPath": "dist",
"outputPath": "public",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
......
此差异已折叠。
[
{
"name": "站内",
"icon": "https://raw.sevencdn.com/xjh22222228/nav/image/logo.png",
"placeholder": "站内搜索",
"name": "CSDN",
"url": "https://so.csdn.net/so/search?q",
"icon": "https://img-operation.csdnimg.cn/csdn/silkroad/img/1607569811165.png",
"placeholder": "CSDN搜索",
"blocked": false
},
{
......@@ -30,18 +31,5 @@
"icon": "https://raw.sevencdn.com/xjh22222228/nav/image/github.svg",
"placeholder": "Search GitHub",
"blocked": false
},
{
"name": "知乎",
"url": "https://www.zhihu.com/search?type=content&q=",
"icon": "https://raw.sevencdn.com/xjh22222228/nav/image/zhihu.svg",
"blocked": false
},
{
"name": "豆瓣",
"url": "https://search.douban.com/book/subject_search?search_text=",
"icon": "https://raw.sevencdn.com/xjh22222228/nav/image/douban.svg",
"placeholder": "书名、作者、ISBN",
"blocked": false
}
]
\ No newline at end of file
......@@ -3,7 +3,7 @@ import { IConfig } from './src/types'
const c: IConfig = {
// Deployment language - 部署语言
// zh-CN | en
language: 'en',
language: 'zh-CN',
// [Mondatory], Please replace following Github url with your own Github address which you forked in.
// [必填], 请填写您的仓库地址
......@@ -17,7 +17,7 @@ const c: IConfig = {
// If you have a good-looking Loading, please contact us!
// 页面Loading: loading1 | loading2 | loading3 | random
// 如果您有好看的加载Loading请联系我们!
loading: 'random', // 随机加载
loading: 'loading3', // 随机加载
// Whether the route is in Hash mode, if it is deployed on github pages, it must be set to true
// 路由是否Hash模式, 如果是部署在github pages 务必设为 true
......@@ -25,27 +25,27 @@ const c: IConfig = {
// Whether to show the Github icon in the upper right corner
// 是否显示右上角的 Github 图标
showGithub: true,
showGithub: false,
// Your website address is good for SEO
// 您的网站地址,有利于SEO
homeUrl: 'https://nav3.cn',
homeUrl: 'https://git.csdn.net',
// Site title
// 网站标题
title: '发现导航 - 精选实用导航网站',
title: 'CSDN 开发者工具助手推荐',
// Site description
// 网站描述
description: '发现导航 - 精选实用导航网站',
description: 'CSDN 开发者工具助手推荐',
// Site keywords
// 网站关键字
keywords: '导航,前端资源,社区站点,设计师,实用工具,学习资源,运营,网络安全,node.js',
keywords: '导航,开发者工具,GitHub开源项目推荐',
// Default theme: Light | Sim | Side | App | Shortcut
// 默认主题: Light | Sim | Side | App | Shortcut
theme: 'Light',
theme: 'Sim',
// The content at the bottom of the website, copyright information, record number, can be HTML
// 网站底部内容, 版权信息、备案号, 可以是 HTML
......@@ -63,19 +63,19 @@ const c: IConfig = {
// Baidu Statistics Address
// 百度统计地址
// https://tongji.baidu.com/web/welcome/login
baiduStatisticsUrl: 'https://hm.baidu.com/hm.js?4582be7af7e7c95ef75351e07c6c32ba',
// baiduStatisticsUrl: 'https://hm.baidu.com/hm.js?4582be7af7e7c95ef75351e07c6c32ba',
// CNZZ Statistics address
// CNZZ 统计地址
// https://www.cnzz.com/o_index.php
cnzzStatisticsUrl: '',
// cnzzStatisticsUrl: '',
// Sim Theme configuration
// Sim 主题配置
simThemeConfig: {
// Poster illustration - 海报图
posterImageUrls: [
'https://raw.sevencdn.com/xjh22222228/nav/image/sim-wallpaper.jpg'
'https://codechina_dev.gitcode.host/git/assets/img/pattern2.svg'
],
description: '这里收录多达 <b>${total}</b> 个优质网站, 助您工作、学习和生活'
}
......
此差异已折叠。
......@@ -8,7 +8,7 @@
</div>
</span>
<div
<!-- <div
class="wrapper dark-bg dark-border-color dark-action-hover"
nz-dropdown
[nzDropdownMenu]="menu"
......@@ -48,7 +48,7 @@
<div class="wrapper dark-bg dark-border-color dark-action-hover" (click)="collapse()">
<i class="iconfont iconweibiaoti25 collapse" [class.active]="collapsed"></i>
</div>
</span>
</span> -->
<span nz-tooltip [nzTooltipTitle]="isDark ? $t('_closeDark') : $t('_openDark')">
<div class="wrapper dark-bg dark-border-color dark-action-hover" (click)="toggleMode()">
......@@ -57,12 +57,12 @@
</div>
</span>
<span>
<!-- <span>
<div class="wrapper dark-bg dark-border-color dark-action-hover" (click)="toggleLocale()">
<img class="iconfont" src="assets/img/china.svg" *ngIf="language === 'zh-CN'">
<img class="iconfont" src="assets/img/ua.svg" *ngIf="!language || language === 'en'">
</div>
</span>
</span> -->
<div class="wrapper dark-bg dark-border-color dark-action-hover" (click)="goTop()">
<i class="iconfont iconjiantouarrow483 arrow"></i>
......
因为 它太大了无法显示 source diff 。你可以改为 查看blob
<div class="sim">
<div *ngIf="posterImageUrls" class="wallpaper" [ngStyle]="{ 'background-image': 'url(' + posterImageUrls + ')' }">
<div *ngIf="posterImageUrls" class="wallpaper" [ngStyle]="{ 'background':'url(' + posterImageUrls + '),rgba(0, 129, 255, 0.9)' }">
<h1 class="title dark-title">{{ title }}</h1>
<h2 class="description dark-text-active" [innerHTML]="description"></h2>
<app-search-engine></app-search-engine>
......
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册