Skip to content

Commit 47089c1

Browse files
authored
Merge pull request #189 from Yensid10/main
Created xt25-gs
2 parents 8c080bb + 1c145f0 commit 47089c1

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

src/components/XT25Page.astro

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ import speakers from '../data/xt25/speakers.json'
77
import XT25Agenda from '@components/XT25Agenda.astro'
88
99
const { contactSubject } = Astro.props
10+
let subject = 'XT25 RFI'
11+
if (Astro.url.pathname.includes('xt25-gs')) {
12+
subject = 'XT25-GS RFI'
13+
}
1014
---
1115

1216
<Layout
@@ -129,10 +133,7 @@ const { contactSubject } = Astro.props
129133
>
130134
This Event is Invite-Only and Free for Attendees
131135
</span>
132-
<ContactUsFormXT24
133-
client:only
134-
subject={contactSubject || 'XT25 RFI'}
135-
/>
136+
<ContactUsFormXT24 client:only subject={contactSubject || subject} />
136137
</div>
137138
</div>
138139
</div>

src/pages/xt25-gs.astro

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
import XT25Page from '@components/XT25Page.astro'
3+
---
4+
5+
<XT25Page />

0 commit comments

Comments
 (0)