Skip to content

Commit

Permalink
feat(event): add kotlin quiz
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Nov 5, 2024
1 parent 37771b9 commit ddb5ed6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion pages/jfall-24-quiz-java.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export async function getStaticProps() {
return { props: { theme: 'beige' } }
}

export default function DevoxxJava() {
export default function JfallJava() {
const { theme } = useBrandingTheme()

return (
Expand Down
17 changes: 8 additions & 9 deletions pages/jfall-24-quiz-kotlin.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,19 @@ export async function getStaticProps() {
return { props: { theme: 'beige' } }
}

export default function DevoxxJava() {
export default function JfallKotlin() {
const { theme } = useBrandingTheme()

return (
<>
<PageSEO title="J-Fall Quiz - Java" description={siteMetadata.description} />
<PageSEO title="J-Fall Quiz - Kotlin" description={siteMetadata.description} />

<section className={`bg-io_${theme}-500`}>
<div className="container mx-auto pb-24 pt-8 md:pb-32">
<div className="grid grid-cols-12">
<div className="col-start-1 col-end-12 mb-8 md:col-end-8 md:mb-10 md:mt-4 xl:row-start-1 xl:mb-16 xl:mt-12">
<h1 className="text-4xl md:text-5xl xl:text-6xl">
The iO <span className="font-serif font-light">Java developer</span> quiz
The iO <span className="font-serif font-light">Kotlin developer</span> quiz
</h1>
</div>
<div className="col-start-1 col-end-12 mb-8 md:col-start-9 md:col-end-13 md:row-start-1 md:row-end-4 md:mb-0 xl:col-start-9 xl:row-start-1">
Expand All @@ -37,13 +37,12 @@ export default function DevoxxJava() {
<div className="col-span-full md:col-span-5 md:col-start-4 xl:col-span-6">
<div className="xl:w-11/12">
<p className="mb-4 ">
Are you a Java developer? Are you a good Java developer? Or a great Java
Are you a Kotlin developer? Are you a good Kotlin developer? Or a great Kotlin
developer? Go on, show off you skills and win fabulous prizes!
</p>
<p className="mb-4 ">
There are no tricks, only one correct answer per question. All the given code
compiles and unless specified explicitly, you may assume we are Java/JDK 23. And
it’s a quiz, so “I don’t know” is always the wrong answer. 😉
compiles. And it’s a quiz, so “I don’t know” is always the wrong answer. 😉
</p>
</div>
</div>
Expand All @@ -54,11 +53,11 @@ export default function DevoxxJava() {
<div className="container mx-auto pt-20">
<div className="grid grid-cols-12">
<div className="col-span-12 xl:col-span-8 xl:col-start-3">
{/* <HubSpotForm
<HubSpotForm
className="quiz"
portalId={'513128'}
formId={'27fb9cb6-2dd2-4efc-afb3-2c1857892f80'}
/> */}
formId={'39536cb0-8368-4651-bf2b-422978930577'}
/>
</div>
</div>
</div>
Expand Down

0 comments on commit ddb5ed6

Please sign in to comment.