Skip to content

Commit 7def25b

Browse files
authored
display github buttons in slider and update readme text. (#16)
1 parent 2fef774 commit 7def25b

File tree

5 files changed

+54
-12
lines changed

5 files changed

+54
-12
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@
2323

2424
openkarte is not just a tool for developers or researchers — it’s a public-facing platform that makes open data tangible. By visualizing relationships between different data layers, it helps uncover insights, support local decision-making, and foster transparency.
2525

26+
## 🐛 Issues & 💡 Feature Requests
27+
28+
If you run into a problem or have a question then start a discussion https://github.com/geprog/openkarte/discussions.
29+
Would you like to suggest a new feature then please create an issue https://github.com/geprog/openkarte/issues.
30+
Your contributions and feedback are always welcome and helps improve the project!
31+
2632
## 🔗 Live Demo
2733

2834
Visit the current version at: https://openkarte.de

i18n/locales/de.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,8 @@
33
"mapDisplayOption": "Karten Display Optionen",
44
"selectedDate": "Gewähltes Datum",
55
"notAvailable": "Nicht verfügbar",
6-
"loadingText": "Laden der Daten, bitte warten..."
6+
"loadingText": "Laden der Daten, bitte warten...",
7+
"github": "Github",
8+
"featureRequest": "Feature-Anfrage",
9+
"startDiscussion": "Diskussion beginnen"
710
}

i18n/locales/en.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,8 @@
33
"mapDisplayOption": "Map Display Options",
44
"selectedDate": "Selected Date",
55
"notAvailable": "Not Available",
6-
"loadingText": "Loading data, please wait..."
6+
"loadingText": "Loading data, please wait...",
7+
"github": "Github",
8+
"featureRequest": "Feature request",
9+
"startDiscussion": "Start a discussion"
710
}

pages/index.vue

Lines changed: 40 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,48 @@
2929
</header>
3030

3131
<div class="flex flex-1 overflow-hidden">
32-
<aside v-show="sidebarOpen" class="bg-blue w-64 border-r p-4 overflow-y-auto transition-all duration-300">
33-
<div class="flex justify-between items-center font-semibold text-lg mb-4">
34-
<h3>{{ t('mapDisplayOption') }}</h3>
32+
<aside v-show="sidebarOpen" class="bg-blue w-64 h-screen flex flex-col border-r transition-all duration-300">
33+
<div class="flex-1 p-4 overflow-y-auto">
34+
<div class="flex justify-between items-center font-semibold text-lg mb-4">
35+
<h3>{{ t('mapDisplayOption') }}</h3>
36+
</div>
37+
<ul class="space-y-2">
38+
<li
39+
v-for="opt in featureOptions" :key="opt.name" class="cursor-pointer hover:text-blue-200"
40+
:class="{ 'font-bold underline': feature === opt.name }" @click="setFeature(opt.name)"
41+
>
42+
{{ opt.title }}
43+
</li>
44+
</ul>
3545
</div>
36-
<ul class="space-y-2">
37-
<li
38-
v-for="opt in featureOptions" :key="opt.name" class="cursor-pointer hover:text-blue-200"
39-
:class="{ 'font-bold underline': feature === opt.name }" @click="setFeature(opt.name)"
46+
47+
<div class="flex flex-col p-4 mb-10 space-y-1">
48+
<a
49+
href="https://github.com/geprog/openkarte/discussions"
50+
target="_blank"
51+
rel="noopener noreferrer"
52+
class="block w-full text-center bg-blue-300 text-black font-semibold py-2 px-4 rounded-xl shadow hover:bg-blue-500 transition"
53+
>
54+
{{ t('startDiscussion') }}
55+
</a>
56+
<a
57+
href="https://github.com/geprog/openkarte/issues"
58+
target="_blank"
59+
rel="noopener noreferrer"
60+
class="block w-full text-center bg-blue-300 text-black font-semibold py-2 px-4 rounded-xl shadow hover:bg-blue-500 transition"
4061
>
41-
{{ opt.title }}
42-
</li>
43-
</ul>
62+
{{ t('featureRequest') }}
63+
</a>
64+
<a
65+
href="https://github.com/geprog/openkarte"
66+
target="_blank"
67+
rel="noopener noreferrer"
68+
class="flex items-center justify-center w-full text-center bg-blue-300 text-black font-semibold py-2 px-4 rounded-xl shadow hover:bg-blue-500 transition"
69+
>
70+
<img src="/github.png" alt="GitHub" class="w-5 mr-1">
71+
{{ t('github') }}
72+
</a>
73+
</div>
4474
</aside>
4575

4676
<main class="flex-1 relative">

public/github.png

16.5 KB
Loading

0 commit comments

Comments
 (0)