-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Gabe Rodriguez <[email protected]>
- Loading branch information
1 parent
a053b33
commit 1f9d75c
Showing
10 changed files
with
64 additions
and
42 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 |
---|---|---|
@@ -1,3 +1,22 @@ | ||
import { Button } from '@penumbra-zone/ui/components/ui/button'; | ||
import { LockClosedIcon } from '@radix-ui/react-icons'; | ||
|
||
export const IbcInForm = () => { | ||
return <div>To come...</div>; | ||
return ( | ||
<form | ||
className='flex w-full flex-col gap-4 md:w-[340px] xl:w-[450px]' | ||
onSubmit={e => { | ||
e.preventDefault(); | ||
}} | ||
> | ||
<h2 className='text-base font-bold text-gray-500'>Stuff to go here..</h2> | ||
|
||
<Button type='submit' variant='onLight'> | ||
<div className='flex items-center gap-2'> | ||
<LockClosedIcon /> | ||
<span className='-mb-1'>Shield Assets</span> | ||
</div> | ||
</Button> | ||
</form> | ||
); | ||
}; |
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 |
---|---|---|
@@ -1,16 +1,22 @@ | ||
import { Card } from '@penumbra-zone/ui/components/ui/card'; | ||
import { IbcInForm } from './ibc-in-form'; | ||
import { IbcOutForm } from './ibc-out-form'; | ||
import { IbcInForm } from './ibc-in-form'; | ||
import { ArrowLeftIcon, ArrowRightIcon } from '@radix-ui/react-icons'; | ||
|
||
export const IbcLayout = () => { | ||
return ( | ||
<div className='flex flex-1 flex-col gap-4 md:flex-row md:place-content-around'> | ||
<Card className='md:self-start'> | ||
<IbcInForm /> | ||
</Card> | ||
<Card className='md:self-end'> | ||
<IbcOutForm /> | ||
</Card> | ||
</div> | ||
<> | ||
<div className="fixed inset-0 z-[-100] size-full bg-[url('penumbra-logo.svg')] bg-[length:160vmax] bg-fixed bg-[top_50%_left_25vw] bg-no-repeat" /> | ||
<div className='flex flex-1 flex-col gap-4 md:flex-row md:place-content-around'> | ||
<Card light className='relative overflow-visible md:self-start'> | ||
<ArrowRightIcon className='absolute inset-y-0 right-0 z-10 my-auto -mr-14 size-16 text-stone-300' /> | ||
<IbcInForm /> | ||
</Card> | ||
<Card gradient className='relative overflow-visible md:self-end'> | ||
<ArrowLeftIcon className='absolute inset-y-0 left-0 z-10 my-auto -ml-14 size-16 text-stone-700' /> | ||
<IbcOutForm /> | ||
</Card> | ||
</div> | ||
</> | ||
); | ||
}; |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.