diff options
Diffstat (limited to 'src/config')
| -rw-r--r-- | src/config/nav.ts | 14 | ||||
| -rw-r--r-- | src/config/seo.ts | 33 | ||||
| -rw-r--r-- | src/config/sharing.ts | 4 | ||||
| -rw-r--r-- | src/config/website.ts | 4 | 
4 files changed, 2 insertions, 53 deletions
| diff --git a/src/config/nav.ts b/src/config/nav.ts deleted file mode 100644 index ff69a78..0000000 --- a/src/config/nav.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { t } from '@lingui/macro'; -import { NavItem } from '@ts/types/nav'; - -export const mainNav: NavItem[] = [ -  { id: 'home', name: t`Home`, slug: '/' }, -  { id: 'blog', name: t`Blog`, slug: '/blog' }, -  { id: 'projects', name: t`Projects`, slug: '/projets' }, -  { id: 'cv', name: t`Resume`, slug: '/cv' }, -  { id: 'contact', name: t`Contact`, slug: '/contact' }, -]; - -export const footerNav: NavItem[] = [ -  { id: 'legal-notice', name: t`Legal notice`, slug: '/mentions-legales' }, -]; diff --git a/src/config/seo.ts b/src/config/seo.ts deleted file mode 100644 index 3ff08b6..0000000 --- a/src/config/seo.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { t } from '@lingui/macro'; -import { config } from './website'; - -export const seo = { -  homepage: { -    title: t`${config.name} | Front-end developer: WordPress/React`, -    description: t`${config.name} is a front-end developer located in France. He codes and he writes mostly about web development and open-source.`, -  }, -  blog: { -    title: t`Blog: development, open source - ${config.name}`, -    description: t`Discover ${config.name}'s writings. He talks about web development, Linux and open source mostly.`, -  }, -  cv: { -    title: t`CV Front-end developer - ${config.name}`, -    description: t`Discover the curriculum of ${config.name}, front-end developer located in France: skills, experiences and training.`, -  }, -  contact: { -    title: t`Contact form - ${config.name}`, -    description: t`Contact ${config.name} through its website. All you need to do it's to fill the contact form.`, -  }, -  legalNotice: { -    title: t`Legal notice - ${config.name}`, -    description: t`Discover the legal notice of ${config.name}'s website.`, -  }, -  error404: { -    title: t`Error 404: Page not found - ${config.name}`, -    description: '', -  }, -  projects: { -    title: t`Projects: open-source makings - ${config.name}`, -    description: t`Discover ${config.name} projects. Mostly related to web development and open source.`, -  }, -}; diff --git a/src/config/sharing.ts b/src/config/sharing.ts index 580145e..9e84801 100644 --- a/src/config/sharing.ts +++ b/src/config/sharing.ts @@ -1,5 +1,3 @@ -import { t } from '@lingui/macro'; -  const sharingMedia = [    {      id: 'diaspora', @@ -58,7 +56,7 @@ const sharingMedia = [    },    {      id: 'email', -    name: t`Email`, +    name: 'Email',      parameters: {        content: 'body',        image: '', diff --git a/src/config/website.ts b/src/config/website.ts index a359d9a..81c493f 100644 --- a/src/config/website.ts +++ b/src/config/website.ts @@ -1,8 +1,6 @@ -import { t } from '@lingui/macro'; -  export const config = {    name: 'Armand Philippot', -  baseline: t`Front-end developer`, +  baseline: 'Front-end developer',    copyright: {      startYear: '2012',      endYear: new Date().getFullYear(), | 
