more i18n usage + logo

This commit is contained in:
Philipp Dormann 2020-12-19 16:13:22 +01:00
parent 4633a9b3ae
commit d817058e51
2 changed files with 7 additions and 12 deletions

View File

@ -6,7 +6,7 @@
import FormLayout from "./FormLayout.svelte"; import FormLayout from "./FormLayout.svelte";
import Tracks from "./Tracks.svelte"; import Tracks from "./Tracks.svelte";
import BreadcrumbNav from "./BreadcrumbNav.svelte"; import BreadcrumbNav from "./BreadcrumbNav.svelte";
import NotFound from "./NotFound.svelte"; import NotFound from "./NotFound.svelte";
// //
let isProfileActionsVisible = false; let isProfileActionsVisible = false;
let mobile_menu_opened = false; let mobile_menu_opened = false;
@ -20,9 +20,11 @@ import NotFound from "./NotFound.svelte";
<div class="flex-shrink-0"> <div class="flex-shrink-0">
<img <img
class="h-8 w-8" class="h-8 w-8"
src="https://tailwindui.com/img/logos/workflow-mark-indigo-500.svg" src="https://lauf-fuer-kaya.de/Bilder/kaya-logo-quadrat.png"
alt="Workflow" /> alt="Workflow" />
</div> </div>
<span
class="text-white px-3 py-2 text-lg font-medium">{$_('application_name')}</span>
<div class="hidden md:block"> <div class="hidden md:block">
<div class="ml-10 flex items-baseline space-x-4"> <div class="ml-10 flex items-baseline space-x-4">
<a <a
@ -267,16 +269,15 @@ import NotFound from "./NotFound.svelte";
<div class="mt-3 px-2 space-y-1"> <div class="mt-3 px-2 space-y-1">
<a <a
href="#" href="#"
class="block px-3 py-2 rounded-md text-base font-medium text-gray-400 hover:text-white hover:bg-gray-700">Your class="block px-3 py-2 rounded-md text-base font-medium text-gray-400 hover:text-white hover:bg-gray-700">{$_('your_profile')}</a>
Profile</a>
<a <a
href="#" href="#"
class="block px-3 py-2 rounded-md text-base font-medium text-gray-400 hover:text-white hover:bg-gray-700">Settings</a> class="block px-3 py-2 rounded-md text-base font-medium text-gray-400 hover:text-white hover:bg-gray-700">{$_('settings')}</a>
<a <a
href="#" href="#"
class="block px-3 py-2 rounded-md text-base font-medium text-gray-400 hover:text-white hover:bg-gray-700">$_('signout')</a> class="block px-3 py-2 rounded-md text-base font-medium text-gray-400 hover:text-white hover:bg-gray-700">{$_('signout')}</a>
</div> </div>
</div> </div>
</div> </div>

View File

@ -18,11 +18,5 @@
class="bg-transparent text-grey-darkest font-bold uppercase tracking-wide py-3 px-6 border-2 border-grey-light hover:border-grey rounded-lg">{$_('goback')}</button> class="bg-transparent text-grey-darkest font-bold uppercase tracking-wide py-3 px-6 border-2 border-grey-light hover:border-grey rounded-lg">{$_('goback')}</button>
</div> </div>
</div> </div>
<div
class="relative pb-full md:flex md:pb-0 md:min-h-screen w-full md:w-1/2">
<div
style="background-image: url('src/svg/404-illustration.svg');"
class="absolute pin bg-cover bg-no-repeat md:bg-left lg:bg-center" />
</div>
</div> </div>
</body> </body>