revert to setting title in _app.tsx next issue
This commit is contained in:
parent
ba54a48bd9
commit
10b5f6cd47
|
@ -13,6 +13,7 @@ import { getEndpoint } from 'utils/common/apiUtil';
|
|||
import { getData, LS_KEYS } from 'utils/storage/localStorage';
|
||||
import HTTPService from 'services/HTTPService';
|
||||
import FlashMessageBar from 'components/FlashMessageBar';
|
||||
import Head from 'next/head';
|
||||
import { getAlbumSiteHost } from 'constants/pages';
|
||||
import GoToEnte from 'components/pages/sharedAlbum/GoToEnte';
|
||||
|
||||
|
@ -656,6 +657,9 @@ export default function App({ Component, err }) {
|
|||
|
||||
return (
|
||||
<>
|
||||
<Head>
|
||||
<title>{constants.TITLE}</title>
|
||||
</Head>
|
||||
<GlobalStyles />
|
||||
{showNavbar && (
|
||||
<Navbar>
|
||||
|
|
|
@ -33,7 +33,6 @@ export default class MyDocument extends Document {
|
|||
return (
|
||||
<Html lang="en">
|
||||
<Head>
|
||||
<title>ente.io | encrypted photo storage</title>
|
||||
<link
|
||||
rel="icon"
|
||||
href="/images/favicon.png"
|
||||
|
|
|
@ -135,6 +135,7 @@ const englishConstants = {
|
|||
NEXT: 'next (arrow right)',
|
||||
NO_INTERNET_CONNECTION:
|
||||
'please check your internet connection and try again',
|
||||
TITLE: 'ente.io | encrypted photo storage',
|
||||
UPLOAD_FIRST_PHOTO_DESCRIPTION: 'preserve your first memory with ente',
|
||||
UPLOAD_FIRST_PHOTO: 'preserve',
|
||||
UPLOAD_DROPZONE_MESSAGE: 'drop to backup your files',
|
||||
|
|
Loading…
Reference in a new issue