import React, { useState } from 'react'; import { IonHeader, IonToolbar, IonContent, IonPage, IonButtons, IonMenuButton, IonButton, IonIcon, IonDatetime, IonSelectOption, IonList, IonItem, IonLabel, IonSelect, IonPopover, IonText, } from '@ionic/react'; import './About.scss'; import { ellipsisHorizontal, ellipsisVertical } from 'ionicons/icons'; import AboutPopover from '../components/AboutPopover'; import { format, parseISO } from 'date-fns'; interface AboutProps {} const About: React.FC = () => { const [showPopover, setShowPopover] = useState(false); const [popoverEvent, setPopoverEvent] = useState(); const [location, setLocation] = useState< 'madison' | 'austin' | 'chicago' | 'seattle' >('madison'); const [conferenceDate, setConferenceDate] = useState( '2047-05-17T00:00:00-05:00' ); const selectOptions = { header: 'Select a Location', }; const presentPopover = (e: React.MouseEvent) => { setPopoverEvent(e.nativeEvent); setShowPopover(true); }; function displayDate(date: string, dateFormat: string) { return format(parseISO(date), dateFormat); } return (
{/* Instead of loading an image each time the select changes, use opacity to transition them */}

About

The Ionic Conference is a one-day event happening on {' '} {displayDate(conferenceDate, 'MMM dd, yyyy')}, featuring talks from the Ionic team. The conference focuses on building applications with Ionic Framework, including topics such as app migration to the latest version, React best practices, Webpack, Sass, and other technologies commonly used in the Ionic ecosystem. Tickets are completely sold out, and we're expecting over 1,000 developers — making this the largest Ionic conference to date!

Details

setLocation(e.detail.value as any)} > Madison, WI Austin, TX Chicago, IL Seattle, WA Date {displayDate(conferenceDate, 'MMM dd, yyyy')} setConferenceDate(e.detail.value! as string) } presentation="date" >

Internet

Wifi network ica{displayDate(conferenceDate, 'y')} Password makegoodthings
setShowPopover(false)} > setShowPopover(false)} />
); }; export default React.memo(About);