| 
1 | 1 | import React, { ReactElement } from 'react';  | 
2 |  | -import { Container, Col, Row } from 'react-bootstrap';  | 
3 | 2 | import './index.scss';  | 
4 | 3 | 
 
  | 
5 |  | -const InfoCard = ({  | 
6 |  | -	children,  | 
7 |  | -	heading  | 
8 |  | -}: {  | 
9 |  | -	children: ReactElement | ReactElement[];  | 
10 |  | -	heading: string;  | 
11 |  | -}): ReactElement => {  | 
12 |  | -	return (  | 
13 |  | -		<div className={'info-card'}>  | 
14 |  | -			<h4 className={'info-card-heading'}>{heading}</h4>  | 
15 |  | -			{children}  | 
16 |  | -		</div>  | 
17 |  | -	);  | 
18 |  | -};  | 
19 |  | - | 
20 | 4 | export default ({ children }): ReactElement => (  | 
21 |  | -	<div>  | 
22 |  | -		<div className={'halos-container'}>  | 
23 |  | -			<img className={'halo-top-left'} src={'/halos/halo-top-left.png'} />  | 
24 |  | -			<img className={'halo-top'} src={'/halos/halo-top.png'} />  | 
25 |  | -			<img className={'halo-footer'} src={'/halos/halo-footer.png'} />  | 
26 |  | -		</div>  | 
27 |  | -		<Container className={'webpage-container'}>  | 
28 |  | -			<div className={'halo-top'} />  | 
29 |  | -			<div className={'halo-footer'} />  | 
30 |  | -			<Row className={'full-webpage-row1'}>  | 
31 |  | -				<Col xl={6} lg={5} md={12} sm={12} className={'info-col'}>  | 
32 |  | -					<div className={'info-col-content'}>  | 
33 |  | -						<img src={'/images/logo.svg'} alt={'Blocktank'} />  | 
34 |  | -						<h1 className={'webpage-heading'}>Your full-service Lightning Service Provider (LSP)</h1>  | 
35 |  | - | 
36 |  | -						<h4 className={'webpage-subheading'}>Lightning Network connections and liquidity at any size, any time.</h4>  | 
37 |  | - | 
38 |  | -						<p>  | 
39 |  | -							Blocktank allows you to open a connection to the Lightning Network and receive or send  | 
40 |  | -							bitcoin instantly. Simply set your inbound capacity (the amount of money you want to  | 
41 |  | -							be able to receive) and choose how many sats you want to have ready to spend, then  | 
42 |  | -							purchase your channel!  | 
43 |  | -						</p>  | 
44 |  | - | 
45 |  | -						<p>  | 
46 |  | -							Blocktank is available as a web widget and as a full-featured API.{' '}  | 
47 |  | -							<a href='mailto:[email protected]?subject=Blocktank information request'>Contact us </a>{' '}  | 
48 |  | -							for more information on how to embed and customize this widget, or to gain access to  | 
49 |  | -							the <a href='https://synonym.readme.io/'>Blocktank API</a>.  | 
50 |  | -						</p>  | 
51 |  | - | 
52 |  | -						<p>  | 
53 |  | -							You can learn more about our fees in our{' '}  | 
54 |  | -							<a href={'/terms-and-conditions'}>Terms & Conditions</a>.  | 
55 |  | -						</p>  | 
56 |  | -					</div>  | 
57 |  | -				</Col>  | 
58 |  | - | 
59 |  | -				<Col xl={6} lg={7} md={12} sm={12} className={'widget-col'} id={'widget-col'}>  | 
60 |  | -					{children}  | 
61 |  | -				</Col>  | 
62 |  | -			</Row>  | 
63 |  | - | 
64 |  | -			<Row>  | 
65 |  | -				<Col xl={6} lg={6} md={6} sm={12} className={'info-card-col'}>  | 
66 |  | -					<InfoCard heading={'Blocktank API'}>  | 
67 |  | -						<p>  | 
68 |  | -							The <a href='https://synonym.readme.io/'>Blocktank API</a> allows any business, app,  | 
69 |  | -							or online platform to integrate and automate services from our Lightning node,  | 
70 |  | -							including channel purchases, resale of channels, and information about your channels.  | 
71 |  | -							Let your customers hold their own keys, offer them instant withdrawals, and tap as  | 
72 |  | -							much BTC liquidity as you need.  | 
73 |  | -						</p>  | 
74 |  | -						<p>  | 
75 |  | -							Check the <a href='https://synonym.readme.io/'>Blocktank API docs</a>, test the{' '}  | 
76 |  | -							<a href='https://github.com/synonymdev/blocktank-client'>Blocktank Client</a>, or  | 
77 |  | -							contact us if you want to be whitelisted for access.  | 
78 |  | -						</p>  | 
79 |  | -					</InfoCard>  | 
80 |  | -				</Col>  | 
81 |  | -				<Col xl={6} lg={6} md={6} sm={12} className={'info-card-col'}>  | 
82 |  | -					<InfoCard heading={'Blocktank Web Widget'}>  | 
83 |  | -						<p>  | 
84 |  | -							Empower your visitors by onboarding them onto the Lightning Network as simply,  | 
85 |  | -							quickly, and affordably as possible. The{' '}  | 
86 |  | -							<a href={'#widget-col'}>Blocktank Web Widget</a> (see above) allows your website  | 
87 |  | -							visitors to quickly configure and purchase Lightning channels and liquidity from our  | 
88 |  | -							Lightning node.  | 
89 |  | -						</p>  | 
90 |  | -						<p>  | 
91 |  | -							This widget can be embedded into any web page or platform as an iframe.{' '}  | 
92 |  | -							<a href='mailto:[email protected]?subject=Blocktank widget implemntation'>Contact us </a>{' '}  | 
93 |  | -							if you need help implementing and customizing it!  | 
94 |  | -						</p>  | 
95 |  | -					</InfoCard>  | 
96 |  | -				</Col>  | 
97 |  | -			</Row>  | 
98 |  | -		</Container>  | 
99 |  | -	</div>  | 
 | 5 | +	<div className={'webpage-container'}>{children}</div>  | 
100 | 6 | );  | 
0 commit comments