This commit is contained in:
Adam Sobotka 2022-10-29 09:47:30 +02:00
rodič 4126d0cedb
revize 359c2851bf
2 změnil soubory, kde provedl 26 přidání a 15 odebrání

Zobrazit soubor

@ -10,7 +10,11 @@
<nav class="flex flex-wrap items-center justify-center py-6 bg-white mx-auto sticky top-0 z-50">
<div class="container flex flex-wrap items-center justify-between xl:max-w-screen-xl px-3">
<div class="w-full relative flex justify-between xl:w-auto xl:static xl:block xl:justify-start">
<a class="text-sm leading-relaxed flex items-center justify-center" href="/" on:click={() => (open = false)}>
<a
class="text-sm leading-relaxed flex items-center justify-center"
href="/"
on:click={() => (open = false)}
>
<img src={logo} alt="logo" class="w-[145px] h-[54px] md:mr-14 ml-4 md:ml-0" />
</a>
<button
@ -22,14 +26,10 @@
</button>
</div>
<div
class={open ? 'block w-full' : 'xl:flex flex-grow items-center hidden'}
id="navbar"
>
<div class={open ? 'block w-full' : 'xl:flex flex-grow items-center hidden'} id="navbar">
<div class="text-sm pt-10 xl:pt-0 pl-4 xl:pl-0">
<strong>November 11 - 13, 2022</strong><br />
Brno, Czech Republic
<strong>November 11 - 13, 2022</strong><br />
Brno, Czech Republic
</div>
<div class="flex flex-grow items-center">
<ul
@ -38,23 +38,33 @@
<li>
<a
href="/"
class="px-5 py-2 flex items-center leading-snug text-black hover:opacity-75" on:click={() => (open = false)}
class="px-5 py-2 flex items-center leading-snug text-black hover:opacity-75"
on:click={() => (open = false)}
class:active={$page.url.pathname === '/'}>Home</a
>
</li>
<li>
<a
href="/venues"
class="px-5 py-2 flex items-center leading-snug text-black hover:opacity-75" on:click={() => (open = false)}
class="px-5 py-2 flex items-center leading-snug text-black hover:opacity-75"
on:click={() => (open = false)}
class:active={$page.url.pathname === '/venues/'}>Venues</a
>
</li>
<li>
<a
href="/manual"
class="px-5 py-2 flex items-center leading-snug text-black hover:opacity-75"
on:click={() => (open = false)}
class:active={$page.url.pathname === '/manual/'}>Hacker Manual</a
>
</li>
<li>
<a
href="/contributors"
class="px-5 py-2 flex items-center leading-snug text-black hover:opacity-75" on:click={() => (open = false)}
class:active={$page.url.pathname.match(/^\/contributors\//)}
>Contributors</a
class="px-5 py-2 flex items-center leading-snug text-black hover:opacity-75"
on:click={() => (open = false)}
class:active={$page.url.pathname.match(/^\/contributors\//)}>Contributors</a
>
</li>
<li>
@ -63,7 +73,8 @@
rel="noopener noreferrer"
target="_blank"
on:click={() => (open = false)}
class="px-5 py-2 flex items-center leading-snug text-black hover:opacity-75 external">Chat</a
class="px-5 py-2 flex items-center leading-snug text-black hover:opacity-75 external"
>Chat</a
>
</li>
<li class="pl-0 xl:pl-5">

Zobrazit soubor

@ -16,7 +16,7 @@
</script>
<section class="text-white bg-black body-font">
<div class="container mx-auto flex flex-col xl:max-w-screen-xl px-3">
<div class="container mx-auto flex flex-col xl:max-w-screen-xl px-8 md:px-3 ">
<h1 class="pt-12 pb-6 xl:pt-20 xl:pb-10 text-4xl">Hacker Manual</h1>
<article class="mb-12">
<div