Skip to content

KP1709/WorldCityTimezoneSearchV2

Repository files navigation

World City Timezone Search V2

Netlify Status

⌨️ Tech stack

React / Typescript / pnpm / Luxon / Shadcn / Tailwind CSS / Mapcn / Zustand / Supabase

🍼 Introduction

For a while I've been exploring Shadcn and Tailwind and discovered open source libraries built using Shadcn. I found Mapcn which uses MapLibre. After having built the first World City Timezone Search app through pure CSS, React-leaflet and designing components from scratch, I found an opportunity to improve the application and create a second version. Most of the features still exist but with minor changes and improvements.

🛠️ Features

  • Search for world cities through querying the Supabase database
    • Handles region selection as some cities exist with same name and country
      • E.g. Buffalo - United States
    • Handles when not all cities are listed in the search all with the same name but are in different countries
      • E.g. San Jose
  • Displays city location on map
    • Map is interactive with zoom control for phone and desktop
    • Marker is placed where city is
  • Responsive design - for both phone and desktop
  • Display current time (which updates every minute)
    • Shows date, timezone, timezone id and location
  • Displays main flag for the country the city is in
    • Shows second flag if a region or state does have one
  • Light/Dark mode overlay on map - instant theme switching

📚 Resources

🪣 APIs / Data

About

Version 2 of World City Timezone Search

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages