Sunnyside agency landing page using SvelteKit
Design comparison
Solution retrospective
Finally tried Svelte and SvelteKit, which I think is a natural next step after learning the WebC syntax. Working with it is so much more pleasant than React. Aside from the simpler syntax, it's also less restrictive on how you want to integrate CSS, so in my case I had component styles as well as a CUBE CSS-style directory structure.
I did borrow some organizational ideas from the Next.js 14 tutorial, such as putting all UI-related assets and components inside a ui
directory. I also added progressive enhancement to the burger menu, so if JavaScript is disabled or not available, the nav links can still be accessible to the user. I got some inspiration from this tutorial by Andy Bell.
I plan to do a multi-page project next to try out Svelte's routing features. Any Svelte pros out there, let me know what you think!
Community feedback
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord