Skip to content

Commit

Permalink
menu work
Browse files Browse the repository at this point in the history
  • Loading branch information
bjerrecs committed Feb 24, 2024
1 parent a0073cb commit b530765
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/ThemeToggle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const ThemeToggle = () => {
}, []);

return (
<button id="themeToggle" className='hidden lg:block'>
<button id="themeToggle" className=''>
<svg width="30px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" className="fill-[#011328] dark:fill-white">
<path
className="sun"
Expand Down
4 changes: 2 additions & 2 deletions src/layout/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ import Navigation from "../components/Navigation.astro"
<div class="lg:hidden z-0 absolute top-0 w-screen h-full overflow-y-scroll overflow-x-hidden bg-gradient-to-tr from-slate-100 via-slate-200 to-slate-300 dark:bg-gradient-to-tr dark:from-slate-800 dark:via-slate-700 dark:to-slate-800">
<slot />
</div>
<divnp class="absolute right-2 bottom-2">
<div class="absolute right-5 bottom-5">
<ThemeToggle client:visible />
</divnp>
</div>
</body>
</html>
2 changes: 1 addition & 1 deletion src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ import Layout from "../layout/index.astro"
---
<Layout>
<div class="w-full h-full flex justify-center pt-12">
<h1 class="text-6xl font-semibold dark:text-white text-black ">Copenhagen Live 2024</h1>
<h1 class="text-4xl lg:text-6xl font-semibold dark:text-white text-black ">Copenhagen Live 2024</h1>
</div>
</Layout>

0 comments on commit b530765

Please sign in to comment.