Skip to content

Commit

Permalink
feat: hide kickof rsvp btn until url provided
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonappah committed Aug 6, 2024
1 parent fc51e46 commit fda8231
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/pages/events/kickoff.astro
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ let stats: Stat[] = [
},
]
const url = "#"
const url = ""
---

<BaseLayout title={projectTitle} description={shortDescription}>
Expand All @@ -54,7 +54,7 @@ const url = "#"
))
}
</div>
<a
{url && <a
style={{
backgroundColor: 'white',
color: 'var(--primary)',
Expand All @@ -68,7 +68,7 @@ const url = "#"
target="_blank"
>
RSVP
</a>
</a>}
</div>
<div class="image-container">
<img
Expand All @@ -95,10 +95,10 @@ const url = "#"
</p>
<h2 class="history-title">Wait, Free Stuff?</h1>
<p class="history-text">
Of course! You'll be able to get free Red Bull at Kickoff, and more to be announced at the event :) Register below to let us know you'll be there, and help us make sure we have enough product to give out!
Of course! You'll be able to get free Red Bull at Kickoff, and more to be announced at the event :) {url && "Register below to let us know you'll be there, and help us make sure we have enough product to give out!"}
</p>
<br>
<a
{url && <a
style={{
backgroundColor: 'var(--primary)',
padding: '0.5rem 1rem',
Expand All @@ -112,7 +112,7 @@ const url = "#"
target="_blank"
>
RSVP
</a>
</a>}
<div class="image-grid">
{images.map((img) => <img src={img} class="history-image" />)}
</div>
Expand Down

0 comments on commit fda8231

Please sign in to comment.