mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
add announcement bar to docs and minor styling update
This commit is contained in:
parent
0691c722c3
commit
7391b05c43
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div
|
||||
class="w-full top-bar bg-gradient-to-r from-[#bd34fe] to-[#ff3670] flex items-center text-center justify-center p-1 text-white"
|
||||
class="mb-4 w-full top-bar bg-gradient-to-r from-[#bd34fe] to-[#ff3670] flex items-center text-center justify-center p-1 text-white"
|
||||
>
|
||||
<p class="flex-grow text-center tracking-wide text-text">
|
||||
<a
|
||||
|
@ -25,6 +25,7 @@ export default {
|
||||
'home-hero-before': () => h(TopBar),
|
||||
'home-hero-info-before': () => h(ProductHuntBadge),
|
||||
'home-features-after': () => h(HomePage),
|
||||
'doc-before': () => h(TopBar),
|
||||
});
|
||||
},
|
||||
enhanceApp({ app, router }: EnhanceAppContext) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user