Skip to content

Commit 0b66c48

Browse files
authored
Merge pull request #958 from Code4GovTech/feat/frontend_phase2
Frontend_V2
2 parents 1e5e97a + 744f675 commit 0b66c48

File tree

14 files changed

+688
-536
lines changed

14 files changed

+688
-536
lines changed

src/components/C4GT2024Page.js renamed to src/components/C4gt2024Description.js

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
11
import React from "react";
22

3-
function C4GT2024Page() {
3+
function C4GT2024Description() {
44
return (
55
<div
6-
className="container padding-top--md padding-bottom--lg"
7-
style={{ minHeight: "60vh" }}
6+
className="container padding-top--md padding-bottom--lg container-height"
87
>
98
<div className="row">
109
<div className="col width">
1110
<div>
1211
<article>
1312
<nav
14-
className="theme-doc-breadcrumbs"
15-
style={{ marginBottom: ".4rem" }}
13+
className="theme-doc-breadcrumbs breadcrumbs-margin"
1614
aria-label="breadcrumbs"
1715
>
1816
<ul className="breadcrumbs">
@@ -23,8 +21,7 @@ function C4GT2024Page() {
2321
</li>
2422
<li className="breadcrumbs__item breadcrumbs__item--active">
2523
<a
26-
className="breadcrumbs__link breadcrumbs-items"
27-
style={{ cursor: "pointer" }}
24+
className="breadcrumbs__link breadcrumbs-items cursor-pointer"
2825
>
2926
C4GT'24
3027
</a>
@@ -65,4 +62,4 @@ function C4GT2024Page() {
6562
);
6663
}
6764

68-
export default C4GT2024Page;
65+
export default C4GT2024Description;

src/components/ErrorComponent.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import React from "react";
2+
3+
function ErrorComponent({ error }) {
4+
return (
5+
<div className="error"
6+
>
7+
<h3>{error.message}</h3>
8+
</div>
9+
);
10+
}
11+
12+
export default ErrorComponent;

0 commit comments

Comments
 (0)