Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
gitcode_dev
开源百科
提交
b702cfea
开
开源百科
项目概览
gitcode_dev
/
开源百科
通知
253
Star
3
Fork
3
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
17
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
代码片段
项目成员
Pages
开
开源百科
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
17
Issue
17
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
b702cfea
编写于
11月 18, 2021
作者:
Miykael_xxm
🚴
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update
上级
805a41d9
变更
11
展开全部
隐藏空白更改
内联
并排
Showing
11 changed file
with
48679 addition
and
8177 deletion
+48679
-8177
.codechina-ci.yml
.codechina-ci.yml
+16
-0
.gitignore
.gitignore
+1
-0
angular.json
angular.json
+1
-1
data/db.json
data/db.json
+10118
-1
data/search.json
data/search.json
+4
-16
nav.config.ts
nav.config.ts
+11
-11
package-lock.json
package-lock.json
+30001
-0
src/components/fixbar/index.component.html
src/components/fixbar/index.component.html
+4
-4
src/index.html
src/index.html
+35
-6
src/view/index/sim/index.component.html
src/view/index/sim/index.component.html
+1
-1
yarn.lock
yarn.lock
+8487
-8137
未找到文件。
.codechina-ci.yml
0 → 100644
浏览文件 @
b702cfea
# 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
.gitignore
浏览文件 @
b702cfea
...
...
@@ -5,6 +5,7 @@
/build
/tmp
/out-tsc
/public
# dependencies
/node_modules
...
...
angular.json
浏览文件 @
b702cfea
...
...
@@ -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"
,
...
...
data/db.json
浏览文件 @
b702cfea
此差异已折叠。
点击以展开。
data/search.json
浏览文件 @
b702cfea
[
{
"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
nav.config.ts
浏览文件 @
b702cfea
...
...
@@ -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
:
tru
e
,
showGithub
:
fals
e
,
// 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.jp
g
'
'
https://
codechina_dev.gitcode.host/git/assets/img/pattern2.sv
g
'
],
description
:
'
这里收录多达 <b>${total}</b> 个优质网站, 助您工作、学习和生活
'
}
...
...
package-lock.json
0 → 100644
浏览文件 @
b702cfea
此差异已折叠。
点击以展开。
src/components/fixbar/index.component.html
浏览文件 @
b702cfea
...
...
@@ -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>
...
...
src/index.html
浏览文件 @
b702cfea
因为 它太大了无法显示 source diff 。你可以改为
查看blob
。
src/view/index/sim/index.component.html
浏览文件 @
b702cfea
<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>
...
...
yarn.lock
浏览文件 @
b702cfea
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录