Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ae13ba5

Browse files
committedDec 23, 2024·
refactor(styles): 🎨 Format code
1 parent c6f51ef commit ae13ba5

File tree

1 file changed

+7
-14
lines changed

1 file changed

+7
-14
lines changed
 

‎pages/[...slug].vue

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -64,23 +64,15 @@ onMounted(() => {
6464
<ContentRenderer :value="doc" />
6565
</div>
6666
<div buttons class="flex justify-between m-2.5 mt-auto">
67-
<a
68-
:href="doc && doc.previousPath ? `/${doc.previousPath}` : '/'"
69-
:class="{
70-
'pointer-events-none text-gray-400': !doc || !doc.previousPath,
71-
}"
72-
class="flex items-center"
73-
>
67+
<a :href="doc && doc.previousPath ? `/${doc.previousPath}` : '/'" :class="{
68+
'pointer-events-none text-gray-400': !doc || !doc.previousPath,
69+
}" class="flex items-center">
7470
<CircleChevronLeft :size="30" />
7571
</a>
7672

77-
<a
78-
:href="doc && doc.nextPath ? `/${doc.nextPath}` : '/'"
79-
:class="{
80-
'pointer-events-none text-gray-400': !doc || !doc.nextPath,
81-
}"
82-
class="flex items-center"
83-
>
73+
<a :href="doc && doc.nextPath ? `/${doc.nextPath}` : '/'" :class="{
74+
'pointer-events-none text-gray-400': !doc || !doc.nextPath,
75+
}" class="flex items-center">
8476
<CircleChevronRight :size="30" />
8577
</a>
8678
</div>
@@ -109,6 +101,7 @@ onMounted(() => {
109101
</button>
110102
</div>
111103
<CodeMirror v-if="isCoding" v-model:code="codeContent" />
104+
<!-- TODO: Make a loader -->
112105
<div v-else class="terminal-output">
113106
<span class="text-yellow">$ <span class="text-fg">cargo</span> run</span>
114107
<pre class="text-pretty">{{ terminalResponse }}</pre>

0 commit comments

Comments
 (0)
Please sign in to comment.