2023-07-25 10:40:26 -04:00
|
|
|
import { faArrowRight, faXmark } from '@fortawesome/free-solid-svg-icons'
|
|
|
|
import { ActionButton } from '../../components/ActionButton'
|
2023-08-15 21:56:24 -04:00
|
|
|
import { onboardingPaths, useDismiss, useNextClick } from '.'
|
2023-07-25 10:40:26 -04:00
|
|
|
|
2023-08-15 21:56:24 -04:00
|
|
|
export default function Introduction() {
|
2023-07-25 10:40:26 -04:00
|
|
|
const dismiss = useDismiss()
|
2023-08-15 21:56:24 -04:00
|
|
|
const next = useNextClick(onboardingPaths.UNITS)
|
2023-07-25 10:40:26 -04:00
|
|
|
|
|
|
|
return (
|
|
|
|
<div className="fixed grid place-content-center inset-0 bg-chalkboard-110/50 z-50">
|
2023-07-31 06:33:10 -04:00
|
|
|
<div className="max-w-3xl bg-chalkboard-10 dark:bg-chalkboard-90 p-8 rounded">
|
2023-07-25 10:40:26 -04:00
|
|
|
<h1 className="text-2xl font-bold">
|
|
|
|
Welcome to the KittyCAD Modeling App
|
|
|
|
</h1>
|
|
|
|
<p className="my-2">
|
|
|
|
A browser-first, GPU-streaming hardware design tool that lets you edit
|
|
|
|
visually, with code, or both.
|
|
|
|
</p>
|
|
|
|
<p className="my-2">
|
|
|
|
Powered by the first API created for anyone to build hardware design
|
|
|
|
tools.
|
|
|
|
</p>
|
|
|
|
<div className="flex justify-between mt-6">
|
|
|
|
<ActionButton
|
2023-08-15 21:56:24 -04:00
|
|
|
Element="button"
|
2023-08-18 10:27:01 -04:00
|
|
|
onClick={() => dismiss('../')}
|
2023-07-25 10:40:26 -04:00
|
|
|
icon={{
|
|
|
|
icon: faXmark,
|
|
|
|
bgClassName: 'bg-destroy-80',
|
|
|
|
iconClassName:
|
|
|
|
'text-destroy-20 group-hover:text-destroy-10 hover:text-destroy-10',
|
|
|
|
}}
|
|
|
|
className="hover:border-destroy-40"
|
|
|
|
>
|
|
|
|
Dismiss
|
|
|
|
</ActionButton>
|
2023-08-15 21:56:24 -04:00
|
|
|
<ActionButton
|
|
|
|
Element="button"
|
|
|
|
onClick={next}
|
|
|
|
icon={{ icon: faArrowRight }}
|
|
|
|
>
|
2023-07-25 10:40:26 -04:00
|
|
|
Get Started
|
|
|
|
</ActionButton>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
)
|
|
|
|
}
|