Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 3 additions & 11 deletions src/pages/LandingPageV3/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,13 @@ import ParentOrgs from './ParentOrgs'
import Footer from './Footer'
import Sponsors from './Sponsors'
import { Dialog } from '@headlessui/react'
import { useState, useEffect } from 'react'
import { useState } from 'react'

import './style.css'

export default function LandingPageV3() {
const whatIsGenerateRef = useRef(null)
const [isOpen, setIsOpen] = useState(false)

useEffect(() => {
const timer = setTimeout(() => {
setIsOpen(true)
}, 2000)
return () => clearTimeout(timer)
}, [])
const [isOpen, setIsOpen] = useState(false) // <-- Set to true to enable the popup and change the link below

return (
<div id='page-bg'>
Expand All @@ -35,10 +28,9 @@ export default function LandingPageV3() {
<iframe
id='luma'
title='luma'
src='https://luma.com/embed/event/evt-qcaL1sDb6Cg68Am/simple'
src='https://luma.com/embed/event/..../simple' // <-- Luma embedded link
width='100%'
height='100%'
frameBorder='0'
style={{ border: 'none' }}
allow='fullscreen; payment'
aria-hidden='false'
Expand Down