[feat] update footer style, add button to close the footer
Browse files
static/src/components/PageFooter.vue
CHANGED
|
@@ -1,13 +1,12 @@
|
|
| 1 |
<template>
|
| 2 |
<!-- style 'z-index: 1001' here is needed to avoid override from leafletjs css -->
|
| 3 |
-
<footer class="fixed bottom-0 w-full bg-gray-200 pl-4 font-light text-xs" style="z-index: 9999;" v-if="showFooterRef">
|
| 4 |
-
<div class="relative flex">
|
| 5 |
<div class="w-full">
|
| 6 |
-
<p class="">Trouble on scrolling this page? Open the
|
| 7 |
-
<PageFooterHyperlink path="https://aletrn-samgis.hf.space">direct URL space</PageFooterHyperlink>
|
| 8 |
-
as a new tab.
|
| 9 |
-
</p>
|
| 10 |
<p class="">
|
|
|
|
|
|
|
|
|
|
| 11 |
<span><PageFooterHyperlink path="/">SamGIS</PageFooterHyperlink>: An inference machine learning POC applied to GIS thanks to
|
| 12 |
<PageFooterHyperlink path="https://github.com/vietanhdev/samexporter/">SAM Exporter</PageFooterHyperlink>
|
| 13 |
and inspired by
|
|
@@ -15,12 +14,12 @@
|
|
| 15 |
</span>
|
| 16 |
</p>
|
| 17 |
</div>
|
| 18 |
-
<div>
|
| 19 |
<button
|
| 20 |
aria-label="Close"
|
| 21 |
-
class="shrink-0 rounded-lg bg-black/10 p-
|
| 22 |
@click="showFooterRef = !showFooterRef"
|
| 23 |
-
>
|
| 24 |
</div>
|
| 25 |
</div>
|
| 26 |
</footer>
|
|
|
|
| 1 |
<template>
|
| 2 |
<!-- style 'z-index: 1001' here is needed to avoid override from leafletjs css -->
|
| 3 |
+
<footer class="fixed bottom-0 w-full bg-gray-200 pl-4 pr-2 font-light text-xs" style="z-index: 9999;" v-if="showFooterRef">
|
| 4 |
+
<div class="relative flex items-center h-4">
|
| 5 |
<div class="w-full">
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
<p class="">
|
| 7 |
+
<span>Trouble on scrolling this page? Open the
|
| 8 |
+
<PageFooterHyperlink path="https://aletrn-samgis.hf.space">direct URL space</PageFooterHyperlink>
|
| 9 |
+
as a new tab. </span>
|
| 10 |
<span><PageFooterHyperlink path="/">SamGIS</PageFooterHyperlink>: An inference machine learning POC applied to GIS thanks to
|
| 11 |
<PageFooterHyperlink path="https://github.com/vietanhdev/samexporter/">SAM Exporter</PageFooterHyperlink>
|
| 12 |
and inspired by
|
|
|
|
| 14 |
</span>
|
| 15 |
</p>
|
| 16 |
</div>
|
| 17 |
+
<div class="p-10">
|
| 18 |
<button
|
| 19 |
aria-label="Close"
|
| 20 |
+
class="shrink-0 rounded-lg bg-black/10 p-1 transition hover:bg-black/20"
|
| 21 |
@click="showFooterRef = !showFooterRef"
|
| 22 |
+
>Close</button>
|
| 23 |
</div>
|
| 24 |
</div>
|
| 25 |
</footer>
|