Skip to content

Commit

Permalink
feat: add products
Browse files Browse the repository at this point in the history
  • Loading branch information
TigerZH committed Feb 23, 2022
1 parent 9a8b7e2 commit 5d334c5
Show file tree
Hide file tree
Showing 202 changed files with 3,947 additions and 92 deletions.
Binary file modified .DS_Store
Binary file not shown.
111 changes: 43 additions & 68 deletions .vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,11 @@ const nav = [

{
text: '卷集',
activeMatch: `^/(guide|style-guide|cookbook|examples)/`,
activeMatch: `^/(guide|style-guide|cookbook|examples|cryptocurrency)/`,
items: [
{ text: 'Guide', link: '/guide/introduction' },
{ text: 'Tutorial', link: '/tutorial/' },
{ text: 'Examples', link: '/examples/' },
{ text: 'Quick Start', link: '/guide/quick-start' },
{ text: 'Style Guide', link: '/style-guide/' },
{ text: '加密货币', link: '/cryptocurrency/money' },
{ text: '工具使用', link: '/examples/' },
{ text: '有感而发', link: '/guide/quick-start' },
]
},
{
Expand All @@ -25,40 +23,41 @@ const nav = [
},
{
text: '作品集',
activeMatch: `^/ecosystem/`,
activeMatch: `^/products/`,
items: [
{
text: '代表作',
items: [
{ text: 'Gettr', link: '/ecosystem/partners' },
{ text: '叮铃医生', link: '/ecosystem/themes' },
{ text: 'Open Alpha', link: 'https://vuejobs.com/?ref=vuejs' },
{ text: '净值预估', link: 'https://vue.threadless.com/' }
{ text: 'Gettr', link: '/products/gettr' },
{ text: '叮铃医生', link: '/products/doctor' },

]
},
{
text: '商业作品',
items: [
{
text: 'Fas基金研究平台',
link: 'https://www.vuemastery.com/courses/'
link: '/products/fas'
},
{ text: '币傲交易所', link: '/products/btcalory' },
{
text: '基金大V入驻小程序',
link: 'https://vueschool.io/?friend=vuejs&utm_source=Vuejs.org&utm_medium=Link&utm_content=Navbar%20Dropdown'
}
text: 'Open Alpha ',
link: '/products/openalpha'
},
{ text: '基金大V入驻小程序', link: '/products/bigv' },
{ text: '净值预估', link: '/products/valuation' }
]
},
{
text: '个人作品',
items: [
{
text: 'Wall Paper',
link: 'https://discord.com/invite/HBherRA'
link: '/products/wallpaper'
},
{ text: 'Note Music', link: 'https://forum.vuejs.org/' },
{ text: '优惠券小程序', link: 'https://forum.vuejs.org/' },
{ text: '币傲交易所', link: 'https://forum.vuejs.org/' },
{ text: 'Note Music', link: '/products/notemusic' },
{ text: '优惠券小程序', link: '/products/coupon' },
]
},
]
Expand All @@ -84,6 +83,26 @@ const nav = [
]

export const sidebar = {
'/cryptocurrency/': [{
text: '基础',
items: [
{ text: '钱', link: '/cryptocurrency/money' },
{
text: '比特币十年回顾',
link: '/cryptocurrency/bitcoin-ten-years'
}
]
},
{
text: '杂谈',
items: [
{ text: '价值千万的炒币经验', link: '/cryptocurrency/sell-buy-express' },
{
text: '奶的底层逻辑就是奶',
link: '/cryptocurrency/up'
}
]
}],
'/guide/': [
{
text: 'Getting Started',
Expand Down Expand Up @@ -301,52 +320,8 @@ export const sidebar = {
}
]
},
{
text: 'Composition API',
items: [
{ text: 'setup()', link: '/api/composition-api-setup' },
{
text: 'Reactivity: Core',
link: '/api/reactivity-core'
},
{
text: 'Reactivity: Utilities',
link: '/api/reactivity-utilities'
},
{
text: 'Reactivity: Advanced',
link: '/api/reactivity-advanced'
},
{
text: 'Lifecycle Hooks',
link: '/api/composition-api-lifecycle'
},
{
text: 'Dependency Injection',
link: '/api/composition-api-dependency-injection'
}
]
},
{
text: 'Options API',
items: [
{ text: 'Options: State', link: '/api/options-state' },
{ text: 'Options: Rendering', link: '/api/options-rendering' },
{
text: 'Options: Lifecycle',
link: '/api/options-lifecycle'
},
{
text: 'Options: Composition',
link: '/api/options-composition'
},
{ text: 'Options: Misc', link: '/api/options-misc' },
{
text: 'Component Instance',
link: '/api/component-instance'
}
]
},


{
text: 'Built-ins',
items: [
Expand Down Expand Up @@ -529,9 +504,9 @@ export default defineConfigWithTheme<ThemeConfig>({
sidebar,

algolia: {
indexName: 'vuejs',
appId: 'ML0LEBN7FQ',
apiKey: 'f49cbd92a74532cc55cfbffa5e5a7d01',
indexName: 'Notebook',
appId: '3II0BF621L',
apiKey: 'f0f82443dd1e3bb2738c4e904221fc97',
searchParameters: {
facetFilters: ['version:v3']
}
Expand Down
28 changes: 25 additions & 3 deletions .vitepress/theme/components/Home.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,22 @@
<script setup lang="ts">
import { ref, onMounted, onUnmounted } from 'vue'
import NewsLetter from './NewsLetter.vue'
import SponsorsGroup from './SponsorsGroup.vue'
const epic = ref(' 世界上有10类人:一类是懂计算机的,一类是不懂的。')
const url =
'https://42541d62-1eb3-4f4a-b656-cc98d4542086.bspapp.com/http/epic'
const fetchepic = async () => {
const response = await fetch(url)
const res = await response.json()
const [_epic] = res.data
epic.value = _epic.contant
}
const interval = setInterval(fetchepic, 10000)
onUnmounted(() => {
clearInterval(interval)
})
</script>

<template>
Expand All @@ -13,7 +29,7 @@ import SponsorsGroup from './SponsorsGroup.vue'
<br />Getting Better ☀️
</h1>
<p class="description">
世界上有10类人:一类是懂计算机的,一类是不懂的。
{{ epic }}
</p>
<p class="actions">
<a class="get-started" href="/guide/introduction.html">
Expand Down Expand Up @@ -63,11 +79,17 @@ import SponsorsGroup from './SponsorsGroup.vue'
</div>
<div class="vt-box">
<h2>不要读其它人读的东西</h2>
<p>课堂是一个人造的美妙地方,老师拿着薪水关注你的想法,同学也关注你的想法。日常生活中,你再也不会有这样一群观众了。事实上,真实世界的大多数人并不在意你的想法</p>
<p>
课堂是一个美妙地方,老师拿着薪水在意你的想法,同学也在意大家的想法。日常生活中,这种美妙是不存在的。在工作或者生活中,大多数人并不在意你的想法
</p>
</div>
<div class="vt-box">
<h2>QUIC 协议的加密机制</h2>
<p>谷歌想改进 TCP 协议,但是 TCP 协议是操作系统内核实现的,实际上没法改进。所以,他们选择在 UDP 协议的基础上,重新实现了一个不同的 TCP 协议,叫做 QUIC 协议</p>
<p>
谷歌想改进 TCP 协议,但是 TCP
协议是操作系统内核实现的,实际上没法改进。所以,他们选择在 UDP
协议的基础上,重新实现了一个不同的 TCP 协议,叫做 QUIC 协议
</p>
</div>
</section>

Expand Down
45 changes: 45 additions & 0 deletions src/cryptocurrency/bitcoin-ten-years.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@


# 🖼

## 回顾比特币十年(2008-2018)





![img](../public/images/tenyearsback.png)

![img](../public/images/tenyearsback2.png)

![img](../public/images/tenyearsback3.png)



##### 区块链的下一个十年



![image-20200119111039488](../public/images/image-20200119111039488.png)



**中本聪曾发表声明,20年后,比特币要么被广泛使用,要么被归零。**



![image-20200119113034766](../public/images/image-20200119113034766.png)





**区块链的这个十年里主角是比特币,我相信在现在的十年里将会有更多的角色参与进来,这里聚集了全世界最聪明的大脑和最具历史性的发明。我无法预知未来会怎样发展,但我相信历史的发展推动向前的,从来不是骗子,而是敢于冒险,勇于创新的人。**



![image-20200119112351542](../public/images/image-20200119112351542.png)




Loading

0 comments on commit 5d334c5

Please sign in to comment.