@@ -92,12 +92,17 @@ function getPercentage(count: number) {
9292 <h2 class =" text-3xl mb-4 leading-tight" >{{ results.question.question_text }}</h2 >
9393 <div class =" flex justify-between items-center text-lg" >
9494 <span class =" font-bold py-2 px-4 bg-gray-100 border-2 border-black" >Total Votes: {{ results.totalVotes }}</span >
95- <span
96- class =" py-2 px-4 border-2 border-black uppercase font-bold"
97- :class =" results.question.is_locked ? 'bg-black text-white' : 'bg-white text-black'"
98- >
99- {{ results.question.is_locked ? '🔒 Locked' : '🔓 Open' }}
100- </span >
95+ <div class =" flex items-center gap-4" >
96+ <UiButton @click =" refreshResults" variant =" secondary" size =" small" >
97+ 🔄 Refresh
98+ </UiButton >
99+ <span
100+ class =" py-2 px-4 border-2 border-black uppercase font-bold"
101+ :class =" results.question.is_locked ? 'bg-black text-white' : 'bg-white text-black'"
102+ >
103+ {{ results.question.is_locked ? '🔒 Locked' : '🔓 Open' }}
104+ </span >
105+ </div >
101106 </div >
102107 </div >
103108
@@ -147,18 +152,10 @@ function getPercentage(count: number) {
147152 <!-- Navigation -->
148153 <div v-if =" !isCoreView" class =" flex flex-col items-center gap-5 mt-8" >
149154 <div class =" flex justify-center gap-5" >
150- <UiButton @click =" refreshResults" variant =" link" >
151- Refresh
152- </UiButton >
153- <NuxtLink to =" /" >
154- <UiButton variant =" link" >
155- ← Back to Quiz
156- </UiButton >
157- </NuxtLink >
158155 </div >
159156
160157 <!-- Core View Controls -->
161- <div class =" mt-8 p-4 border-t-2 border-black w-full max-w-md flex flex-col items-center gap-4" >
158+ <div class =" p-4 w-full max-w-md flex flex-col items-center gap-4" >
162159 <h3 class =" text-lg font-bold" >Core View Generator</h3 >
163160 <div class =" grid grid-cols-2 gap-4 w-full" >
164161 <div class =" flex flex-col gap-1" >
0 commit comments