Skip to content

Commit 69e9305

Browse files
committed
cosmetic tweaks
1 parent 2f082ed commit 69e9305

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

gurgleapps_webserver.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ def generate_root_page_html(self, files_and_folders):
331331
<div class="relative flex min-h-screen flex-col justify-center overflow-hidden bg-gray-50 py-6 sm:py-12">
332332
<div class="relative bg-white px-6 pb-8 pt-10 shadow-xl ring-1 ring-gray-900/5 sm:mx-auto sm:max-w-lg sm:rounded-lg sm:px-10">
333333
<div class="mx-auto max-w-md">
334-
<img src="/img/logo.svg" class="h-12 w-auto" alt="GurgleApps.com">
334+
<a href="https://gurgleapps.com"><img src="/img/logo.svg" class="h-12 w-auto" alt="GurgleApps.com"></a>
335335
"""
336336
yield """
337337
<div class="divide-y divide-gray-300/50">
@@ -353,7 +353,7 @@ def generate_root_page_html(self, files_and_folders):
353353
"""
354354
for file_or_folder in files_and_folders:
355355
icon = folder_icon_svg if file_or_folder['type'] == 'directory' else file_icon_svg
356-
yield f"<li class='border-t pt-1'><a href='/{file_or_folder['name']}' class='flex items-center font-semibold text-slate-800 hover:text-indigo-800'>{icon}<p class='ml-2'>{file_or_folder['name']}</p></a></li>"
356+
yield f"<li class='border-t pt-1'><a href='/{file_or_folder['name']}' class='flex items-center font-semibold text-slate-800 hover:text-indigo-600'>{icon}<p class='ml-2'>{file_or_folder['name']}</p></a></li>"
357357
yield "</ul>"
358358
# Closing tags for the body and container div
359359
yield """

www/led.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<div class="bg-white p-8 rounded-lg shadow-md w-full max-w-md">
1414
<div class="flex justify-center mb-8">
1515

16-
<svg class="h-16 -w-auto" enable-background="new 0 0 1000 240" version="1.1" viewBox="0 0 1e3 240" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
16+
<a href="https://gurgleapps.com"><svg class="h-16 -w-auto" enable-background="new 0 0 1000 240" version="1.1" viewBox="0 0 1e3 240" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
1717

1818
<polygon points="875 0 750 38.1 625 0 500 38.1 375 0 250 38.1 125 0 0 38.1 0 203.7 125 240 250 203.7 375 240 500 203.7 625 240 750 203.7 875 240 1e3 203.7 1e3 38.1" fill="#F4738F"/>
1919

@@ -49,7 +49,7 @@
4949
<polygon points="894.7 220.7 896 220.3 898.2 208.8 894.7 209"/>
5050
<polygon points="903.1 218.3 904.4 217.9 904.4 206.2 900.9 208"/>
5151
</g>
52-
</svg>
52+
</svg></a>
5353
</div>
5454
<div class="mb-4">
5555
<label for="delay" class="block text-gray-700 font-semibold mb-2">Delay (sec):</label>

www/led2.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<div class="bg-white p-8 rounded-lg shadow-md w-full max-w-md">
1212
<div class="flex justify-center mb-8">
1313

14-
<svg class="h-16 -w-auto" enable-background="new 0 0 1000 240" version="1.1" viewBox="0 0 1e3 240" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
14+
<a href="https://gurgleapps.com"><svg class="h-16 -w-auto" enable-background="new 0 0 1000 240" version="1.1" viewBox="0 0 1e3 240" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
1515

1616
<polygon points="875 0 750 38.1 625 0 500 38.1 375 0 250 38.1 125 0 0 38.1 0 203.7 125 240 250 203.7 375 240 500 203.7 625 240 750 203.7 875 240 1e3 203.7 1e3 38.1" fill="#F4738F"/>
1717

@@ -47,7 +47,7 @@
4747
<polygon points="894.7 220.7 896 220.3 898.2 208.8 894.7 209"/>
4848
<polygon points="903.1 218.3 904.4 217.9 904.4 206.2 900.9 208"/>
4949
</g>
50-
</svg>
50+
</svg></a>
5151
</div>
5252
<div class="flex gap-x-4">
5353
<div class="mb-4">

0 commit comments

Comments
 (0)