mirror of
https://github.com/centau/vide.git
synced 2026-08-20 14:41:37 +00:00
Removed banner, removed copyright notice, reduced home page
This commit is contained in:
parent
1554325efb
commit
e51b0877fd
7 changed files with 9 additions and 172 deletions
|
|
@ -25,7 +25,6 @@ export default withMermaid({
|
||||||
|
|
||||||
footer: {
|
footer: {
|
||||||
message: 'Released under the MIT License.',
|
message: 'Released under the MIT License.',
|
||||||
copyright: 'Copyright © 2023-present centau'
|
|
||||||
},
|
},
|
||||||
|
|
||||||
// https://vitepress.dev/reference/default-theme-config
|
// https://vitepress.dev/reference/default-theme-config
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,3 @@
|
||||||
.home > * > .plugin-tabs--tab-list {
|
|
||||||
background-color: var(--vp-c-bg-alt);
|
|
||||||
}
|
|
||||||
|
|
||||||
.home > * > .VPNavBar:not(.top) {
|
.home > * > .VPNavBar:not(.top) {
|
||||||
backdrop-filter: blur(0.5rem);
|
backdrop-filter: blur(0.5rem);
|
||||||
background-color: transparent !important;
|
background-color: transparent !important;
|
||||||
|
|
@ -16,3 +12,8 @@
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.VPHome {
|
||||||
|
margin-top: auto !important;
|
||||||
|
margin-bottom: auto !important;
|
||||||
|
}
|
||||||
|
|
@ -1,14 +1,8 @@
|
||||||
// .vitepress/theme/index.js
|
// .vitepress/theme/index.js
|
||||||
import DefaultTheme from 'vitepress/theme'
|
import DefaultTheme from 'vitepress/theme'
|
||||||
import layout from './layout.vue'
|
|
||||||
import { enhanceAppWithTabs } from 'vitepress-plugin-tabs/client'
|
|
||||||
import './vars.css'
|
import './vars.css'
|
||||||
import './home.css'
|
import './home.css'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
extends: DefaultTheme,
|
extends: DefaultTheme,
|
||||||
enhanceApp({ app }) {
|
|
||||||
enhanceAppWithTabs(app)
|
|
||||||
},
|
|
||||||
Layout: layout
|
|
||||||
}
|
}
|
||||||
|
|
@ -1,16 +0,0 @@
|
||||||
<!--.vitepress/theme/MyLayout.vue-->
|
|
||||||
<script setup>
|
|
||||||
import DefaultTheme from 'vitepress/theme'
|
|
||||||
|
|
||||||
const { Layout } = DefaultTheme
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<template>
|
|
||||||
<Layout>
|
|
||||||
<template #layout-top>
|
|
||||||
<div class="banner">
|
|
||||||
Vide is 0.x software and may go through breaking changes through different versions
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
</Layout>
|
|
||||||
</template>
|
|
||||||
|
|
@ -1,39 +1,3 @@
|
||||||
/* Banner Stuff */
|
|
||||||
|
|
||||||
.banner {
|
|
||||||
background-color: var(--vp-button-brand-bg);
|
|
||||||
color: var(--vp-button-brand-text);
|
|
||||||
width: 100%;
|
|
||||||
text-align: center;
|
|
||||||
position: fixed;
|
|
||||||
bottom: 0px;
|
|
||||||
z-index: 50;
|
|
||||||
}
|
|
||||||
|
|
||||||
.advertising {
|
|
||||||
margin: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media only screen and (min-width: 768px) {
|
|
||||||
.advertising {
|
|
||||||
width: calc(100% - 8rem);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media only screen and (min-width: 960px) {
|
|
||||||
.banner {
|
|
||||||
position: fixed;
|
|
||||||
margin-top: var(--vp-nav-height);
|
|
||||||
bottom: auto;
|
|
||||||
}
|
|
||||||
#VPSidebarNav {
|
|
||||||
margin-top: 1.5rem;
|
|
||||||
}
|
|
||||||
.VPLocalNav {
|
|
||||||
top: calc(var(--vp-nav-height) + 1.5rem) !important;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Colors */
|
/* Colors */
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
|
|
@ -80,97 +44,3 @@
|
||||||
--vp-c-divider: #1d273c;
|
--vp-c-divider: #1d273c;
|
||||||
--vp-c-gutter: #181d27;
|
--vp-c-gutter: #181d27;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Fonts */
|
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: "JetBrains Mono";
|
|
||||||
src: url("https://cdn.jsdelivr.net/gh/JetBrains/JetBrainsMono/web/woff2/JetBrainsMono-Bold-Italic.woff2")
|
|
||||||
format("woff2"),
|
|
||||||
url("https://cdn.jsdelivr.net/gh/JetBrains/JetBrainsMono/web/woff/JetBrainsMono-Bold-Italic.woff")
|
|
||||||
format("woff");
|
|
||||||
font-weight: 700;
|
|
||||||
font-style: italic;
|
|
||||||
font-display: swap;
|
|
||||||
}
|
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: "JetBrains Mono";
|
|
||||||
src: url("https://cdn.jsdelivr.net/gh/JetBrains/JetBrainsMono/web/woff2/JetBrainsMono-Bold.woff2")
|
|
||||||
format("woff2"),
|
|
||||||
url("https://cdn.jsdelivr.net/gh/JetBrains/JetBrainsMono/web/woff/JetBrainsMono-Bold.woff")
|
|
||||||
format("woff");
|
|
||||||
font-weight: 700;
|
|
||||||
font-style: normal;
|
|
||||||
font-display: swap;
|
|
||||||
}
|
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: "JetBrains Mono";
|
|
||||||
src: url("https://cdn.jsdelivr.net/gh/JetBrains/JetBrainsMono/web/woff2/JetBrainsMono-ExtraBold-Italic.woff2")
|
|
||||||
format("woff2"),
|
|
||||||
url("https://cdn.jsdelivr.net/gh/JetBrains/JetBrainsMono/web/woff/JetBrainsMono-ExtraBold-Italic.woff")
|
|
||||||
format("woff");
|
|
||||||
font-weight: 800;
|
|
||||||
font-style: italic;
|
|
||||||
font-display: swap;
|
|
||||||
}
|
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: "JetBrains Mono";
|
|
||||||
src: url("https://cdn.jsdelivr.net/gh/JetBrains/JetBrainsMono/web/woff2/JetBrainsMono-ExtraBold.woff2")
|
|
||||||
format("woff2"),
|
|
||||||
url("https://cdn.jsdelivr.net/gh/JetBrains/JetBrainsMono/web/woff/JetBrainsMono-ExtraBold.woff")
|
|
||||||
format("woff");
|
|
||||||
font-weight: 800;
|
|
||||||
font-style: normal;
|
|
||||||
font-display: swap;
|
|
||||||
}
|
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: "JetBrains Mono";
|
|
||||||
src: url("https://cdn.jsdelivr.net/gh/JetBrains/JetBrainsMono/web/woff2/JetBrainsMono-Italic.woff2")
|
|
||||||
format("woff2"),
|
|
||||||
url("https://cdn.jsdelivr.net/gh/JetBrains/JetBrainsMono/web/woff/JetBrainsMono-Italic.woff")
|
|
||||||
format("woff");
|
|
||||||
font-weight: 400;
|
|
||||||
font-style: italic;
|
|
||||||
font-display: swap;
|
|
||||||
}
|
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: "JetBrains Mono";
|
|
||||||
src: url("https://cdn.jsdelivr.net/gh/JetBrains/JetBrainsMono/web/woff2/JetBrainsMono-Medium-Italic.woff2")
|
|
||||||
format("woff2"),
|
|
||||||
url("https://cdn.jsdelivr.net/gh/JetBrains/JetBrainsMono/web/woff/JetBrainsMono-Medium-Italic.woff")
|
|
||||||
format("woff");
|
|
||||||
font-weight: 500;
|
|
||||||
font-style: italic;
|
|
||||||
font-display: swap;
|
|
||||||
}
|
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: "JetBrains Mono";
|
|
||||||
src: url("https://cdn.jsdelivr.net/gh/JetBrains/JetBrainsMono/web/woff2/JetBrainsMono-Medium.woff2")
|
|
||||||
format("woff2"),
|
|
||||||
url("https://cdn.jsdelivr.net/gh/JetBrains/JetBrainsMono/web/woff/JetBrainsMono-Medium.woff")
|
|
||||||
format("woff");
|
|
||||||
font-weight: 500;
|
|
||||||
font-style: normal;
|
|
||||||
font-display: swap;
|
|
||||||
}
|
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: "JetBrains Mono";
|
|
||||||
src: url("https://cdn.jsdelivr.net/gh/JetBrains/JetBrainsMono/web/woff2/JetBrainsMono-Regular.woff2")
|
|
||||||
format("woff2"),
|
|
||||||
url("https://cdn.jsdelivr.net/gh/JetBrains/JetBrainsMono/web/woff/JetBrainsMono-Regular.woff")
|
|
||||||
format("woff");
|
|
||||||
font-weight: 400;
|
|
||||||
font-style: normal;
|
|
||||||
font-display: swap;
|
|
||||||
}
|
|
||||||
|
|
||||||
:root {
|
|
||||||
--vp-font-family-mono: "JetBrains Mono";
|
|
||||||
}
|
|
||||||
|
|
|
||||||
|
|
@ -8,25 +8,15 @@ next:
|
||||||
|
|
||||||
hero:
|
hero:
|
||||||
name: "Vide"
|
name: "Vide"
|
||||||
tagline: A reactive UI and state library for Luau.
|
tagline: A reactive UI library for Luau.
|
||||||
image:
|
image:
|
||||||
src: /logo.svg
|
src: /logo.svg
|
||||||
actions:
|
actions:
|
||||||
- theme: brand
|
- theme: brand
|
||||||
text: What is Vide?
|
|
||||||
link: /tut/crash-course/1-introduction
|
|
||||||
- theme: alt
|
|
||||||
text: Crash Course
|
text: Crash Course
|
||||||
link: /tut/crash-course/2-creation
|
link: /tut/crash-course/1-introduction
|
||||||
- theme: alt
|
- theme: alt
|
||||||
text: API Reference
|
text: API Reference
|
||||||
link: /api/reactivity-core
|
link: /api/reactivity-core
|
||||||
|
|
||||||
features:
|
|
||||||
- title: Reactive State Management
|
|
||||||
details: Built upon Solid and makes building reactive applications simple.
|
|
||||||
- title: Declarative and simple
|
|
||||||
details: Syntax designed to be minimal while also being easy to understand.
|
|
||||||
- title: Fully Luau typecheckable
|
|
||||||
details: Luau's typechecker catches type errors before you even begin testing.
|
|
||||||
---
|
---
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,6 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"vitepress": "1.4.1",
|
"vitepress": "1.4.1",
|
||||||
"vitepress-plugin-mermaid": "2.0.17",
|
"vitepress-plugin-mermaid": "2.0.17"
|
||||||
"vitepress-plugin-tabs": "^0.5.0"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue