pycodestyle icon indicating copy to clipboard operation
pycodestyle copied to clipboard

more than 1 svelvet component on page/component

Open ya-johnson opened this issue 2 years ago • 3 comments

hello,

im working on new landing page, i want to showcase different Svelvet components to set some examples but it dosent work as intended. is this even possible?

additionally, the website folder is really bloated, i want to do a cleanup but since i started working more mess was added, im referring to the routes directory in particular.

ya-johnson avatar Feb 09 '23 08:02 ya-johnson

Thank you for your interest in Svelvet, especially the website! We can see the PR, we are in the middle of a soft launch of Svelvet6, but we will notify the next team about your PR!

  • In terms of showing examples, are you talking about doing something like the repl (https://www.svelvet.io/playground/) or just embedding a Svelvet component?

  • You are right, the website folder is bloated at the moment. It has testing routes for the npm package which is not ideal, and we will mention to the next team that the website should be moved to another repo ideally. For the time being, we've moved all testing routes to a dev folder for better organization.

michael-chiang-dev5 avatar Feb 09 '23 15:02 michael-chiang-dev5

@michael-chiang-dev5 Thank you guys!

i have ton of ideas for the website, also improvements for the documentation. if the website will be moved it will be much easier for both ends to work on the website/library. i will happily moderate the website or something like that - just let me know! it wont take a lot of time to rebuild the website with a clean and organized fashion.

as for the issue, i want to have nice examples so people visiting the landing page will have quick idea about the features of the library.

in the image you can see that the second svelvet component takes over the hero svelvet component, and to be clear i imported the second one so its not initialized on the same component/page.

svelvet-2-components

ya-johnson avatar Feb 09 '23 16:02 ya-johnson

Hey @ya-johnson, we are currently in the process of passing this project on to the next team that will be working on it. I love what you've done with the web page but for now I would hold off on making any more changes until they have a hold of it and message you as to how they would like to proceed so you don't waste your time. I will keep this open and make sure the next team is aware of the great work you've done here.

ErnestoGonza avatar Feb 10 '23 02:02 ErnestoGonza