@itexpert120-contra.near [Posted on DevHub](https://near.social/#/devgovgigs.near/widget/Post?id=1567) ## Idea: Responsive Layouts, React + BOS Components & More This week was a lot of work, I worked on the landing page to deliver the best possible version for the end user as possible, I made the layout of entire page responsive, added search functionality, and some pages. Steadily but slowly we are making immense progress towards the MVP. ## Responsive Layout This was the majority of work this week, I spent a lot of time refining the UI for mobile usage. It forced me to fix a lot of bad code I wrote for the desktop only version as that was a very brute approach. Now the UI looks absolutely stunning on all display sizes. You can check it out here: DiscoverBOS ## React & BOS Components One major issue with BOS I discovered is that when working with multiple widgets, it does not assign unique key to each element in a loop by default, it is broken. For example the first div would have key null-div-1, and then the remaining divs would have an id of null-div-4. This is a very frustrating experience as it floods the error log. And it is near impossible to track where that div is located so I can go ahead and assign a manual key. React Development Tools helped me immensely, as that allowed me to have an idea where to look for these components. But it wasn't perfect, as I had to do trail and error in order to find the issue. Other than that, these two go hand in hand to bring the features of Web 2.0 and Web 3.0 components to bring a truly amazing developer experience. ## Search A good search is a crucial part of any website. I used the search component provided by near and integrated it. The search works well and fine. The only thing which caused some issue was the navbar, figuring out how to make the search bar react to different sections and sizes was a challenge but it has been resolved now. ## Project Submission and Review Workflow This is a very important aspect of DiscoverBOS that I have to tackle ASAP. As this is tied closely to what DiscoverBOS is trying to achieve. I have a general idea and some sample code is provided to me by Elliot and James. I have to test this code and make it work. ## Conclusion This was another great week working with BOS. Using the BOS is now like a second nature to me coming from react and tailwind.