Skip to content

Commit 0ae9e27

Browse files
ArshMalik02jainsujay02
authored andcommitted
Update banner on landing page
ContentBanner.js: Edit component to display only text index.js: add banner text package.json: add postcss dep
1 parent f5498aa commit 0ae9e27

File tree

5 files changed

+2274
-2198
lines changed

5 files changed

+2274
-2198
lines changed

components/ContentBanner.js

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,11 @@
1-
import Link from 'next/link';
21
import React from 'react';
32

4-
function ContentBanner({ title, ctaText, ctaLink }) {
3+
function ContentBanner({ title }) {
54
return (
65
<div className="full-width blue">
7-
<div className="sign-up-section banner-section">
8-
<div id="banner-left" className="half-width">
9-
<h2 style={{fontSize: '1.6em'}}>{title}</h2>
10-
</div>
11-
<div id="banner-right" className="half-width">
12-
<Link href={ctaLink}>
13-
<a className="button tight dark">
14-
{ctaText}
15-
</a>
16-
</Link>
17-
</div>
18-
</div>
6+
<div id="banner-right" className="full-width">
7+
<h2 style={{fontSize: '1.6em'}}>{title}</h2>
8+
</div>
199
</div>
2010
);
2111
}

0 commit comments

Comments
 (0)