From e30752e59013997351399420412785973e56fd2f Mon Sep 17 00:00:00 2001 From: Ntkskwk Date: Mon, 2 Sep 2024 21:34:34 +0800 Subject: feat(docs): add script for run dev server with Makefile --- docs/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/Makefile b/docs/Makefile index 6fdb78c..bdf65e8 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -23,4 +23,8 @@ help: # update translation command translate: - @$(SPHINXINTL) update -p ./build/gettext -l $(lang) $(O) \ No newline at end of file + @$(SPHINXINTL) update -p ./build/gettext -l $(lang) $(O) + +# build for debug +dev: + sphinx-autobuild source _build/html \ No newline at end of file -- cgit v1.2.3-70-g09d2 From 9b1eee076802ac87a7ccaf30cd135a2c7198c60a Mon Sep 17 00:00:00 2001 From: Ntkskwk Date: Mon, 2 Sep 2024 21:36:49 +0800 Subject: style(docs): Resolve warnings about underscores being too short --- docs/requirements.txt | 3 +- docs/source/about/complying_with_licenses.rst | 8 ++--- docs/source/about/faq.rst | 38 ++++++++++------------ docs/source/about/introduction.rst | 8 ++--- docs/source/about/list_of_features.rst | 16 ++++----- docs/source/about/release_policy.rst | 12 +++---- docs/source/about/system_requirements.rst | 4 +-- docs/source/community/code-of-conduct.rst | 10 +++--- .../getting_started/first_language_model/index.rst | 2 +- .../getting_started/first_rule_book_impl/index.rst | 2 +- docs/source/index.rst | 2 +- docs/source/tutorials/logshader/index.rst | 2 +- 12 files changed, 53 insertions(+), 54 deletions(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index 899492a..3945c31 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -4,4 +4,5 @@ myst-parser>=0.18.1 sphinx>=5.3.0 tomli sphinx_design -sphinx-intl>=2.1.0 \ No newline at end of file +sphinx-intl>=2.1.0 +hydro-roll[dev] \ No newline at end of file diff --git a/docs/source/about/complying_with_licenses.rst b/docs/source/about/complying_with_licenses.rst index 1402bc7..8fa2ae2 100644 --- a/docs/source/about/complying_with_licenses.rst +++ b/docs/source/about/complying_with_licenses.rst @@ -2,13 +2,13 @@ ========== 什么是许可证? -------------- +--------------- 需求 ----- +--------------- 包含 ----- +--------------- 第三方许可证 ------------- \ No newline at end of file +--------------- \ No newline at end of file diff --git a/docs/source/about/faq.rst b/docs/source/about/faq.rst index 016e962..2c89e9a 100644 --- a/docs/source/about/faq.rst +++ b/docs/source/about/faq.rst @@ -2,57 +2,55 @@ ======== 可以用水系做什么?需要花多少钱?有哪些许可条款? ---------------------------------------------- +---------------------------------------------------------------- 水系支持哪些平台? ----------------- +-------------------------------- 水系支持哪些编程语言? --------------------- +-------------------------------- Nivis 是什么?为什么要用它? --------------------------- +-------------------------------- 创建 Nivis 背后的动机是什么? ---------------------------- +-------------------------------- 水系会支持【此处插入赵骰、星骰、溯洄/shiki 等闭源或半闭源骰系/核心/驱动的名字】的模块化吗? -------------------------------------------------------------------------------------- +--------------------------------------------------------------------------------------------------------------------- 如何扩展水系? -------------- +------------------------------------------------------------------ 如何在我的系统上安装 HydroRoll 水系框架(进行桌面集成)? ------------------------------------------------------- +------------------------------------------------------------------ HydroRoll 水系是绿色应用/软件/程序吗? ------------------------------------- +------------------------------------------------------------------ 为什么水系基于规则包构建? ------------------------- +------------------------------------------------------------------ 如何适配多个平台、协议,其他骰系的模块化,资产应做哪些处理? --------------------------------------------------------- +------------------------------------------------------------------ HydroRoll 的下一个版本什么时候发布? --------------------------------------- +------------------------------------------------------------------ 新的骰系项目/模型项目使用哪个版本的 HydroRoll? ---------------------------------------------- +------------------------------------------------------------------ 是否需要将我的项目升级到 HydroRoll 最新版本? ------------------------------------------- +------------------------------------------------------------------ 我想要贡献!该如何开始? ----------------------- +------------------------------------------------------------------ 我有一个关于 HydroRoll 的好主意,该如何分享它? ---------------------------------------------- +------------------------------------------------------------------ 能否用 HydroRoll 创建非 TRPG/TTRPG 系统? ----------------------------------------- +------------------------------------------------------------------ 是否能够将 HydroRoll 作为库使用? -------------------------------- - - +------------------------------------------------------------------ diff --git a/docs/source/about/introduction.rst b/docs/source/about/introduction.rst index bde8bed..02c627a 100644 --- a/docs/source/about/introduction.rst +++ b/docs/source/about/introduction.rst @@ -2,15 +2,15 @@ ==== 在开始之前 ---------- +---------------------------- 关于 HydroRoll 水系 ------------------- +---------------------------- 文档结构 -------- +---------------------------- 关于本文档 ---------- +---------------------------- diff --git a/docs/source/about/list_of_features.rst b/docs/source/about/list_of_features.rst index 89b4c6a..6bfa49f 100644 --- a/docs/source/about/list_of_features.rst +++ b/docs/source/about/list_of_features.rst @@ -17,25 +17,25 @@ -------- 模块化 ------- +---------------- 去中心化 --------- +---------------- 跨平台 ------- +---------------- 脚本插件 --------- +---------------- 掷骰表达式解析 -------------- +---------------- 人工智能 --------- +---------------- 渐进式 ------- +---------------- 杂项 ----- \ No newline at end of file +---------------- \ No newline at end of file diff --git a/docs/source/about/release_policy.rst b/docs/source/about/release_policy.rst index bf4d265..33a60da 100644 --- a/docs/source/about/release_policy.rst +++ b/docs/source/about/release_policy.rst @@ -2,19 +2,19 @@ ============ HydroRoll 版本 --------------- +------------------------------------------ 发布支持时间表 --------------- +------------------------------------------ 新项目应该使用哪个版本? ----------------------- +------------------------------------------ 我应该把项目升级到新版本的水系框架吗? ------------------------------------ +------------------------------------------ 下一个版本什么时候发布? ----------------------- +------------------------------------------ 水系框架版本之间的兼容标准是怎样的? ---------------------------------- \ No newline at end of file +------------------------------------------ \ No newline at end of file diff --git a/docs/source/about/system_requirements.rst b/docs/source/about/system_requirements.rst index 8f4b883..3151c01 100644 --- a/docs/source/about/system_requirements.rst +++ b/docs/source/about/system_requirements.rst @@ -2,7 +2,7 @@ ======== 开发水系 --------- +---------------- 运行水系 --------- \ No newline at end of file +---------------- \ No newline at end of file diff --git a/docs/source/community/code-of-conduct.rst b/docs/source/community/code-of-conduct.rst index 977e032..e9da725 100644 --- a/docs/source/community/code-of-conduct.rst +++ b/docs/source/community/code-of-conduct.rst @@ -2,7 +2,7 @@ ========== 我们的承诺 ---------- +------------------ 身为社区成员、贡献者和领袖,我们承诺使社区参与者不受骚扰,无论其年龄、体型、可见或不可见的缺陷、族裔、性征、性别认同和表达、经验水平、教育程度、社会与经济地位、国籍、相貌、种族、种姓、肤色、宗教信仰、性倾向或性取向如何。 @@ -10,7 +10,7 @@ 我们的准则 ---------- +------------------ 有助于为我们的社区创造积极环境的行为例子包括但不限于: @@ -30,7 +30,7 @@ 责任和权力 ---------- +------------------ 社区领袖有责任解释和落实我们所认可的行为准则,并妥善公正地对他们认为不当、威胁、冒犯或有害的任何行为采取纠正措施。 @@ -38,7 +38,7 @@ 适用范围 --------- +----------------- 本行为准则适用于所有社区场合,也适用于在公共场所代表社区时的个人。 @@ -46,7 +46,7 @@ 监督 ----- +-------- 辱骂、骚扰或其他不可接受的行为可通过 [插入联系方式] 向负责监督的社区领袖报告。 所有投诉都将得到及时和公平的审查和调查。 diff --git a/docs/source/getting_started/first_language_model/index.rst b/docs/source/getting_started/first_language_model/index.rst index 75e9a7b..98d5a59 100644 --- a/docs/source/getting_started/first_language_model/index.rst +++ b/docs/source/getting_started/first_language_model/index.rst @@ -1,2 +1,2 @@ 你的第一个智能语言模型 -===================== \ No newline at end of file +========================================== \ No newline at end of file diff --git a/docs/source/getting_started/first_rule_book_impl/index.rst b/docs/source/getting_started/first_rule_book_impl/index.rst index 3a5ad87..73416b9 100644 --- a/docs/source/getting_started/first_rule_book_impl/index.rst +++ b/docs/source/getting_started/first_rule_book_impl/index.rst @@ -1,2 +1,2 @@ 你的第一个规则书实现 -=================== \ No newline at end of file +====================================== \ No newline at end of file diff --git a/docs/source/index.rst b/docs/source/index.rst index 3c4827b..0894b44 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -1,7 +1,7 @@ .. hide-toc: true 跨平台、多模态、高度自定义的骰系开发框架 -======================================= +=========================================================== .. include:: ../../README.rst :start-after: start-index diff --git a/docs/source/tutorials/logshader/index.rst b/docs/source/tutorials/logshader/index.rst index d62c5f7..4c84003 100644 --- a/docs/source/tutorials/logshader/index.rst +++ b/docs/source/tutorials/logshader/index.rst @@ -1,2 +1,2 @@ 跑团日志记录着色器 -================= \ No newline at end of file +================================== \ No newline at end of file -- cgit v1.2.3-70-g09d2 From e960ff10b9e9a0d8c9842d23aa278d524b7de124 Mon Sep 17 00:00:00 2001 From: Ntkskwk Date: Mon, 2 Sep 2024 21:39:35 +0800 Subject: chore(deps): remove IDE-related files from .gitignore --- .gitignore | 10 ---------- .vscode/extensions.json | 10 ++++++++++ 2 files changed, 10 insertions(+), 10 deletions(-) create mode 100644 .vscode/extensions.json diff --git a/.gitignore b/.gitignore index e7c4dfa..d1282be 100644 --- a/.gitignore +++ b/.gitignore @@ -98,10 +98,6 @@ dmypy.json # Pyre type checker .pyre/ -# Project -.idea -.vscode - # Docs node_modules/ @@ -174,12 +170,6 @@ coverage.xml # Sphinx documentation docs/_build/ -# PyCharm -.idea/ - -# VSCode -.vscode/ - # Pyenv .python-version diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..c3e98bc --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,10 @@ +{ + "recommendations": [ + "lextudio.restructuredtext", + "esbenp.prettier-vscode", + "dbaeumer.vscode-eslint", + "golang.go", + "sumneko.lua", + "lextudio.iis" + ] +} \ No newline at end of file -- cgit v1.2.3-70-g09d2 From 1605bd66ab97a206e4698954d47b10d87b09ec2d Mon Sep 17 00:00:00 2001 From: Ntkskwk Date: Tue, 3 Sep 2024 00:03:19 +0800 Subject: feat: add router-guards for site --- site/src/App.vue | 48 ++++------------------------------------------ site/src/router/index.ts | 17 ++++++---------- site/src/views/404.vue | 18 +++++++++++++++++ site/src/views/Welcome.vue | 47 +++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 75 insertions(+), 55 deletions(-) create mode 100644 site/src/views/404.vue create mode 100644 site/src/views/Welcome.vue diff --git a/site/src/App.vue b/site/src/App.vue index c70a3fa..88a4d52 100644 --- a/site/src/App.vue +++ b/site/src/App.vue @@ -1,47 +1,7 @@ - - - + \ No newline at end of file diff --git a/site/src/router/index.ts b/site/src/router/index.ts index 65353da..5b90a51 100644 --- a/site/src/router/index.ts +++ b/site/src/router/index.ts @@ -4,18 +4,13 @@ import { createRouter, createWebHistory } from 'vue-router' const routes = [ { path: '/', - component: () => import('@/layouts/default/Default.vue'), - children: [ - { - path: '', - name: 'Home', - // route level code-splitting - // this generates a separate chunk (about.[hash].js) for this route - // which is lazy-loaded when the route is visited. - component: () => import(/* webpackChunkName: "home" */ '@/views/Home.vue'), - }, - ], + component: () => import('@/views/Welcome.vue'), }, + { + path: '/:path(.*)', + name: '404', + component: () => import('@/views/404.vue'), + } ] const router = createRouter({ diff --git a/site/src/views/404.vue b/site/src/views/404.vue new file mode 100644 index 0000000..7462697 --- /dev/null +++ b/site/src/views/404.vue @@ -0,0 +1,18 @@ + + + + + diff --git a/site/src/views/Welcome.vue b/site/src/views/Welcome.vue new file mode 100644 index 0000000..4a608ee --- /dev/null +++ b/site/src/views/Welcome.vue @@ -0,0 +1,47 @@ + + + + + -- cgit v1.2.3-70-g09d2 From d77828d97ee98792e50a034f905cd3894807d5ff Mon Sep 17 00:00:00 2001 From: Ntkskwk Date: Tue, 3 Sep 2024 00:05:38 +0800 Subject: feat: add Vue code snippets for faster development --- .vscode/extensions.json | 3 ++- .vscode/vue3.0.code-snippets | 22 ++++++++++++++++++++++ .vscode/vue3.2.code-snippets | 17 +++++++++++++++++ .vscode/vue3.3.code-snippets | 20 ++++++++++++++++++++ 4 files changed, 61 insertions(+), 1 deletion(-) create mode 100644 .vscode/vue3.0.code-snippets create mode 100644 .vscode/vue3.2.code-snippets create mode 100644 .vscode/vue3.3.code-snippets diff --git a/.vscode/extensions.json b/.vscode/extensions.json index c3e98bc..658ca8a 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -5,6 +5,7 @@ "dbaeumer.vscode-eslint", "golang.go", "sumneko.lua", - "lextudio.iis" + "lextudio.iis", + "vue.volar" ] } \ No newline at end of file diff --git a/.vscode/vue3.0.code-snippets b/.vscode/vue3.0.code-snippets new file mode 100644 index 0000000..bb43589 --- /dev/null +++ b/.vscode/vue3.0.code-snippets @@ -0,0 +1,22 @@ +{ + "Vue3.0快速生成模板": { + "scope": "vue", + "prefix": "Vue3.0", + "body": [ + "\n", + "\n", + "", + "$2" + ], + "description": "Vue3.0" + } +} diff --git a/.vscode/vue3.2.code-snippets b/.vscode/vue3.2.code-snippets new file mode 100644 index 0000000..2cebb46 --- /dev/null +++ b/.vscode/vue3.2.code-snippets @@ -0,0 +1,17 @@ +{ + "Vue3.2+快速生成模板": { + "scope": "vue", + "prefix": "Vue3.2+", + "body": [ + "\n", + "\n", + "", + "$2" + ], + "description": "Vue3.2+" + } +} diff --git a/.vscode/vue3.3.code-snippets b/.vscode/vue3.3.code-snippets new file mode 100644 index 0000000..dc7a106 --- /dev/null +++ b/.vscode/vue3.3.code-snippets @@ -0,0 +1,20 @@ +{ + "Vue3.3+defineOptions快速生成模板": { + "scope": "vue", + "prefix": "Vue3.3+", + "body": [ + "\n", + "\n", + "", + "$2" + ], + "description": "Vue3.3+defineOptions快速生成模板" + } +} -- cgit v1.2.3-70-g09d2 From a1a20e51d6c9efea406cf18facf707ea50e3d18c Mon Sep 17 00:00:00 2001 From: Ntkskwk Date: Tue, 3 Sep 2024 07:41:34 +0800 Subject: refactor: Optimize the structure of the code --- site/src/components/ChangeLog.vue | 61 --------- site/src/components/Left.vue | 84 ------------- site/src/components/Right.vue | 203 ------------------------------ site/src/components/RightPage1.vue | 65 ---------- site/src/components/TheWelcome.vue | 88 ------------- site/src/components/WelcomeItem.vue | 87 ------------- site/src/router/index.ts | 2 +- site/src/views/Home.vue | 7 -- site/src/views/Welcome.vue | 47 ------- site/src/views/index/Left.vue | 84 +++++++++++++ site/src/views/index/Notepad/changelog.ts | 16 +++ site/src/views/index/Notepad/index.vue | 45 +++++++ site/src/views/index/Right.vue | 160 +++++++++++++++++++++++ site/src/views/index/index.vue | 47 +++++++ 14 files changed, 353 insertions(+), 643 deletions(-) delete mode 100644 site/src/components/ChangeLog.vue delete mode 100644 site/src/components/Left.vue delete mode 100644 site/src/components/Right.vue delete mode 100644 site/src/components/RightPage1.vue delete mode 100644 site/src/components/TheWelcome.vue delete mode 100644 site/src/components/WelcomeItem.vue delete mode 100644 site/src/views/Home.vue delete mode 100644 site/src/views/Welcome.vue create mode 100644 site/src/views/index/Left.vue create mode 100644 site/src/views/index/Notepad/changelog.ts create mode 100644 site/src/views/index/Notepad/index.vue create mode 100644 site/src/views/index/Right.vue create mode 100644 site/src/views/index/index.vue diff --git a/site/src/components/ChangeLog.vue b/site/src/components/ChangeLog.vue deleted file mode 100644 index e58ee39..0000000 --- a/site/src/components/ChangeLog.vue +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - - diff --git a/site/src/components/Left.vue b/site/src/components/Left.vue deleted file mode 100644 index 672ba36..0000000 --- a/site/src/components/Left.vue +++ /dev/null @@ -1,84 +0,0 @@ - - - - - diff --git a/site/src/components/Right.vue b/site/src/components/Right.vue deleted file mode 100644 index 055d11b..0000000 --- a/site/src/components/Right.vue +++ /dev/null @@ -1,203 +0,0 @@ - - - - - diff --git a/site/src/components/RightPage1.vue b/site/src/components/RightPage1.vue deleted file mode 100644 index 5b93ea8..0000000 --- a/site/src/components/RightPage1.vue +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - - diff --git a/site/src/components/TheWelcome.vue b/site/src/components/TheWelcome.vue deleted file mode 100644 index 49d8f73..0000000 --- a/site/src/components/TheWelcome.vue +++ /dev/null @@ -1,88 +0,0 @@ - - - diff --git a/site/src/components/WelcomeItem.vue b/site/src/components/WelcomeItem.vue deleted file mode 100644 index 6d7086a..0000000 --- a/site/src/components/WelcomeItem.vue +++ /dev/null @@ -1,87 +0,0 @@ - - - diff --git a/site/src/router/index.ts b/site/src/router/index.ts index 5b90a51..38c65fd 100644 --- a/site/src/router/index.ts +++ b/site/src/router/index.ts @@ -4,7 +4,7 @@ import { createRouter, createWebHistory } from 'vue-router' const routes = [ { path: '/', - component: () => import('@/views/Welcome.vue'), + component: () => import('@/views/index/index.vue'), }, { path: '/:path(.*)', diff --git a/site/src/views/Home.vue b/site/src/views/Home.vue deleted file mode 100644 index f07e0c8..0000000 --- a/site/src/views/Home.vue +++ /dev/null @@ -1,7 +0,0 @@ - - - diff --git a/site/src/views/Welcome.vue b/site/src/views/Welcome.vue deleted file mode 100644 index 4a608ee..0000000 --- a/site/src/views/Welcome.vue +++ /dev/null @@ -1,47 +0,0 @@ - - - - - diff --git a/site/src/views/index/Left.vue b/site/src/views/index/Left.vue new file mode 100644 index 0000000..f774223 --- /dev/null +++ b/site/src/views/index/Left.vue @@ -0,0 +1,84 @@ + + + + + diff --git a/site/src/views/index/Notepad/changelog.ts b/site/src/views/index/Notepad/changelog.ts new file mode 100644 index 0000000..111f8f2 --- /dev/null +++ b/site/src/views/index/Notepad/changelog.ts @@ -0,0 +1,16 @@ +import axios from 'axios'; + +export const getChangeLog = async() => +{ + const changeLog = axios.get('https://api.github.com/repos/HydroRoll-Team/HydroRoll/releases/latest') + .then(res => { + console.log(res.data); + const ChangeLogMessage ="## "+ res.data['tag_name']+"\n"+res.data['body']; + return ChangeLogMessage; + }) + .catch(err => { + console.log(err); + return err.toString(); + }) + return changeLog; +} diff --git a/site/src/views/index/Notepad/index.vue b/site/src/views/index/Notepad/index.vue new file mode 100644 index 0000000..c4c82aa --- /dev/null +++ b/site/src/views/index/Notepad/index.vue @@ -0,0 +1,45 @@ + + + + + + + diff --git a/site/src/views/index/Right.vue b/site/src/views/index/Right.vue new file mode 100644 index 0000000..e0a70e1 --- /dev/null +++ b/site/src/views/index/Right.vue @@ -0,0 +1,160 @@ + + + + + diff --git a/site/src/views/index/index.vue b/site/src/views/index/index.vue new file mode 100644 index 0000000..ed34b4f --- /dev/null +++ b/site/src/views/index/index.vue @@ -0,0 +1,47 @@ + + + + + -- cgit v1.2.3-70-g09d2 From 7b6a0d472c88f55e6f31aa633099f96cd28be8b5 Mon Sep 17 00:00:00 2001 From: Ntkskwk Date: Tue, 3 Sep 2024 07:43:36 +0800 Subject: chore: solve the anomalies of appearance --- site/src/assets/base.css | 4 ++-- site/src/assets/main.css | 4 ++-- site/src/views/index/Right.vue | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/site/src/assets/base.css b/site/src/assets/base.css index fe48a2f..9c513a5 100644 --- a/site/src/assets/base.css +++ b/site/src/assets/base.css @@ -14,10 +14,10 @@ /*--vt-c-indigo: #2c3e50;*/ --vt-c-indigo: rgba(255,255,255,0.5); - --vt-c-divider-light-1: rgba(60, 60, 60, 0.29); + --vt-c-divider-light-1: rgba(60, 60, 60); /*边框色*/ /*--vt-c-divider-light-2: rgba(60, 60, 60, 0.12);*/ - --vt-c-divider-light-2: rgba(255, 255, 255, 0.12); + --vt-c-divider-light-2: rgba(150, 150, 150); --vt-c-divider-dark-1: rgba(84, 84, 84, 0.65); --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48); diff --git a/site/src/assets/main.css b/site/src/assets/main.css index 996e651..890703f 100644 --- a/site/src/assets/main.css +++ b/site/src/assets/main.css @@ -1,7 +1,7 @@ @import './base.css'; #app { - max-width: 1280px; + max-width: 90dvi; margin: 0 auto; padding: 2rem; @@ -25,7 +25,7 @@ a, } } -@media (min-width: 1024px) { +@media screen and (orientation:landscape) { body { display: flex; place-items: center; diff --git a/site/src/views/index/Right.vue b/site/src/views/index/Right.vue index e0a70e1..ba8f294 100644 --- a/site/src/views/index/Right.vue +++ b/site/src/views/index/Right.vue @@ -141,7 +141,7 @@ i { // 画白线 .messageBar:after { content: ' '; - border-left: 1px solid var(--vt-c-divider-light-2); + border-left: 1px solid var(--vt-c-divider-dark-2); position: absolute; left: 0; top: calc(15%); -- cgit v1.2.3-70-g09d2 From 731d318b4d5f279ea58f0688353a011a41532f42 Mon Sep 17 00:00:00 2001 From: Ntkskwk Date: Tue, 3 Sep 2024 08:28:40 +0800 Subject: feat: add video background to index page --- site/src/assets/video/bg.mp4 | Bin 0 -> 877575 bytes site/src/views/index/index.vue | 13 +++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 site/src/assets/video/bg.mp4 diff --git a/site/src/assets/video/bg.mp4 b/site/src/assets/video/bg.mp4 new file mode 100644 index 0000000..37e71d2 Binary files /dev/null and b/site/src/assets/video/bg.mp4 differ diff --git a/site/src/views/index/index.vue b/site/src/views/index/index.vue index ed34b4f..edba96f 100644 --- a/site/src/views/index/index.vue +++ b/site/src/views/index/index.vue @@ -13,6 +13,7 @@ import Right from './Right.vue'
+
@@ -44,4 +45,16 @@ header { flex-wrap: wrap; } } + +video{ + position: fixed; + right: 0; + bottom: 0; + min-width: 100%; + min-height: 100%; + width: auto; + height: auto; + z-index: -100; + filter: grayscale(20%); +} -- cgit v1.2.3-70-g09d2