Skip to content

Add sidebar layout with Base64 and Timestamp dev tool routes#1

Merged
slhmy merged 1 commit intomainfrom
copilot/add-main-page-with-sidebar
Apr 16, 2026
Merged

Add sidebar layout with Base64 and Timestamp dev tool routes#1
slhmy merged 1 commit intomainfrom
copilot/add-main-page-with-sidebar

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 16, 2026

Bootstraps the main application shell: a collapsible shadcn Sidebar that routes to individual dev tool pages, replacing the placeholder content.

Layout

  • App.tsx — wraps the app in BrowserRouter + SidebarProvider + SidebarInset; renders <Routes> in the main content area
  • AppSidebar — replaced documentation placeholder data with grouped nav items (Encoding, Date & Time) using NavLink for active-link highlighting; header shows app name + version via Vite define

Tool pages

  • /base64 — encode/decode using TextEncoder/TextDecoder with copy-to-clipboard
  • /timestamp — Unix timestamp (auto-detects seconds vs ms) ↔ ISO date string, with "Now" shortcut

Supporting changes

  • vite.config.ts — adds APP_VERSION define from npm_package_version
  • src/types/globals.d.ts — ambient TypeScript declaration for APP_VERSION

@slhmy slhmy marked this pull request as ready for review April 16, 2026 03:53
@slhmy slhmy merged commit c89d440 into main Apr 16, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants