Skip to content

Commit 1191f4d

Browse files
fix: add page header to rekor search ui (#67)
Signed-off-by: Carlos Feria <[email protected]>
1 parent 54b2952 commit 1191f4d

File tree

1 file changed

+18
-7
lines changed

1 file changed

+18
-7
lines changed
Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,24 @@
1-
import { PageSection } from "@patternfly/react-core";
2-
import { Explorer } from "./components/Explorer";
1+
import React, { Fragment } from "react";
2+
33
import { RekorClientProvider } from "@app/api/context";
4+
import { Content, PageSection } from "@patternfly/react-core";
5+
6+
import { Explorer } from "./components/Explorer";
47

58
export const RekorSearch: React.FC = () => {
69
return (
7-
<PageSection>
8-
<RekorClientProvider>
9-
<Explorer />
10-
</RekorClientProvider>
11-
</PageSection>
10+
<Fragment>
11+
<PageSection variant="default">
12+
<Content>
13+
<h1>Rekor Search</h1>
14+
<p>Search the Rekor public transparency log.</p>
15+
</Content>
16+
</PageSection>
17+
<PageSection variant="secondary" isFilled>
18+
<RekorClientProvider>
19+
<Explorer />
20+
</RekorClientProvider>
21+
</PageSection>
22+
</Fragment>
1223
);
1324
};

0 commit comments

Comments
 (0)