This repository was archived by the owner on May 1, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -12,18 +12,6 @@ const sourceUrl = computed(() => page.value?._file
12
12
<div flex =" ~ gap-2 items-center" border =" b base dashed" bg-faded px4 py2 >
13
13
<div i-ph-book-duotone />
14
14
<span text-sm >Guide</span >
15
- <div flex-auto />
16
- <button
17
- v-if =" guide.currentGuide?.solutions"
18
- my--1 mr--2 rounded px2 py1 text-sm op50
19
- hover =" bg-active op100"
20
- flex =" ~ gap-2 items-center"
21
- @click =" guide.toggleSolutions()"
22
- >
23
- <div v-if =" !guide.showingSolution " i-ph-lightbulb-filament-duotone />
24
- <div v-else i-ph-arrow-counter-clockwise-duotone />
25
- {{ guide.showingSolution ? 'Reset challenge' : 'Show solution' }}
26
- </button >
27
15
</div >
28
16
<article class =" max-w-none prose" of-auto p6 >
29
17
<ContentDoc />
Original file line number Diff line number Diff line change @@ -55,6 +55,18 @@ const panelInitEditor = computed(() => isMounted.value || {
55
55
>
56
56
<div i-ph-text-t-duotone />
57
57
<span text-sm >Editor</span >
58
+ <div flex-auto />
59
+ <button
60
+ v-if =" guide.currentGuide?.solutions"
61
+ my--1 mr--3 rounded px2 py1 text-sm op50
62
+ hover =" bg-active op100"
63
+ flex =" ~ gap-2 items-center"
64
+ @click =" guide.toggleSolutions()"
65
+ >
66
+ <div v-if =" !guide.showingSolution " i-ph-lightbulb-filament-duotone />
67
+ <div v-else i-ph-arrow-counter-clockwise-duotone />
68
+ {{ guide.showingSolution ? 'Reset challenge' : 'Show solution' }}
69
+ </button >
58
70
</div >
59
71
<Splitpanes
60
72
of-hidden
You can’t perform that action at this time.
0 commit comments