import {
createHashRouter,
RouteObject,
RouterProvider,
useMatches,
} from "react-router-dom";
import Page from "./components/Page.js";
// @ts-ignore
import lumeLogo from "../../assets/lume-logo.png";
// @ts-ignore
import classNames from "classnames";
import "./App.scss";
// @ts-ignore
import browser from "webextension-polyfill";
const contentPages = [
{
heading: <>Thank you for supporting an open web.>,
content: (
<>
We are an independent, pure organization. We have decided not to take
money from venture capitalists. Nor do we have a large treasury funding
our work.
>
),
},
{
heading: <>Your means to access all of the open web>,
content: (
<>
Web3 is made up of a diverse set of open networks and projects, all with
the intention of letting you be in control.
You can now freely access all these platforms and services
without a concern for censorship.
>
),
},
{
heading: <>An early demo>,
content: (
<>
Be aware this system is effectively a prototype/product demo/tech demo.
It relies on you to provide feedback and the direction you want to see
it evolve.
In short, we are here to show you what is possible with web3, and the
rest is in your court!
We are starting off with: Handshake, Ethereum, and IPFS.
>
),
},
{
heading: <>The next step is to create an account>,
content: (
<>
If you are new to web3, this is a 12 word code that represents your
account. Keep it safe. If you share it, that person can access
everything and you cannot revoke access.
If you are not new, consider this as a wallet, but for the web, not for
crypto.
>
),
},
] as {
heading: React.ReactElement;
content: React.ReactElement;
}[];
contentPages.map((page, index) => {
if (!index) {
return;
}
});
const childRoutes = contentPages.slice(1).map((item, index): RouteObject => {
return {
path: `page-${index + 1}`,
handle: {
page: index + 1,
},
};
});
const rootRoute = {
path: "/",
element: