diff --git a/src/content/blog/astro-welcome.md b/src/content/blog/astro-welcome.md index 7e85ca4..1514e39 100644 --- a/src/content/blog/astro-welcome.md +++ b/src/content/blog/astro-welcome.md @@ -37,6 +37,10 @@ Another _really_ cool feature of Astro is the ability to use components from pre I utilized this feature for the navigation bar on the top of this site. It has a box shadow that shows and hides dynamically, and on mobile browsers it shows a menu button that expands a shelf of navigation links. Sure, I could have done this with vanilla JS, but I felt that using a Svelte component would be simpler and more maintainable. Besides, I already had this component ready from the old SvelteKit version of the website! I simply copied this file over, and it just worked right away, which was kind of a mind-blowing moment. +
+Migrating to Astro is delightful. I had a Svelte navbar with some interactivity, and I was afraid that I would have to recreate it from scratch. Nope. Literally copied the .svelte file over, imported it like any other component, and it just works. @astrodotbuild #withastro
— Mikkel Svartveit (@mikkelsvartveit) October 19, 2023