Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
feat(web): simplify download pages for deb-only Linux
Richie McIlroya775827b1ab7
diff --git a/apps/web/app/(site)/download/versions/page.tsx b/apps/web/app/(site)/download/versions/page.tsxindex 6bce5d524..48acda21d 100644--- a/apps/web/app/(site)/download/versions/page.tsx+++ b/apps/web/app/(site)/download/versions/page.tsx@@ -47,26 +47,12 @@ function DownloadLinks({<WindowsIcon />Windows</a>- <a- href="/download/linux"- className="inline-flex items-center gap-1.5 px-3 py-1.5 text-sm font-medium rounded-md bg-gray-3 text-gray-12 hover:bg-gray-4 transition-colors"- >- <LinuxIcon />- Linux AppImage- </a><ahref="/download/linux-deb"className="inline-flex items-center gap-1.5 px-3 py-1.5 text-sm font-medium rounded-md bg-gray-3 text-gray-12 hover:bg-gray-4 transition-colors"><LinuxIcon />- Debian/Ubuntu- </a>- <a- href="/download/linux-rpm"- className="inline-flex items-center gap-1.5 px-3 py-1.5 text-sm font-medium rounded-md bg-gray-3 text-gray-12 hover:bg-gray-4 transition-colors"- >- <LinuxIcon />- Fedora/RHEL+ Linux .deb</a></div>);@@ -105,31 +91,13 @@ function DownloadLinks({Windows</a>)}- {downloads["linux-appimage"] && (- <a- href={downloads["linux-appimage"]}- className="inline-flex items-center gap-1.5 px-3 py-1.5 text-sm font-medium rounded-md bg-gray-3 text-gray-12 hover:bg-gray-4 transition-colors"- >- <LinuxIcon />- Linux AppImage- </a>- )}{downloads["linux-deb"] && (<ahref={downloads["linux-deb"]}className="inline-flex items-center gap-1.5 px-3 py-1.5 text-sm font-medium rounded-md bg-gray-3 text-gray-12 hover:bg-gray-4 transition-colors"><LinuxIcon />- Debian/Ubuntu- </a>- )}- {downloads["linux-rpm"] && (- <a- href={downloads["linux-rpm"]}- className="inline-flex items-center gap-1.5 px-3 py-1.5 text-sm font-medium rounded-md bg-gray-3 text-gray-12 hover:bg-gray-4 transition-colors"- >- <LinuxIcon />- Fedora/RHEL+ Linux .deb</a>)}</div>diff --git a/apps/web/components/pages/DownloadPage.tsx b/apps/web/components/pages/DownloadPage.tsxindex 0a88cc82c..db856d272 100644--- a/apps/web/components/pages/DownloadPage.tsx+++ b/apps/web/components/pages/DownloadPage.tsx@@ -172,43 +172,18 @@ export const DownloadPage = () => {)}{platform !== "linux" && (<a- href="/download/linux"+ href="/download/linux-deb"onClick={() =>- trackDownloadClick("other_option_linux", "/download/linux")+ trackDownloadClick(+ "other_option_linux_deb",+ "/download/linux-deb",+ )}className="text-sm transition-all text-gray-10 hover:underline">- Linux AppImage+ Linux .deb</a>)}- {platform === "linux" && (- <>- <a- href="/download/linux-deb"- onClick={() =>- trackDownloadClick(- "other_option_linux_deb",- "/download/linux-deb",- )- }- className="text-sm transition-all text-gray-10 hover:underline"- >- Debian/Ubuntu- </a>- <a- href="/download/linux-rpm"- onClick={() =>- trackDownloadClick(- "other_option_linux_rpm",- "/download/linux-rpm",- )- }- className="text-sm transition-all text-gray-10 hover:underline"- >- Fedora/RHEL- </a>- </>- )}{platform === "macos" && isIntel && (<ahref="/download/apple-silicon"