-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
1,190 additions
and
188 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
module.exports = { | ||
root: true, | ||
env: { | ||
node: true, | ||
}, | ||
extends: [ | ||
'eslint:recommended', | ||
'plugin:vue/vue3-recommended', | ||
'plugin:prettier/recommended', | ||
], | ||
parserOptions: { | ||
ecmaVersion: 2020, | ||
sourceType: 'module', | ||
}, | ||
rules: { | ||
'vue/no-multiple-template-root': 'off', | ||
'prettier/prettier': [ | ||
'error', | ||
{ | ||
singleQuote: true, | ||
semi: true, | ||
}, | ||
], | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"semi": false, | ||
"singleQuote": true, | ||
"tabWidth": 2, | ||
"trailingComma": "es5", | ||
"printWidth": 80 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"editor.formatOnSave": true, | ||
"editor.defaultFormatter": "esbenp.prettier-vscode" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,77 +1,77 @@ | ||
// config/index.js | ||
export default { | ||
title: "我的开发导航", | ||
description: "A simple static site generator with configurable navigation", | ||
logo: "/navpress/images/logo.svg", | ||
github: "https://github.com/aaronlamz/navpress", | ||
base: "/navpress/", | ||
title: '我的开发导航', | ||
description: 'A simple static site generator with configurable navigation', | ||
logo: '/navpress/images/logo.svg', | ||
github: 'https://github.com/aaronlamz/navpress', | ||
base: '/navpress/', | ||
meta: { | ||
title: "My Navpress", | ||
title: 'My Navpress', | ||
description: | ||
"Navpress - a simple static site generator with configurable navigation", | ||
keywords: "static site, generator, navpress, vue", | ||
author: "aaronlamz", | ||
'Navpress - a simple static site generator with configurable navigation', | ||
keywords: 'static site, generator, navpress, vue', | ||
author: 'aaronlamz', | ||
}, | ||
sidebar: [ | ||
{ | ||
text: "Web", | ||
link: "/", | ||
text: 'Web', | ||
link: '/', | ||
items: [ | ||
{ | ||
text: "前端", | ||
link: "#group1", | ||
text: '前端', | ||
link: '#group1', | ||
items: [ | ||
{ text: "Child 1", link: "https://example.com/child1" }, | ||
{ text: "Child 2", link: "https://example.com/child2" }, | ||
{ text: "Child 2", link: "https://example.com/child2" }, | ||
{ text: 'Child 1', link: 'https://example.com/child1' }, | ||
{ text: 'Child 2', link: 'https://example.com/child2' }, | ||
{ text: 'Child 2', link: 'https://example.com/child2' }, | ||
], | ||
}, | ||
{ | ||
text: "设计", | ||
link: "#group2", | ||
text: '设计', | ||
link: '#group2', | ||
items: [ | ||
{ text: "Child 3", link: "https://example.com/child3" }, | ||
{ text: "Child 4", link: "https://example.com/child4" }, | ||
{ text: "Child 2", link: "https://example.com/child2" }, | ||
{ text: 'Child 3', link: 'https://example.com/child3' }, | ||
{ text: 'Child 4', link: 'https://example.com/child4' }, | ||
{ text: 'Child 2', link: 'https://example.com/child2' }, | ||
], | ||
}, | ||
], | ||
}, | ||
{ | ||
text: "效率工具", | ||
link: "/efficient", | ||
text: '效率工具', | ||
link: '/efficient', | ||
expanded: true, | ||
items: [ | ||
{ | ||
text: "Group A", | ||
link: "#groupA", | ||
items: [{ text: "Child A1", link: "https://example.com/childA1" }], | ||
text: 'Group A', | ||
link: '#groupA', | ||
items: [{ text: 'Child A1', link: 'https://example.com/childA1' }], | ||
}, | ||
], | ||
}, | ||
{ | ||
text: "AI 资源", | ||
link: "/ai", | ||
text: 'AI 资源', | ||
link: '/ai', | ||
expanded: true, | ||
items: [ | ||
{ | ||
text: "Group A", | ||
link: "#groupA", | ||
items: [{ text: "Child A1", link: "https://example.com/childA1" }], | ||
text: 'Group A', | ||
link: '#groupA', | ||
items: [{ text: 'Child A1', link: 'https://example.com/childA1' }], | ||
}, | ||
], | ||
}, | ||
{ | ||
text: "副业有道", | ||
link: "/second-job", | ||
text: '副业有道', | ||
link: '/second-job', | ||
expanded: true, | ||
items: [ | ||
{ | ||
text: "Group A", | ||
link: "#groupA", | ||
items: [{ text: "Child", link: "https://example.com/childA1" }], | ||
text: 'Group A', | ||
link: '#groupA', | ||
items: [{ text: 'Child', link: 'https://example.com/childA1' }], | ||
}, | ||
], | ||
}, | ||
], | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,33 @@ | ||
<template> | ||
<footer class="bg-gray-100 dark:bg-gray-800 text-center py-4 mt-4"> | ||
<span class="text-gray-500 dark:text-gray-400"> | ||
Powered by | ||
<a href="https://github.com/aaronlamz/navpress" target="_blank" class="text-blue-500 hover:text-blue-700"> Navpress</a> | ||
</span> | ||
<a href="https://github.com/aaronlamz/navpress" target="_blank" class="inline-flex items-center ml-2"> | ||
<i class="fab fa-github text-gray-500 hover:text-gray-700 w-5 h-5"></i> | ||
</a> | ||
</footer> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
name: 'FooterComponent', | ||
}; | ||
</script> | ||
|
||
<style scoped> | ||
footer { | ||
margin-top: auto; | ||
} | ||
</style> | ||
<footer class="bg-gray-100 dark:bg-gray-800 text-center py-4 mt-4"> | ||
<span class="text-gray-500 dark:text-gray-400"> | ||
Powered by | ||
<a | ||
href="https://github.com/aaronlamz/navpress" | ||
target="_blank" | ||
class="text-blue-500 hover:text-blue-700" | ||
> | ||
Navpress</a | ||
> | ||
</span> | ||
<a | ||
href="https://github.com/aaronlamz/navpress" | ||
target="_blank" | ||
class="inline-flex items-center ml-2" | ||
> | ||
<i class="fab fa-github text-gray-500 hover:text-gray-700 w-5 h-5"></i> | ||
</a> | ||
</footer> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
name: 'FooterComponent', | ||
} | ||
</script> | ||
|
||
<style scoped> | ||
footer { | ||
margin-top: auto; | ||
} | ||
</style> |
Oops, something went wrong.