mirror of
https://github.com/bakateam/merakiui.git
synced 2025-12-09 23:15:35 +00:00
Remove Prettier format form App.vue
This commit is contained in:
30
src/App.vue
30
src/App.vue
@@ -13,14 +13,7 @@
|
||||
<div class="flex flex-wrap items-center justify-center">
|
||||
<span class="ml-2" v-for="route in routes" :key="route.path">
|
||||
<span v-if="route.path != '/'">
|
||||
<router-link class="inline-block mt-2 px-3 py-1 rounded text-sm cursor-pointer hover:bg-gray-700 hover:text-gray-200"
|
||||
:class="
|
||||
currentPage == route.path
|
||||
? 'bg-gray-700 text-gray-200'
|
||||
: 'bg-gray-200 text-gray-700'
|
||||
"
|
||||
:to="route.path"
|
||||
>
|
||||
<router-link class="inline-block mt-2 px-3 py-1 rounded text-sm cursor-pointer hover:bg-gray-700 hover:text-gray-200" :class="currentPage == route.path ? 'bg-gray-700 text-gray-200' : 'bg-gray-200 text-gray-700'" :to="route.path">
|
||||
{{ route.name }}
|
||||
</router-link>
|
||||
</span>
|
||||
@@ -28,14 +21,8 @@
|
||||
</div>
|
||||
|
||||
<p class="mt-8 text-gray-700 text-center">
|
||||
Headers components require simple
|
||||
<span class="font-semibold">- don't panic please 😎 -</span>
|
||||
<a
|
||||
href="https://gist.github.com/Miaababikir/052e31b345781c0f73180b80a285781b"
|
||||
target="_blank"
|
||||
class="text-blue-600 hover:underline"
|
||||
>configuration</a
|
||||
>
|
||||
Headers components require simple <span class="font-semibold">- don't panic please 😎 -</span>
|
||||
<a href="https://gist.github.com/Miaababikir/052e31b345781c0f73180b80a285781b" target="_blank" class="text-blue-600 hover:underline">configuration</a>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
@@ -45,16 +32,9 @@
|
||||
</main>
|
||||
|
||||
<back-to-top visibleoffset="800">
|
||||
<button
|
||||
class="bg-gray-800 text-white fixed bottom-0 right-0 my-10 mx-10 p-2 rounded-md focus:outline-none"
|
||||
aria-label="Back to top"
|
||||
>
|
||||
<button class="bg-gray-800 text-white fixed bottom-0 right-0 my-10 mx-10 p-2 rounded-md focus:outline-none" aria-label="Back to top">
|
||||
<svg class="h-6 w-6" viewBox="0 0 20 20" fill="currentColor">
|
||||
<path
|
||||
fill-rule="evenodd"
|
||||
d="M14.707 12.707a1 1 0 01-1.414 0L10 9.414l-3.293 3.293a1 1 0 01-1.414-1.414l4-4a1 1 0 011.414 0l4 4a1 1 0 010 1.414z"
|
||||
clip-rule="evenodd"
|
||||
/>
|
||||
<path fill-rule="evenodd" d="M14.707 12.707a1 1 0 01-1.414 0L10 9.414l-3.293 3.293a1 1 0 01-1.414-1.414l4-4a1 1 0 011.414 0l4 4a1 1 0 010 1.414z" clip-rule="evenodd"/>
|
||||
</svg>
|
||||
</button>
|
||||
</back-to-top>
|
||||
|
||||
Reference in New Issue
Block a user