Merge pull request #167 from syntheticbit/web-title

Update Web titles
This commit is contained in:
Laszlo Fogas 2021-03-09 08:56:35 +01:00 committed by GitHub
commit 0aa66ce743
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,14 +16,14 @@ export default function() {
);
}
const accountTitle = () => <Title render="Tokens | drone" />;
const accountTitle = () => <Title render="Tokens | woodpecker" />;
const accountRepos = () => <Title render="Repositories | drone" />;
const accountRepos = () => <Title render="Repositories | woodpecker" />;
const loginTitle = () => <Title render="Login | drone" />;
const loginTitle = () => <Title render="Login | woodpecker" />;
const repoTitle = ({ match }) => (
<Title render={`${match.params.owner}/${match.params.repo} | drone`} />
<Title render={`${match.params.owner}/${match.params.repo} | woodpecker`} />
);
const defautTitle = () => <Title render="Welcome | drone" />;
const defautTitle = () => <Title render="Welcome | woodpecker" />;