-
Notifications
You must be signed in to change notification settings - Fork 69
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 #262 from celestiaorg/release/home-tia-wic-updates
Release (homepage, what is celestia, what is tia)
- Loading branch information
Showing
105 changed files
with
4,192 additions
and
2,177 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,43 @@ | ||
import * as React from "react"; | ||
import { Link } from "gatsby"; | ||
import { AnchorLink } from "gatsby-plugin-anchor-links"; | ||
import Button from "../components/buttons/button"; | ||
|
||
function FooterBox2({ footerBoxes2 }) { | ||
return ( | ||
<div id="start-using-celestia" className='footer-boxes-2'> | ||
<h2 className='footer-title'>Start using Celestia</h2> | ||
<div className={"footer-box-wrapper"}> | ||
{footerBoxes2 && | ||
footerBoxes2.map((box, index) => { | ||
return ( | ||
<div key={index} className={"footer-box-2"}> | ||
<div className={"footer-box-inner"}> | ||
{/* <div className={"bg"} /> */} | ||
<div className={"inner"}> | ||
<div className={"title"}>{box.title}</div> | ||
<div className={"text"}>{box.text}</div> | ||
<div className={"footer-box-inner-bottom"}> | ||
<div className='link-wrapper'> | ||
{box.link.type === "internal" ? ( | ||
<Button type={"internal"} class={"external"} text={box.link.text} url={box.link.href} /> | ||
) : box.link.type === "anchor" ? ( | ||
<AnchorLink to={`${box.link.href}`} className={"button button-external"}> | ||
{box.link.text} <i class='icon-external-link'></i> | ||
</AnchorLink> | ||
) : ( | ||
<Button type={"external"} class={"external"} text={box.link.text} url={box.link.href} /> | ||
)} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
})} | ||
</div> | ||
</div> | ||
); | ||
} | ||
|
||
export default FooterBox2; |
Oops, something went wrong.