Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted about 2 years ago

Sunnyside agency landing page using SvelteKit

accessibility, progressive-enhancement, svelte, vite, cube-css
Josh Javier•970
@joshjavier
A solution to the Agency landing page challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

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!

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Josh Javier's solution.

Join 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

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner
  • Use cases

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License