style on the welcome page.
This commit is contained in:
parent
abebfef132
commit
a7c6513231
3 changed files with 77 additions and 125 deletions
|
|
@ -121,7 +121,7 @@ import OverlayBadge from 'primevue/overlaybadge';
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="p-8 flex flex-col flex-auto">
|
<div class="p-4 flex flex-col flex-auto">
|
||||||
<div class="border-2 border-dashed border-surface rounded-border bg-surface-0 dark:bg-surface-950 flex-auto">
|
<div class="border-2 border-dashed border-surface rounded-border bg-surface-0 dark:bg-surface-950 flex-auto">
|
||||||
<RouterView />
|
<RouterView />
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -8,83 +8,82 @@ import SupportIcon from './icons/IconSupport.vue'
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<WelcomeItem>
|
<div class="list">
|
||||||
<template #icon>
|
<WelcomeItem>
|
||||||
<DocumentationIcon />
|
<template #icon>
|
||||||
</template>
|
<DocumentationIcon />
|
||||||
<template #heading>Documentation</template>
|
</template>
|
||||||
|
<template #heading>Documentation</template>
|
||||||
Vue’s
|
Vue’s
|
||||||
<a href="https://vuejs.org/" target="_blank" rel="noopener">official documentation</a>
|
<a href="https://vuejs.org/" target="_blank" rel="noopener">official documentation</a>
|
||||||
provides you with all information you need to get started.
|
provides you with all information you need to get started.
|
||||||
</WelcomeItem>
|
</WelcomeItem>
|
||||||
|
<WelcomeItem>
|
||||||
<WelcomeItem>
|
<template #icon>
|
||||||
<template #icon>
|
<ToolingIcon />
|
||||||
<ToolingIcon />
|
</template>
|
||||||
</template>
|
<template #heading>Tooling</template>
|
||||||
<template #heading>Tooling</template>
|
This project is served and bundled with
|
||||||
|
<a href="https://vite.dev/guide/features.html" target="_blank" rel="noopener">Vite</a>. The
|
||||||
This project is served and bundled with
|
recommended IDE setup is
|
||||||
<a href="https://vite.dev/guide/features.html" target="_blank" rel="noopener">Vite</a>. The
|
<a href="https://code.visualstudio.com/" target="_blank" rel="noopener">VSCode</a>
|
||||||
recommended IDE setup is
|
+
|
||||||
<a href="https://code.visualstudio.com/" target="_blank" rel="noopener">VSCode</a>
|
<a href="https://github.com/johnsoncodehk/volar" target="_blank" rel="noopener">Volar</a>. If
|
||||||
+
|
you need to test your components and web pages, check out
|
||||||
<a href="https://github.com/johnsoncodehk/volar" target="_blank" rel="noopener">Volar</a>. If
|
<a href="https://www.cypress.io/" target="_blank" rel="noopener">Cypress</a>
|
||||||
you need to test your components and web pages, check out
|
and
|
||||||
<a href="https://www.cypress.io/" target="_blank" rel="noopener">Cypress</a>
|
<a href="https://on.cypress.io/component" target="_blank" rel="noopener"
|
||||||
and
|
|
||||||
<a href="https://on.cypress.io/component" target="_blank" rel="noopener"
|
|
||||||
>Cypress Component Testing</a
|
>Cypress Component Testing</a
|
||||||
>.
|
>.
|
||||||
|
</WelcomeItem>
|
||||||
<br />
|
<WelcomeItem>
|
||||||
|
<template #icon>
|
||||||
More instructions are available in <code>README.md</code>.
|
<EcosystemIcon />
|
||||||
</WelcomeItem>
|
</template>
|
||||||
|
<template #heading>Ecosystem</template>
|
||||||
<WelcomeItem>
|
Get official tools and libraries for your project:
|
||||||
<template #icon>
|
<a href="https://pinia.vuejs.org/" target="_blank" rel="noopener">Pinia</a>,
|
||||||
<EcosystemIcon />
|
<a href="https://router.vuejs.org/" target="_blank" rel="noopener">Vue Router</a>,
|
||||||
</template>
|
<a href="https://test-utils.vuejs.org/" target="_blank" rel="noopener">Vue Test Utils</a>, and
|
||||||
<template #heading>Ecosystem</template>
|
<a href="https://github.com/vuejs/devtools" target="_blank" rel="noopener">Vue Dev Tools</a>. If
|
||||||
|
you need more resources, we suggest paying
|
||||||
Get official tools and libraries for your project:
|
<a href="https://github.com/vuejs/awesome-vue" target="_blank" rel="noopener">Awesome Vue</a>
|
||||||
<a href="https://pinia.vuejs.org/" target="_blank" rel="noopener">Pinia</a>,
|
a visit.
|
||||||
<a href="https://router.vuejs.org/" target="_blank" rel="noopener">Vue Router</a>,
|
</WelcomeItem>
|
||||||
<a href="https://test-utils.vuejs.org/" target="_blank" rel="noopener">Vue Test Utils</a>, and
|
<WelcomeItem>
|
||||||
<a href="https://github.com/vuejs/devtools" target="_blank" rel="noopener">Vue Dev Tools</a>. If
|
<template #icon>
|
||||||
you need more resources, we suggest paying
|
<CommunityIcon />
|
||||||
<a href="https://github.com/vuejs/awesome-vue" target="_blank" rel="noopener">Awesome Vue</a>
|
</template>
|
||||||
a visit.
|
<template #heading>Community</template>
|
||||||
</WelcomeItem>
|
Got stuck? Ask your question on
|
||||||
|
<a href="https://chat.vuejs.org" target="_blank" rel="noopener">Vue Land</a>, our official
|
||||||
<WelcomeItem>
|
Discord server, or
|
||||||
<template #icon>
|
<a href="https://stackoverflow.com/questions/tagged/vue.js" target="_blank" rel="noopener"
|
||||||
<CommunityIcon />
|
|
||||||
</template>
|
|
||||||
<template #heading>Community</template>
|
|
||||||
|
|
||||||
Got stuck? Ask your question on
|
|
||||||
<a href="https://chat.vuejs.org" target="_blank" rel="noopener">Vue Land</a>, our official
|
|
||||||
Discord server, or
|
|
||||||
<a href="https://stackoverflow.com/questions/tagged/vue.js" target="_blank" rel="noopener"
|
|
||||||
>StackOverflow</a
|
>StackOverflow</a
|
||||||
>. You should also subscribe to
|
>. You should also subscribe to
|
||||||
<a href="https://news.vuejs.org" target="_blank" rel="noopener">our mailing list</a>
|
<a href="https://news.vuejs.org" target="_blank" rel="noopener">our mailing list</a>
|
||||||
and follow the official
|
and follow the official
|
||||||
<a href="https://twitter.com/vuejs" target="_blank" rel="noopener">@vuejs</a>
|
<a href="https://twitter.com/vuejs" target="_blank" rel="noopener">@vuejs</a>
|
||||||
twitter account for latest news in the Vue world.
|
twitter account for latest news in the Vue world.
|
||||||
</WelcomeItem>
|
</WelcomeItem>
|
||||||
|
<WelcomeItem>
|
||||||
<WelcomeItem>
|
<template #icon>
|
||||||
<template #icon>
|
<SupportIcon />
|
||||||
<SupportIcon />
|
</template>
|
||||||
</template>
|
<template #heading>Support Vue</template>
|
||||||
<template #heading>Support Vue</template>
|
As an independent project, Vue relies on community backing for its sustainability. You can help
|
||||||
|
us by
|
||||||
As an independent project, Vue relies on community backing for its sustainability. You can help
|
<a href="https://vuejs.org/sponsor/" target="_blank" rel="noopener">becoming a sponsor</a>.
|
||||||
us by
|
</WelcomeItem>
|
||||||
<a href="https://vuejs.org/sponsor/" target="_blank" rel="noopener">becoming a sponsor</a>.
|
</div>
|
||||||
</WelcomeItem>
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
.list {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: flex-start;
|
||||||
|
gap: 2rem;
|
||||||
|
padding: 10px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -14,9 +14,7 @@
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.item {
|
.item {
|
||||||
margin-top: 2rem;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
position: relative;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.details {
|
.details {
|
||||||
|
|
@ -30,7 +28,6 @@ i {
|
||||||
place-content: center;
|
place-content: center;
|
||||||
width: 32px;
|
width: 32px;
|
||||||
height: 32px;
|
height: 32px;
|
||||||
|
|
||||||
color: var(--color-text);
|
color: var(--color-text);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -40,48 +37,4 @@ h3 {
|
||||||
margin-bottom: 0.4rem;
|
margin-bottom: 0.4rem;
|
||||||
color: var(--color-heading);
|
color: var(--color-heading);
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: 1024px) {
|
|
||||||
.item {
|
|
||||||
margin-top: 0;
|
|
||||||
padding: 0.4rem 0 1rem 80px;
|
|
||||||
}
|
|
||||||
|
|
||||||
i {
|
|
||||||
top: calc(50% - 25px);
|
|
||||||
left: -26px;
|
|
||||||
position: absolute;
|
|
||||||
border: 1px solid var(--color-border);
|
|
||||||
background: var(--color-background);
|
|
||||||
border-radius: 8px;
|
|
||||||
width: 50px;
|
|
||||||
height: 50px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.item:before {
|
|
||||||
content: ' ';
|
|
||||||
border-left: 1px solid var(--color-border);
|
|
||||||
position: absolute;
|
|
||||||
left: 0;
|
|
||||||
bottom: calc(50% + 25px);
|
|
||||||
height: calc(50% - 25px);
|
|
||||||
}
|
|
||||||
|
|
||||||
.item:after {
|
|
||||||
content: ' ';
|
|
||||||
border-left: 1px solid var(--color-border);
|
|
||||||
position: absolute;
|
|
||||||
left: 0;
|
|
||||||
top: calc(50% + 25px);
|
|
||||||
height: calc(50% - 25px);
|
|
||||||
}
|
|
||||||
|
|
||||||
.item:first-of-type:before {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.item:last-of-type:after {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue