Skip to content

Commit

Permalink
feat: ✨ 添加摄影笔记
Browse files Browse the repository at this point in the history
  • Loading branch information
enson0131 committed Feb 8, 2024
1 parent f1c0f86 commit 5d2d9e1
Show file tree
Hide file tree
Showing 7 changed files with 57 additions and 5 deletions.
35 changes: 31 additions & 4 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export default defineConfig({

sidebar: {
'/guide/': { base: '/guide/', items: sidebarGuide() },
'/shoot/': { base: '/shoot/', items: shootGuide()},
'/reference/': { base: '/reference/', items: sidebarReference() }
},

Expand All @@ -65,10 +66,15 @@ function nav(): DefaultTheme.NavItem[] {
activeMatch: '^/$'
},
{
text: '笔记',
text: '前端笔记',
link: '/guide/javaScript相关/index',
activeMatch: '/guide/'
},
{
text: '摄影笔记',
link: '/shoot/基础概念/光圈',
activeMatch: '/shoot/'
},
{
text: '关于我',
link: 'https://github.com/enson0131',
Expand Down Expand Up @@ -220,9 +226,9 @@ function sidebarGuide(): DefaultTheme.SidebarItem[] {

}
]
}
}

function sidebarReference(): DefaultTheme.SidebarItem[] {
function sidebarReference(): DefaultTheme.SidebarItem[] {
return [
{
text: 'Reference',
Expand Down Expand Up @@ -253,4 +259,25 @@ function sidebarGuide(): DefaultTheme.SidebarItem[] {
]
}
]
}
}

function shootGuide(): DefaultTheme.SidebarItem[] {
return [
{
text: '基础概念',
collapsed: false,
items: [
{ text: '光圈', link: '基础概念/光圈' },
{ text: '快门速度', link: '基础概念/快门速度' },
{ text: 'ISO 感光度', link: '基础概念/ISO感光度' },
]
},
{
text: '实战技巧',
collapsed: false,
items: [
{ text: '如何拍花的黑背景', link: '实战技巧/如何拍花的黑背景' },
]
},
]
}
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ layout: doc
# title: Ship Fast Sites
# details: Fast initial load with static HTML, fast post-load navigation with client-side routing.
---
### 前端知识库
### 个人知识库

👋 欢迎来到我的博客,这里是我记录学习和生活的地方,希望能帮助到你

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions docs/shoot/基础概念/ISO感光度.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# ISO 感光度

传感器对光线的敏感程度

- 感光度越大、图片越亮,但也容易出现噪点
8 changes: 8 additions & 0 deletions docs/shoot/基础概念/光圈.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# 光圈

控制光圈大小

1. 数字越大、光圈越小就越暗 - 图像越清晰
2. 数字越小、光圈越大就越亮 - 光圈过大虚化效果明显


8 changes: 8 additions & 0 deletions docs/shoot/基础概念/快门速度.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# 快门速度

控制开启传感器的时间

- 快门速度越短,越能凝固物体,常用在抓拍
- 快门速度越长,容易得到拖影的图
- ![快门速度](./../../public/assets/摄影相关/基础知识/1.png)
- 拍静止的水面 (一般需要借助三脚架)
4 changes: 4 additions & 0 deletions docs/shoot/实战技巧/如何拍花的黑背景.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# 如何拍花

1. 采用 `点测光` 突出花的亮度
2. 背景采用 `深色系` 突出主体

0 comments on commit 5d2d9e1

Please sign in to comment.