✨(demo) add onboarding modal
On first visit, display an onboarding modal to explain the purpose of this demo.
This commit is contained in:
committed by
Jean-Baptiste PENRATH
parent
86138df8fe
commit
bacd9446b4
@@ -7,6 +7,7 @@ import {
|
||||
import React, { useEffect, useMemo, useState } from "react";
|
||||
import { Create } from "./Create";
|
||||
import { Home } from "./Home";
|
||||
import Onboarding from "./Onboarding";
|
||||
|
||||
enum Theme {
|
||||
CUNNINGHAM = "cunningham",
|
||||
@@ -90,6 +91,7 @@ export const App = () => {
|
||||
alt="Background pattern"
|
||||
/>
|
||||
)}
|
||||
<Onboarding />
|
||||
<Home modal={modal} />
|
||||
<Create {...modal} />
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user