fix: 🐞 flux note
reload page
This commit is contained in:
@@ -22,9 +22,7 @@
|
|||||||
<line x1="5" y1="12" x2="9" y2="8" />
|
<line x1="5" y1="12" x2="9" y2="8" />
|
||||||
</svg>
|
</svg>
|
||||||
</router-link>
|
</router-link>
|
||||||
<theme-swap />
|
|
||||||
<!-- <router-link
|
<!-- <router-link
|
||||||
class="special-folder"
|
|
||||||
:to="{ name: 'SpacedRepetitionCard', params: { user, repo } }"
|
:to="{ name: 'SpacedRepetitionCard', params: { user, repo } }"
|
||||||
>
|
>
|
||||||
<svg
|
<svg
|
||||||
@@ -47,10 +45,7 @@
|
|||||||
<line x1="7" y1="16" x2="17" y2="16" />
|
<line x1="7" y1="16" x2="17" y2="16" />
|
||||||
</svg>
|
</svg>
|
||||||
</router-link> -->
|
</router-link> -->
|
||||||
<router-link
|
<router-link :to="{ name: 'DraftNotes', params: { user, repo } }">
|
||||||
class="special-folder"
|
|
||||||
:to="{ name: 'DraftNotes', params: { user, repo } }"
|
|
||||||
>
|
|
||||||
<svg
|
<svg
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
class="icon icon-tabler icon-tabler-notes"
|
class="icon icon-tabler icon-tabler-notes"
|
||||||
@@ -70,10 +65,24 @@
|
|||||||
<line x1="9" y1="15" x2="13" y2="15" />
|
<line x1="9" y1="15" x2="13" y2="15" />
|
||||||
</svg>
|
</svg>
|
||||||
</router-link>
|
</router-link>
|
||||||
<router-link
|
<router-link :to="{ name: 'FluxNoteView', params: { user, repo } }">
|
||||||
class="special-folder"
|
<svg
|
||||||
:to="{ name: 'FleetingNotes', params: { user, repo } }"
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
width="36"
|
||||||
|
height="36"
|
||||||
|
viewBox="0 0 24 24"
|
||||||
|
stroke="currentColor"
|
||||||
|
fill="none"
|
||||||
|
stroke-width="1.5"
|
||||||
|
stroke-linecap="round"
|
||||||
|
stroke-linejoin="round"
|
||||||
>
|
>
|
||||||
|
<path d="M5 12l-2 0l9 -9l9 9l-2 0" />
|
||||||
|
<path d="M5 12v7a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-7" />
|
||||||
|
<path d="M9 21v-6a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v6" />
|
||||||
|
</svg>
|
||||||
|
</router-link>
|
||||||
|
<router-link :to="{ name: 'FleetingNotes', params: { user, repo } }">
|
||||||
<svg
|
<svg
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
class="icon icon-tabler icon-tabler-mailbox"
|
class="icon icon-tabler icon-tabler-mailbox"
|
||||||
@@ -94,11 +103,12 @@
|
|||||||
<path d="M6 15h1" />
|
<path d="M6 15h1" />
|
||||||
</svg>
|
</svg>
|
||||||
</router-link>
|
</router-link>
|
||||||
|
<theme-swap />
|
||||||
</header>
|
</header>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import ThemeSwap from '@/components/ThemeSwap.vue'
|
import ThemeSwap from "@/components/ThemeSwap.vue"
|
||||||
|
|
||||||
defineProps<{ user: string; repo: string }>()
|
defineProps<{ user: string; repo: string }>()
|
||||||
</script>
|
</script>
|
||||||
@@ -110,10 +120,6 @@ defineProps<{ user: string; repo: string }>()
|
|||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
|
|
||||||
.special-folder {
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
img {
|
img {
|
||||||
&:hover {
|
&:hover {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|||||||
@@ -87,7 +87,7 @@ const useShikiji = async () => {
|
|||||||
|
|
||||||
useShikiji()
|
useShikiji()
|
||||||
|
|
||||||
mermaid.initialize({ startOnLoad: false })
|
mermaid.initialize({ startOnLoad: false, flowchart: { curve: "natural" } })
|
||||||
|
|
||||||
const rules: Renderer.RenderRuleRecord = {
|
const rules: Renderer.RenderRuleRecord = {
|
||||||
table_open: () =>
|
table_open: () =>
|
||||||
|
|||||||
Reference in New Issue
Block a user