-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #232 from mrgnlabs/man0s/stake
Man0s/stake
- Loading branch information
Showing
43 changed files
with
1,875 additions
and
143 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
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,59 +1,15 @@ | ||
import { FC } from "react"; | ||
import { FC, ReactNode } from "react"; | ||
|
||
interface PageHeaderProps { | ||
text?: string; | ||
children: ReactNode; | ||
} | ||
|
||
const PageHeader: FC<PageHeaderProps> = ({ text = "mrgnlend" }) => { | ||
const PageHeader: FC<PageHeaderProps> = ({ children }) => { | ||
return ( | ||
<div className="hidden sm:flex w-full flex-row justify-center border-solid border-[#1C2125] border-y-[1px]"> | ||
<div | ||
className={ | ||
"h-[64px] w-full w-[90%] max-w-7xl pl-[60px] flex flex-row items-center py-1 font-aeonik font-normal text-3xl bg-[url('/WaveBG3.png')]" | ||
} | ||
> | ||
{text} | ||
</div> | ||
<div className="hidden sm:flex w-full h-[60px] justify-center items-center border-solid border-[#1C2125] border-y-[1px] bg-[url('/WaveBG3.png')]"> | ||
<div className="w-4/5 max-w-7xl flex-row border-solid font-aeonik font-normal text-3xl">{children}</div> | ||
</div> | ||
); | ||
}; | ||
|
||
const PageHeaderSwap: FC = () => { | ||
return ( | ||
<div className="hidden sm:flex w-full flex-row justify-center border-solid border-[#1C2125] border-y-[1px]"> | ||
<div | ||
className={ | ||
"h-[64px] w-full w-[90%] max-w-7xl pl-[60px] flex flex-row items-center py-1 font-aeonik font-normal text-3xl bg-[url('/WaveBG3.png')] gap-1" | ||
} | ||
> | ||
swap | ||
<span className="text-sm h-[48px] pt-[32px] bg-white bg-clip-text text-transparent">Powered</span> | ||
{/* Different components here by word so spacing can be the same */} | ||
<span className="text-sm h-[48px] pt-[32px] bg-white bg-clip-text text-transparent">by</span> | ||
<span className="text-sm h-[48px] pt-[32px] bg-jup-gradient-colors bg-clip-text text-transparent">Jupiter</span> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
const PageHeaderBridge: FC = () => { | ||
return ( | ||
<div className="hidden sm:flex w-full flex-row justify-center border-solid border-[#1C2125] border-y-[1px]"> | ||
<div | ||
className={ | ||
"h-[64px] w-full w-[90%] max-w-7xl pl-[60px] flex flex-row items-center py-1 font-aeonik font-normal text-3xl bg-[url('/WaveBG3.png')] gap-1" | ||
} | ||
> | ||
bridge | ||
<span className="text-sm h-[48px] pt-[32px] bg-white bg-clip-text text-transparent">Powered</span> | ||
{/* Different components here by word so spacing can be the same */} | ||
<span className="text-sm h-[48px] pt-[32px] bg-white bg-clip-text text-transparent">by</span> | ||
<span className="text-sm mt-[6px] h-[54px] pt-[32px] bg-mayan-gradient-colors bg-clip-text text-transparent z-100"> | ||
Mayan | ||
</span> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export { PageHeader, PageHeaderSwap, PageHeaderBridge }; | ||
export { PageHeader }; |
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 @@ | ||
export const Spinner = () => ( <svg | ||
className="animate-spin ml-1 mr-3 h-5 w-5 text-white" | ||
xmlns="http://www.w3.org/2000/svg" | ||
fill="none" | ||
viewBox="0 0 24 24" | ||
> | ||
<circle width="opacity-10" cx="12" cy="12" r="10" stroke="#aaa" strokeWidth="4"></circle> | ||
<path | ||
width="opacity-100" | ||
fill="#DCE85D" | ||
d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z" | ||
></path> | ||
</svg>) |
Oops, something went wrong.
67c1c85
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
omni – ./apps/omni
omni.marginfi.com
omni-mrgn.vercel.app
omni-one.vercel.app
omni-git-production-mrgn.vercel.app
67c1c85
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
marginfi-landing-page – ./apps/marginfi-landing-page
marginfi-landing-page.vercel.app
marginfi-landing-page-git-production-mrgn.vercel.app
marginfi-landing-page-mrgn.vercel.app
www.marginfi.com
marginfi.com
67c1c85
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
marginfi-v2-ui – ./apps/marginfi-v2-ui
app.marginfi.com
www.mfi.gg
marginfi-v2-ui-mrgn.vercel.app
mrgn-ts-marginfi-v2-ui.vercel.app
marginfi-v2-ui-git-production-mrgn.vercel.app
mfi.gg