Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove all meta googlebot #158

Merged
merged 4 commits into from
Mar 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions pages/professions/[professionId].jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import { useRouter } from 'next/router.js';
import React, { useState } from 'react';
import { useTranslation } from 'next-i18next';
import { serverSideTranslations } from 'next-i18next/serverSideTranslations';
import SEO from '../../next-seo.json';

const ComparingRow = (props) => {
const { state, profession } = props;
Expand Down Expand Up @@ -97,6 +98,8 @@ const Profession = (props) => {
return (
<BaseLayout>
<NextSeo
// eslint-disable-next-line react/jsx-props-no-spreading
{...SEO}
title={t('titles.title_certain_school', { profession: profession.name })}
description={t('descriptions.description_certain_school', { profession: profession.name })}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import { getSchools, getProfessions } from 'lib/api.js';
import { cartesian, getPathnameSortedBySchoolNames } from 'lib/utils.js';
import assetsRoutes from 'lib/assetsRoutes.js';
import routes from 'lib/routes.js';
import SEO from '../../../../next-seo.json';

const Value = (props) => {
const dicts = useTranslation('dicts');
Expand Down Expand Up @@ -219,6 +220,8 @@ const Home = (props) => {
return (
<BaseLayout>
<NextSeo
// eslint-disable-next-line react/jsx-props-no-spreading
{...SEO}
title={t('titles.title_comparison', {
profession: profession.name,
school_1: selectedSchools[0].name[i18n.language],
Expand Down
3 changes: 3 additions & 0 deletions pages/professions/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import BaseLayout from 'components/layouts/BaseLayout.jsx';
import routes from 'lib/routes.js';
import { NextSeo } from 'next-seo';
import { useTranslation } from 'next-i18next';
import SEO from '../../next-seo.json';

const ProfessionItem = (props) => {
const { profession } = props;
Expand Down Expand Up @@ -43,6 +44,8 @@ const ProfessionsHome = (props) => {
return (
<BaseLayout>
<NextSeo
// eslint-disable-next-line react/jsx-props-no-spreading
{...SEO}
title={t('titles.title_professions')}
description={t('descriptions.description_professions')}
/>
Expand Down
3 changes: 3 additions & 0 deletions pages/schools/[schoolId].jsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import assetsRoutes from 'lib/assetsRoutes.js';

import BaseLayout from 'components/layouts/BaseLayout.jsx';
import { useTranslation } from 'next-i18next';
import SEO from '../../next-seo.json';

const descriptionFields = [
'link', 'blog', 'email', 'ceo', 'legal', 'address', 'foundationDate', 'supportOptions',
Expand Down Expand Up @@ -213,6 +214,8 @@ const School = (props) => {
return (
<BaseLayout>
<NextSeo
// eslint-disable-next-line react/jsx-props-no-spreading
{...SEO}
title={t('titles.title_school', { school: school.name[i18n.language] })}
description={t('descriptions.description_school', { school: school.name[i18n.language] })}
/>
Expand Down