Skip to content

Commit

Permalink
Merge pull request #93 from Swetugg/move-tickets-to-top
Browse files Browse the repository at this point in the history
Move tickets to top of page
  • Loading branch information
StacyCash authored Oct 25, 2024
2 parents 293618d + b6c8fa8 commit 11fb63c
Showing 1 changed file with 89 additions and 89 deletions.
178 changes: 89 additions & 89 deletions Pages/sthlm-2025/Index.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,95 @@
</section>
}

@if(activeSections.ContainsKey("tickets"))
{
<section id="tickets" class="content-section">
<div class="container">
<div class="row">
<div class="col-xs-12">
<h1 class="noSubtitle">Tickets</h1>
</div>
</div>
<div class="row">
<div class="col-lg-6 col-lg-offset-3">
@if (ticketSalesOpen)
{
<!-- Ticket Tailor Widget. Paste this into your website where you want the widget to appear. Do not change the code or the widget may not work properly. -->
<div class="tt-widget">
<div class="tt-widget-fallback"><p><a href="https://www.tickettailor.com/checkout/new-session/id/4751923/chk/fcde/?ref=swetugg-site" target="_blank">Click here to buy tickets</a><br /></p></div>
<script src="https://cdn.tickettailor.com/js/widgets/min/widget.js" data-url="https://www.tickettailor.com/checkout/new-session/id/4751923/chk/fcde/?ref=swetugg-site" data-type="inline" data-inline-minimal="true" data-inline-show-logo="false" data-inline-bg-fill="true" data-inline-inherit-ref-from-url-param="" data-inline-ref="swetugg-site"></script>
</div>
<!-- End of Ticket Tailor Widget -->
<p>
@if (earlyBirdAvailable)
{
<h3>Early Bird?</h3>
<p>
The first batch of tickets that we sell will have a discount and they are called "early bird", but they are limited in number.
When they are out, they are out! So be quick! (if the are not listed, they are out)
</p>
}
<h3>Invoice?</h3>
<p>
Do you wish to buy more than five tickets and/or prefer an invoice?
Use the form above and select the option <strong>pay using invoice (more than 5 tickets)</strong> when completing your order.
For less than 5 tickets we charge an extra fee of 200kr for invoices.
</p>

<h3>VAT and Swetugg</h3>
<p>
Swetugg is a registered Swedish non-profit organization. We work to spread knowledge in the community and not for profits.
Because of this, we do not charge VAT on any transactions; neither invoices, nor card.
The price you see on the website is without VAT, and no VAT will be added.
Feel free to contact us if you have any other questions regarding this.
</p>
</p>
}
else
{
<p>
You can can start buying tickets on Thursday 24th of October at 10:00! Don't missout on the early bird offer.
</p>
@*<p>
Tickets for Swetugg 2023 have sold out. If we are able to open sales again, we will announce it on <a href="https://twitter.com/swetugg">Twitter</a> and <a href="https://facebook.com/swetugg">Facebook</a>, so make sure to follow us there!
</p>*@
@*<p>
If you haven't already signed up for our newsletter, do so now and you won't miss the conference next time around!
</p>*@
<!-- Begin MailChimp Signup Form -->
<div id="mc_embed_signup">
<form action="//swetugg.us8.list-manage.com/subscribe/post?u=f8f35c45f37445d5d813b270c&amp;id=5260e75d8e" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
<div id="mc_embed_signup_scroll">
<div class="mc-field-group form-group">
<label for="mce-EMAIL">Email</label>
<input type="email" value="" name="EMAIL" class="required email form-control" id="mce-EMAIL">
</div>
<div class="mc-field-group form-group">
<label for="mce-FNAME">First name</label>
<input type="text" value="" name="FNAME" class="form-control" id="mce-FNAME">
</div>
<div class="mc-field-group form-group">
<label for="mce-LNAME">Last name</label>
<input type="text" value="" name="LNAME" class="form-control" id="mce-LNAME">
</div>
<div id="mce-responses" class="clear">
<div class="response" id="mce-error-response" style="display:none"></div>
<div class="response" id="mce-success-response" style="display:none"></div>
</div>
<!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
<div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_f8f35c45f37445d5d813b270c_5260e75d8e" tabindex="-1" value=""></div>
<div class="clear"><input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button btn btn-default"></div>
</div>
</form>
</div>

}
</div>
</div>
</div>
</section>
}

@if(activeSections.ContainsKey("sponsor"))
{
<section id="sponsor" class="content-section">
Expand Down Expand Up @@ -578,95 +667,6 @@
</section>
}

@if(activeSections.ContainsKey("tickets"))
{
<section id="tickets" class="content-section">
<div class="container">
<div class="row">
<div class="col-xs-12">
<h1 class="noSubtitle">Tickets</h1>
</div>
</div>
<div class="row">
<div class="col-lg-6 col-lg-offset-3">
@if (ticketSalesOpen)
{
<!-- Ticket Tailor Widget. Paste this into your website where you want the widget to appear. Do not change the code or the widget may not work properly. -->
<div class="tt-widget">
<div class="tt-widget-fallback"><p><a href="https://www.tickettailor.com/checkout/new-session/id/4751923/chk/fcde/?ref=swetugg-site" target="_blank">Click here to buy tickets</a><br /></p></div>
<script src="https://cdn.tickettailor.com/js/widgets/min/widget.js" data-url="https://www.tickettailor.com/checkout/new-session/id/4751923/chk/fcde/?ref=swetugg-site" data-type="inline" data-inline-minimal="true" data-inline-show-logo="false" data-inline-bg-fill="true" data-inline-inherit-ref-from-url-param="" data-inline-ref="swetugg-site"></script>
</div>
<!-- End of Ticket Tailor Widget -->
<p>
@if (earlyBirdAvailable)
{
<h3>Early Bird?</h3>
<p>
The first batch of tickets that we sell will have a discount and they are called "early bird", but they are limited in number.
When they are out, they are out! So be quick! (if the are not listed, they are out)
</p>
}
<h3>Invoice?</h3>
<p>
Do you wish to buy more than five tickets and/or prefer an invoice?
Use the form above and select the option <strong>pay using invoice (more than 5 tickets)</strong> when completing your order.
For less than 5 tickets we charge an extra fee of 200kr for invoices.
</p>

<h3>VAT and Swetugg</h3>
<p>
Swetugg is a registered Swedish non-profit organization. We work to spread knowledge in the community and not for profits.
Because of this, we do not charge VAT on any transactions; neither invoices, nor card.
The price you see on the website is without VAT, and no VAT will be added.
Feel free to contact us if you have any other questions regarding this.
</p>
</p>
}
else
{
<p>
You can can start buying tickets on Thursday 24th of October at 10:00! Don't missout on the early bird offer.
</p>
@*<p>
Tickets for Swetugg 2023 have sold out. If we are able to open sales again, we will announce it on <a href="https://twitter.com/swetugg">Twitter</a> and <a href="https://facebook.com/swetugg">Facebook</a>, so make sure to follow us there!
</p>*@
@*<p>
If you haven't already signed up for our newsletter, do so now and you won't miss the conference next time around!
</p>*@
<!-- Begin MailChimp Signup Form -->
<div id="mc_embed_signup">
<form action="//swetugg.us8.list-manage.com/subscribe/post?u=f8f35c45f37445d5d813b270c&amp;id=5260e75d8e" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
<div id="mc_embed_signup_scroll">
<div class="mc-field-group form-group">
<label for="mce-EMAIL">Email</label>
<input type="email" value="" name="EMAIL" class="required email form-control" id="mce-EMAIL">
</div>
<div class="mc-field-group form-group">
<label for="mce-FNAME">First name</label>
<input type="text" value="" name="FNAME" class="form-control" id="mce-FNAME">
</div>
<div class="mc-field-group form-group">
<label for="mce-LNAME">Last name</label>
<input type="text" value="" name="LNAME" class="form-control" id="mce-LNAME">
</div>
<div id="mce-responses" class="clear">
<div class="response" id="mce-error-response" style="display:none"></div>
<div class="response" id="mce-success-response" style="display:none"></div>
</div>
<!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
<div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_f8f35c45f37445d5d813b270c_5260e75d8e" tabindex="-1" value=""></div>
<div class="clear"><input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button btn btn-default"></div>
</div>
</form>
</div>

}
</div>
</div>
</div>
</section>
}

@if(activeSections.ContainsKey("contact"))
{
<section id="contact" class="content-section">
Expand Down

0 comments on commit 11fb63c

Please sign in to comment.