Skip to content

Commit

Permalink
Add download link
Browse files Browse the repository at this point in the history
  • Loading branch information
markspolakovs committed May 9, 2024
1 parent 8bcaf49 commit 97afe6c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions app/(authenticated)/wrapped/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,16 @@ export default async function WrappedPage() {
maxHeight: "calc(100vh - 120px)",
}}
/>
<a
href={
fileURL +
"?response-content-disposition=" +
encodeURIComponent("attachment; filename=wrapped.mp4")
}
download
>
Download
</a>
<style
dangerouslySetInnerHTML={{
__html: `body { background-color: black; }`,
Expand Down

0 comments on commit 97afe6c

Please sign in to comment.