mirror of
https://github.com/audacity/audacity.github.io.git
synced 2026-04-12 06:25:33 -05:00
[PR #31] [MERGED] Implement post-download page #49
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/audacity/audacity.github.io/pull/31
Author: @DilsonsPickles
Created: 9/10/2024
Status: ✅ Merged
Merged: 9/12/2024
Merged by: @LWinterberg
Base:
main← Head:post-download📝 Commits (8)
ef253a5Init commit9451f9cIncrease 'Join now' button size12106a4Update card descriptive text9d1e5c4Rename MuseHub download buttonaf84ef1Utilise component stateff7fe44Improve function namee6aeaccFormat buttoneb408b6Update feature card copy📊 Changes
11 files changed (+168 additions, -14 deletions)
View changed files
📝
src/components/button/DownloadButton.jsx(+5 -1)📝
src/components/button/DownloadMuseHubButton.jsx(+6 -2)➕
src/components/button/JoinAudioDotComButton.jsx(+28 -0)➕
src/components/button/PlatformDownloadMuseHubButton.jsx(+32 -0)➕
src/components/card/AudioDotComCard.jsx(+18 -0)📝
src/components/card/DownloadCard.jsx(+6 -2)📝
src/components/card/FeatureCard.jsx(+1 -2)📝
src/layouts/DownloadPageLayout.astro(+6 -6)➕
src/pages/post-download.astro(+49 -0)📝
src/styles/icons.css(+16 -0)📝
src/styles/input.css(+1 -1)📄 Description
This pull request adds a timeout to the download button which, after 2 seconds, redirects the User to a post-download page. The post-download page contains a 'thank you' banner as well as promotional content for audio.com (including a 'Join now' CTA).
One thing worth considering is what happens if a User cancels their download as they will still be redirected. I am not yet sure how to solve this...
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.