diff --git a/schedular/src/lib.rs b/schedular/src/lib.rs index a7f0d1b..94e6c67 100644 --- a/schedular/src/lib.rs +++ b/schedular/src/lib.rs @@ -30,6 +30,7 @@ pub fn start_schedular(exit: Arc>) { if !skip_update_on_startup { // Run on OS launch + update_wallpaper(&conf, false).unwrap(); let minutes = get_minutes_left(&conf); if minutes <= 0 { diff --git a/website/components/Nav.tsx b/website/components/Nav.tsx index 67d2f2c..63a67a4 100644 --- a/website/components/Nav.tsx +++ b/website/components/Nav.tsx @@ -5,7 +5,7 @@ import { Link } from "./Link"; export const Nav = () => { const [openDrawer, setOpenDrawer] = useState(false); - const OpenDrawerHandler = () => { + const OpenDrawerHandler = async () => { setOpenDrawer(!openDrawer); }; @@ -47,8 +47,8 @@ export const Nav = () => { return (
- {openDrawer && } + {true && }
diff --git a/website/styles/globals.css b/website/styles/globals.css index 06e2010..367393f 100644 --- a/website/styles/globals.css +++ b/website/styles/globals.css @@ -23,6 +23,15 @@ img { width: 100%; } +.drawer { + transition: 0.2s all ease-in-out; + transform: translateX(100%); +} + +.drawer-open { + transform: translateX(0%); +} + @media screen and (max-width: 1024px) { .swiper-button-next::after, .swiper-button-prev::after {