Skip to content

Commit 00e05df

Browse files
committed
content update
1 parent b3d4215 commit 00e05df

File tree

7 files changed

+4682
-9865
lines changed

7 files changed

+4682
-9865
lines changed

components/Portfolio/Certification/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,17 @@ export default class Certification extends Component {
3535
: null}
3636

3737

38-
{this.props.noLink ?
39-
null
40-
:
38+
{this.props.link ?
4139
<Button
4240
target="_blank"
4341
rel="noreferrer"
4442
className={styles.verifyButton}
4543
disabled={!('link' in this.props)}
4644
href={this.props.link ? this.props.link : '#'}>
47-
{this.props.link ? 'Verify' : 'Coming Soon'}
45+
'Verify'
4846
</Button>
47+
:
48+
null
4949
}
5050
</Card.Body>
5151
</Card>

components/Portfolio/Section/index.js

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export default class Section extends Component {
1515

1616
render() {
1717
return (
18-
<div className={[styles.container, 'px-2 py-3 px-md-5 pt-md-4 pb-md-5'].join(' ')}>
18+
(<div className={[styles.container, 'px-2 py-3 px-md-5 pt-md-4 pb-md-5'].join(' ')}>
1919
{/* Optional header & subheader */}
2020
{this.props.title || this.props.subtitle ?
2121
<div className={styles.header}>
@@ -29,27 +29,25 @@ export default class Section extends Component {
2929
: null}
3030
</div>
3131
: null}
32-
3332
{/* Inner content */}
3433
<div className={styles.innerContent}>
3534
<Row style={{ justifyContent: (this.props.spaceAround ? 'space-around' : 'unset') }}>
3635
{this.props.children}
3736
</Row>
3837
</div>
39-
4038
{/* Optional next chevron */}
4139
{this.props.scrollNextChevron ?
4240
<div className={styles.chevronContainer}>
4341
{/* eslint-disable-next-line @next/next/link-passhref */}
44-
<Link href={this.props.scrollNextChevronDestination}>
42+
<Link href={this.props.scrollNextChevronDestination} legacyBehavior>
4543
<FontAwesomeIcon
4644
className={styles.chevron}
4745
icon={faChevronDown}
4846
/>
4947
</Link>
5048
</div>
5149
: null}
52-
</div>
53-
)
50+
</div>)
51+
);
5452
}
5553
};

0 commit comments

Comments
 (0)