-
Notifications
You must be signed in to change notification settings - Fork 9
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 #26 from layerswap/dev-add-maintenance
added maintanance
- Loading branch information
Showing
4 changed files
with
50 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
export default function CardContainer(props:any) { | ||
return (<div {...props}> | ||
<div className="bg-secondary-900 shadow-card rounded-lg w-full mt-10 overflow-hidden relative"> | ||
<div className="relative overflow-hidden h-1 flex rounded-t-lg bg-secondary-500"></div> | ||
<div className="p-2"> | ||
{props.children} | ||
</div> | ||
</div> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import * as React from 'react' | ||
const SpinIcon = (props:any) => ( | ||
<svg {...props} xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" strokeWidth={4}> | ||
<circle className="opacity-25" cx="12" cy="12" r="10" stroke="currentColor"></circle> | ||
<path className="opacity-75" fill="currentColor" 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> | ||
) | ||
|
||
export default SpinIcon; | ||
|
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,26 @@ | ||
import LayerswapExplorerLogo from "../icons/layerswapExplorer"; | ||
import CardContainer from "../cardContainer"; | ||
|
||
function MaintananceContent(props: any) { | ||
|
||
return ( | ||
<div className="flex items-stretch flex-col"> | ||
<LayerswapExplorerLogo className="block md:hidden h-8 w-auto text-primary-text mt-5"></LayerswapExplorerLogo> | ||
<CardContainer {...props} > | ||
<div className="flex flex-col justify-center space-y-12 p-10 text-primary-text md:min-h-fit min-h-[400px]"> | ||
<h1 className="text-xl tracking-tight text-gray-200"> | ||
<p className="mb-4 text-primary-text"> | ||
We're upgrading our systems and infrastructure to give you the best experience yet. | ||
</p> | ||
<span className="block font-bold text-3xl xl:inline">We'll be back at 15:00 UTC</span> | ||
<p className="mt-4 text-primary-text"> | ||
Any pending swaps will be completed after maintenance. | ||
</p> | ||
</h1> | ||
</div> | ||
</CardContainer> | ||
</div> | ||
); | ||
} | ||
|
||
export default MaintananceContent; |