Skip to content

Commit

Permalink
Replace country flags with language switcher icon
Browse files Browse the repository at this point in the history
  • Loading branch information
frzb committed Jan 13, 2025
1 parent f4eee69 commit 9532fb9
Show file tree
Hide file tree
Showing 3 changed files with 68 additions and 5 deletions.
9 changes: 5 additions & 4 deletions input/templates/template.j2
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,13 @@
</head>
<body class="bg-slate-100 font-ubuntu font-normal">
<!-- Language Links -->
<div class="max-w-4xl mx-auto top-3 right-3 space-x-2 text-right">
<a href="./index.html" class="no-underline">🇬🇧 English</a>
<a href="./index_de.html" class="no-underline">🇩🇪 Deutsch</a>
<div class="max-w-4xl mx-auto top-3 right-3 space-x-2 flex sm:p-0 p-3 items-center justify-end">
<a href="./index.html" class="no-underline">English</a>
<img src="./static/icons/language-icon.svg" class="h-10 w-10" alt="Select Language">
<a href="./index_de.html" class="no-underline">Deutsch</a>
</div>
<!-- Main Container -->
<div class="max-w-4xl mx-auto sm:p-6 p-3 bg-white shadow-lg rounded-lg mt-5 mb-10">
<div class="max-w-4xl mx-auto sm:p-6 p-3 pt-0 bg-white shadow-lg rounded-lg mt-5 mb-10">
<!-- Parent Container -->
<div class="flex flex-col sm:flex-row gap-4">
<!-- Left Column (First on Mobile, First on Desktop) -->
Expand Down
2 changes: 1 addition & 1 deletion static/css/tailwind.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 9532fb9

Please sign in to comment.