From e177c7775a9fe62237a1aff96da491a291a65070 Mon Sep 17 00:00:00 2001 From: sittichok Ouamsiri Date: Sat, 20 Jun 2026 23:01:41 +0700 Subject: [PATCH] feat: frontend redesign --- index.html | 9 +- src/App.tsx | 68 +++-------- src/components/BarChart.tsx | 33 ++---- src/components/DeleteLinkModal.tsx | 25 ++-- src/components/EditLinkModal.tsx | 48 ++++---- src/components/Logo.tsx | 23 +--- src/components/Navbar.tsx | 110 +++++++++++++---- src/components/Pagination.tsx | 31 ++--- src/components/PinInput.tsx | 7 +- src/components/PinManager.tsx | 19 +-- src/components/QrModal.tsx | 19 +-- src/components/ResultCard.tsx | 129 +++++++++----------- src/components/SegmentedControl.tsx | 51 ++++---- src/components/ShortenForm.tsx | 163 ++++++++++--------------- src/components/Sparkline.tsx | 28 ++--- src/components/ThemeToggle.tsx | 31 ++--- src/components/UrlCard.tsx | 67 ++++------- src/components/UrlRow.tsx | 87 +++++--------- src/components/icons.tsx | 178 ++++++++++++++++++++++++++++ src/components/ui/Button.tsx | 22 ++-- src/components/ui/Modal.tsx | 12 +- src/components/ui/Toast.tsx | 21 ++-- src/index.css | 109 +++++------------ src/pages/Dashboard.tsx | 133 ++++++++------------- src/pages/Home.tsx | 118 ++++++------------ src/pages/Login.tsx | 95 ++++++--------- tailwind.config.js | 37 +----- 27 files changed, 761 insertions(+), 912 deletions(-) create mode 100644 src/components/icons.tsx diff --git a/index.html b/index.html index 374254f..3c80b27 100644 --- a/index.html +++ b/index.html @@ -4,11 +4,12 @@ - - snip β€” A short link service - + + snip β€” short links, minimal + +