Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
refactor: rename website title to askgov
Browse files Browse the repository at this point in the history
  • Loading branch information
nauynix committed Aug 3, 2021
1 parent 4b40b65 commit 9eabceb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 13 deletions.
8 changes: 1 addition & 7 deletions client/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,7 @@
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/LogoGlyphMd.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="Web site created using create-react-app"
/>

<title>HelpGov</title>
<title>AskGov</title>
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link
href="https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700&display=swap"
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/PageTitle/PageTitle.component.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react'
import Helmet from 'react-helmet'

const PageTitle = ({ title }) => {
let defaultTitle = 'HelpGov'
let defaultTitle = 'AskGov'

return (
<Helmet>
Expand Down
10 changes: 5 additions & 5 deletions client/src/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,27 +13,27 @@ import { CitizenTerms, AgencyTerms, Privacy } from './components/PrivacyTerms/'

const HomePageComponent = withPageTitle({
component: HomePage,
title: 'HelpGov',
title: 'Askgov',
})

const SearchResultsComponent = withPageTitle({
component: SearchResults,
title: 'All Questions - HelpGov',
title: 'All Questions - Askgov',
})

const LoginComponent = withPageTitle({
component: Login,
title: 'Log In - HelpGov',
title: 'Log In - Askgov',
})

const PostFormComponent = withPageTitle({
component: PostForm,
title: 'Ask a Question - HelpGov',
title: 'Ask a Question - Askgov',
})

const EditFormComponent = withPageTitle({
component: EditForm,
title: 'Edit Question - HelpGov',
title: 'Edit Question - Askgov',
})

const NotFoundComponent = withPageTitle({
Expand Down

0 comments on commit 9eabceb

Please sign in to comment.