Skip to content

Commit

Permalink
chore: bring back onboarding
Browse files Browse the repository at this point in the history
  • Loading branch information
pociej committed Feb 9, 2024
1 parent 9dcb80c commit 70d1133
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 37 deletions.
4 changes: 2 additions & 2 deletions frontend/src/app/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const Onboarding = () => {
</AnimatedPage>
}
/>
{/* <Route
<Route
path="/unsupported"
element={
<AnimatedPage>
Expand All @@ -60,7 +60,7 @@ const Onboarding = () => {
</AnimatedPage>
}
></Route>
<Route path="/playground" element={<Playground />} /> */}
<Route path="/playground" element={<Playground />} />
</Routes>
</AnimatePresence>
)
Expand Down
46 changes: 11 additions & 35 deletions frontend/src/components/pages/landing/LandingPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,42 +104,18 @@ export const LandingPage = () => {
}
return (
<LayoutTemplate
// header={
// // <Button
// // buttonStyle="solid"
// // className="md:py-4 md:px-9 py-2 px-5 text-button-large mt-8"
// // useDefault={true}
// // onClick={startOnboarding}
// // >
// // {/* <Trans i18nKey="getGLM" ns="landing" /> */}
// // </Button>
// }
header={
<Button
buttonStyle="solid"
className="md:py-4 md:px-9 py-2 px-5 text-button-large mt-8"
useDefault={true}
onClick={startOnboarding}
>
<Trans i18nKey="getGLM" ns="landing" />
</Button>
}
>
{/* <LandingPageContent startOnboarding={startOnboarding} /> */}
<div className="col-span-10 col-start-2 text-h3 text-primary mt-20 text-center grid grid-cols-4">
<div className="col-span-2 col-start-2">
<img
src="/placeholder.svg"
className="mb-20 w-[50vw] text-center margin-auto"
></img>
</div>
<div className="col-span-4">
This site is temporarily unavailable. We apologize for any
inconvenience and appreciate your patience.
<br></br>
It will be back up soon! In the meantime, you can find the previous
website with information about GLM token here:
<br></br>
<a
href="https://migration-tracker.golem.network/"
rel="noreferrer"
target="_blank"
className="text-primary underline inline"
>
https://migration-tracker.golem.network
</a>
</div>
</div>
<LandingPageContent startOnboarding={startOnboarding} />
</LayoutTemplate>
)
}

0 comments on commit 70d1133

Please sign in to comment.