From bc1104efa9486b4cd107a394f72cfa3f7b1fa4a5 Mon Sep 17 00:00:00 2001 From: abue-ammar Date: Sat, 18 Jul 2026 20:54:35 +0600 Subject: [PATCH] fix web design --- website/index.html | 18 ++++-- website/package-lock.json | 37 +++++++++-- website/package.json | 5 +- website/src/App.tsx | 2 + website/src/components/compare.tsx | 36 ++++++++++- website/src/components/ethos.tsx | 30 +++++---- website/src/components/footer.tsx | 32 +++++++--- website/src/components/gallery.tsx | 99 ++++++++++++++++++++++++++++++ website/src/components/hero.tsx | 14 ++--- website/src/components/nav.tsx | 4 +- website/src/components/ui/icon.tsx | 15 +++++ website/src/data/ethos.ts | 24 ++------ website/src/data/gallery.ts | 87 ++++++++++++++++++++++++++ website/src/data/site.ts | 12 ++++ website/src/index.css | 11 +++- 15 files changed, 356 insertions(+), 70 deletions(-) create mode 100644 website/src/components/gallery.tsx create mode 100644 website/src/data/gallery.ts diff --git a/website/index.html b/website/index.html index 51b6b91e..b0b6eae1 100644 --- a/website/index.html +++ b/website/index.html @@ -9,7 +9,11 @@ Tinycast — a tiny, native macOS launcher + @@ -21,11 +25,11 @@ =14" + }, + "funding": { + "url": "https://github.com/sponsors/igordanchenko" + }, + "peerDependencies": { + "@types/react": "^16 || ^17 || ^18 || ^19", + "@types/react-dom": "^16 || ^17 || ^18 || ^19", + "react": "^16.8.0 || ^17 || ^18 || ^19", + "react-dom": "^16.8.0 || ^17 || ^18 || ^19" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } } } } diff --git a/website/package.json b/website/package.json index dc18d3ee..e5248911 100644 --- a/website/package.json +++ b/website/package.json @@ -11,11 +11,12 @@ "format": "prettier --write ." }, "dependencies": { + "clsx": "^2.1.1", "lucide-react": "^1.23.0", "react": "^19.2.7", "react-dom": "^19.2.7", - "clsx": "^2.1.1", - "tailwind-merge": "^3.6.0" + "tailwind-merge": "^3.6.0", + "yet-another-react-lightbox": "^3.32.1" }, "devDependencies": { "@babel/core": "^7.29.7", diff --git a/website/src/App.tsx b/website/src/App.tsx index 201028a2..c8c241ed 100644 --- a/website/src/App.tsx +++ b/website/src/App.tsx @@ -1,5 +1,6 @@ import { Nav } from "./components/nav"; import { Hero } from "./components/hero"; +import { Gallery } from "./components/gallery"; import { Features } from "./components/features"; import { Compare } from "./components/compare"; import { Switch } from "./components/switch"; @@ -14,6 +15,7 @@ function App() {