CTRL-T update: search bar + quick links
Knocked out two stages in one sitting since neither took as long as I expected.
-
Added the search bar first. Nothing fancy really, it just grabs whatever you type and redirects to a Google search on submit. The part I actually spent time on was making the input box not look like a default browser input, with a thick border, no rounding etc.
-
Then added the quick links dock. Links get stored in localStorage so they persist between sessions, no backend needed. Clicking “+ ADD” pops a prompt for a label and a URL, and I added a little × next to each link chip so you can remove one without having to clear the whole list.
Small thing I had to handle: people are pretty lazy about typing full URLs, so if someone just types “github.com” instead of “https://github.com” the script will prepend the https for them.
Kept both of these hidden on narrow screens (under 640px) so the clock still gets to be the main character on mobile instead of fighting for space lol. -
Nothing here needed the NASA APIs, so this stage was mostly just about layout discipline, keeping the same border-heavy brutalist language consistent as I add new blocks.
What’s next? Clock’s already working in the background from my webOS testing, so next devlog is probably the full assembly plus whatever polish the layout needs once everything’s on screen at once.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.