-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
5 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { useNavigate } from '@solidjs/router' | ||
import { VoidComponent } from 'solid-js' | ||
import Button from '~/components/Button' | ||
|
||
const Demo: VoidComponent = () => { | ||
const navigate = useNavigate() | ||
|
||
return <div class="fixed right-10 top-10 flex w-[200px] items-end justify-end sm:w-[500px]"> | ||
<Button onClick={() => navigate('/demo')} size="h-14" label="demo >" /> | ||
</div> | ||
} | ||
|
||
export default Demo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import { useNavigate } from '@solidjs/router' | ||
import { Component, Suspense } from 'solid-js' | ||
import { Loader } from '~/components/Loader' | ||
|
||
const Demo: Component = () => { | ||
const navigate = useNavigate() | ||
|
||
return <div class="flex size-full items-center justify-center"> | ||
<button onClick={() => navigate('/')} class="fixed left-10 top-10 rounded-full bg-accent px-5 py-2 text-primary">{'< Back'}</button> | ||
<div class="flex size-5/6 items-center justify-center"> | ||
<Suspense fallback={<Loader />}> | ||
<div style={{'position':'relative','padding-bottom':'calc(53.63247863247863% + 41px)','height':'0','width':'100%'}}> | ||
<iframe src="https://demo.arcade.software/9WurR7ejQZLsBNjHFrJa?embed&show_copy_link=true" title="zitefy.com" | ||
frameborder="0" loading="lazy" webkitallowfullscreen mozallowfullscreen allowfullscreen | ||
allow="clipboard-write" | ||
style={{'position':'absolute','top':'0','left':'0','width':'100%','height':'100%','color-scheme':'light'}} /> | ||
</div> | ||
</Suspense> | ||
</div> | ||
</div> | ||
} | ||
|
||
export default Demo |