-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* remove logging * added success page with github url after posting * dropped l
- Loading branch information
Showing
4 changed files
with
85 additions
and
3 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
--- | ||
import Footer from '../components/Footer.astro'; | ||
import Header from '../components/Header.astro'; | ||
import { SITE_TITLE } from '../consts'; | ||
import BaseHead from '../components/BaseHead.astro'; | ||
--- | ||
|
||
<head> | ||
<BaseHead title={SITE_TITLE} description={'thank you for participating'} /> | ||
</head> | ||
<body class="h-full"> | ||
<div class="min-h-full"> | ||
<Header headerText={'Successful submitting!'} /> | ||
<div class="py-4"> | ||
<main> | ||
<div class="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8"> | ||
<div class="mx-auto max-w-4xl p-8 sm:px-24"> | ||
<main> | ||
<section> | ||
<img | ||
class="sm:rounded-2xl" | ||
width={800} | ||
height={400} | ||
src={`${ | ||
import.meta.env.BASE_URL | ||
}images/oulu-meetup-submit-image.jpg`} | ||
alt="Thank you image for submittig meetup" | ||
/> | ||
</section> | ||
<div class="mt-12" id="success-message"> | ||
<div class="rounded-md bg-blue-50 p-4"> | ||
<div class="flex"> | ||
<div class="mt-3 flex-shrink-0"> | ||
<svg | ||
class="h-5 w-5 text-blue-400" | ||
viewBox="0 0 20 20" | ||
fill="currentColor" | ||
aria-hidden="true" | ||
> | ||
<path | ||
fill-rule="evenodd" | ||
d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z" | ||
clip-rule="evenodd" | ||
> | ||
</path> | ||
</svg> | ||
</div> | ||
<div class="ml-3 flex flex-col md:flex md:justify-between"> | ||
<p class="text-l text-blue-700"> | ||
Heres the Github issue link for your meetup: | ||
</p> | ||
<p | ||
class="text-l mt-3 text-cyan-900 hover:text-cyan-700 md:mt-0" | ||
id="issue-link" | ||
> | ||
</p> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</main> | ||
</div> | ||
</div> | ||
</main> | ||
<Footer /> | ||
</div> | ||
</div> | ||
</body> | ||
<script> | ||
const urlSearchParams = new URLSearchParams(window.location.search); | ||
const githubLink = urlSearchParams.get('githubLink'); | ||
if (githubLink) { | ||
const a = document.createElement('a'); | ||
a.innerText = githubLink; | ||
a.href = githubLink; | ||
document.getElementById('issue-link')!.appendChild(a); | ||
} else { | ||
document.getElementById('success-message')!.classList.add('hidden'); | ||
} | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters