Skip to content

Commit 8516faf

Browse files
DilsonsPicklesLWinterberg
authored andcommitted
Move Branch env
1 parent adfd2c9 commit 8516faf

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/components/homepage/HeroBanner.astro

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
import DownloadButton from "../button/DownloadButton";
33
import AudacityMockUp from "../../assets/img/HeroBannerImage.webp";
44
import DownloadMuseHubButton from "../button/DownloadMuseHubButton";
5+
const branch = import.meta.env.BRANCH || "unknown";
56
---
67

78
<section id="main" class="bg-gradient-to-r from-indigo-900 to-blue-700">
@@ -15,6 +16,8 @@ import DownloadMuseHubButton from "../button/DownloadMuseHubButton";
1516
Audacity is the world's most popular audio editing and recording app
1617
</h1>
1718

19+
<p>Current branch: {branch}</p>
20+
1821
<div class="flex flex-col md:w-fit gap-4 items-center md:items-start">
1922
<DownloadMuseHubButton client:load />
2023
<noscript>

src/pages/.secret-form.astro

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import NewsletterForm from "../components/form/NewsletterForm.astro";
33
import BaseLayout from "../layouts/BaseLayout.astro";
44
import "../styles/icons.css";
55
6-
const branch = import.meta.env.BRANCH || "unknown";
76
---
87

98
<BaseLayout

0 commit comments

Comments
 (0)