Skip to content

Commit

Permalink
Add: Browse Topics button on home page only (#305)
Browse files Browse the repository at this point in the history
Co-authored-by: Spyros <[email protected]>
  • Loading branch information
john681611 and northdpole authored Jun 27, 2023
1 parent b350e47 commit ec98c37
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion application/frontend/src/pages/Search/Search.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import './search.scss';

import React from 'react';
import { Header } from 'semantic-ui-react';
import { Button, Header } from 'semantic-ui-react';

import { SearchBody } from './components/BodyText';
import { SearchBar } from './components/SearchBar';
Expand All @@ -16,7 +16,10 @@ export const Search = () => {
<Header as="h4" className="search-page__sub-heading">
Your gateway to security topics
</Header>
<div>
<SearchBar />
<Button primary fluid href="/root_cres">Browse Topics</Button>
</div>
<SearchBody />
</div>
);
Expand Down

0 comments on commit ec98c37

Please sign in to comment.