Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
dooman87 committed Mar 16, 2024
2 parents 91958cf + bdf9be9 commit 36821a9
Show file tree
Hide file tree
Showing 12 changed files with 45 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/code-of-conduct.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -233,10 +233,10 @@ const CodeOfConduct: NextPage = () => {

<StyledList>
<li>
<strong>Green:</strong> fine to photograph
<strong>Green or Red:</strong> do not photograph
</li>
<li>
<strong>Yellow:</strong> do not photograph
<strong>Other colours:</strong> fine to photograph
</li>
</StyledList>

Expand Down
43 changes: 43 additions & 0 deletions pages/supersecretlink.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
import React from 'react'
import { Main } from 'layouts/main'

const form =
'<iframe width="640px" height="480px" src="https://forms.office.com/Pages/ResponsePage.aspx?id=1Fl-EtxArEOMrZBBUn5pEsOsP0_dXbtBp9bJbYo9i1BUMkhQTVo3R0lFSUhTQVM2MlE0NDNHUk1QMi4u&embed=true" frameborder="0" marginwidth="0" marginheight="0" style="border: none; max-width:100%; max-height:100vh" allowfullscreen webkitallowfullscreen mozallowfullscreen msallowfullscreen > {\' \'} </iframe>'

const SuperSecretLinkPage = (): JSX.Element => {
const memeImages = [
'static/images/memes/meme1.png',
'static/images/memes/meme2.png',
'static/images/memes/meme3.png',
'static/images/memes/meme4.jpg',
'static/images/memes/meme5.png',
'static/images/memes/meme6.png',
'static/images/memes/meme7.jpg',
'static/images/memes/meme8.jpg',
'static/images/memes/meme9.jpg',
'static/images/memes/meme10.jpg',
]

const randomlySelectedMemeImage = memeImages[Math.floor(Math.random() * memeImages.length)]

return (
<Main title="Secret 🤫">
<div style={{ textAlign: 'center' }}>
<img src={randomlySelectedMemeImage} width="300px" style={{ display: 'block', margin: '0 auto' }} />

<br />
<br />

<h1>You've found the super secret link!</h1>
<p>&nbsp;</p>
<h2>Submit the form below for a chance to win the super secret prize at the end of today.</h2>

<p>&nbsp;</p>

<div dangerouslySetInnerHTML={{ __html: form }}></div>
</div>
</Main>
)
}

export default SuperSecretLinkPage
Binary file added public/static/images/memes/meme1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/static/images/memes/meme10.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/static/images/memes/meme2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/static/images/memes/meme3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/static/images/memes/meme4.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/static/images/memes/meme5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/static/images/memes/meme6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/static/images/memes/meme7.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/static/images/memes/meme8.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/static/images/memes/meme9.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 36821a9

Please sign in to comment.