Skip to content

Commit

Permalink
Merge branch 'feature/meta-tags-fix' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Tamás committed Jul 3, 2023
2 parents c35f267 + 0e5904a commit 5b67cac
Show file tree
Hide file tree
Showing 26 changed files with 198 additions and 204 deletions.
4 changes: 0 additions & 4 deletions src/components/header.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import * as React from "react"
import { Link } from "gatsby"
import {Helmet} from "react-helmet";

import logo from '../images/celestia-logo.svg'
import Image from "./imageComponent";
Expand Down Expand Up @@ -163,9 +162,6 @@ class Header extends React.Component {
return (
<>
<header id={'header'}>
<Helmet>
<title>Celestia</title>
</Helmet>
<div className={'blurry'}/>
<div className={'container'}>
<button id={'hamburger'} className="hamburger hamburger--slider" type="button" onClick={this.toggleMenu}>
Expand Down
2 changes: 1 addition & 1 deletion src/components/seo.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ function SEO({ description, lang, meta, keywords, title, image }) {
: []
)
.concat(meta)}
title={title}
title={metaTitle}
titleTemplate={`%s | ${site.siteMetadata.title}`}
/>
);
Expand Down
6 changes: 3 additions & 3 deletions src/datas/careers/seoContent.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const seoContent = {
title: "Experiment with testnet",
description: "Join a growing ecosystem of developers building rollups and applications on the Mocha testnet.",
image: "/what-is-celestia-1.png",
title: "Celestia - Careers",
description: "Join our team of leading engineers, researchers and entrepreneurs in pioneering the first modular blockchain design.",
image: "",
};
6 changes: 3 additions & 3 deletions src/datas/community/seoContent.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const seoContent = {
title: "Experiment with testnet",
description: "Join a growing ecosystem of developers building rollups and applications on the Mocha testnet.",
image: "/what-is-celestia-1.png",
title: "Celestia - Community",
description: "Discover community hubs, discussion forums, and resources that are used by the global Celestia community.",
image: "",
};
6 changes: 3 additions & 3 deletions src/datas/developer-portal/seoContent.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const seoContent = {
title: "Experiment with testnet",
description: "Join a growing ecosystem of developers building rollups and applications on the Mocha testnet.",
image: "/what-is-celestia-1.png",
title: "Celestia - Developer Portal",
description: "The homepage for Celestia developers. Tutorials. Resources. Community.",
image: "",
};
5 changes: 0 additions & 5 deletions src/datas/ecosystem-page/seoContent.js

This file was deleted.

File renamed without changes.
6 changes: 3 additions & 3 deletions src/datas/ecosystem/seoContent.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const seoContent = {
title: "Experiment with testnet",
description: "Join a growing ecosystem of developers building rollups and applications on the Mocha testnet.",
image: "/what-is-celestia-1.png",
title: "Celestia - Ecosystem",
description: "Celestia Ecosystem provides a wide range of apps and services built in the Celestia ecosystem. This page provides thematic focus to the diversity of services and apps developed on top of Celestia Tech.",
image: "/ecosystem-page.jpg",
};
8 changes: 4 additions & 4 deletions src/datas/faq/seoContent.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const seoContent = {
title: "Experiment with testnet",
description: "Join a growing ecosystem of developers building rollups and applications on the Mocha testnet.",
image: "/what-is-celestia-1.png",
};
title: "Celestia - FAQ",
description: "Find answers to frequently asked questions about Celestia.",
image: "",
};
5 changes: 0 additions & 5 deletions src/datas/glossary/seoContent.js

This file was deleted.

8 changes: 4 additions & 4 deletions src/datas/home/seoContent.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const seoContent = {
title: "Experiment with testnet",
description: "Join a growing ecosystem of developers building rollups and applications on the Mocha testnet.",
image: "/what-is-celestia-1.png",
};
title: "Celestia - Home",
description: "Celestia is a modular consensus and data network, built to enable anyone to easily deploy their own blockchain with minimal overhead.",
image: "/celestia-default-og-image.jpg",
};
5 changes: 0 additions & 5 deletions src/datas/learn/seoContent.js

This file was deleted.

6 changes: 3 additions & 3 deletions src/datas/press/seoContent.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const seoContent = {
title: "Experiment with testnet",
description: "Join a growing ecosystem of developers building rollups and applications on the Mocha testnet.",
image: "/what-is-celestia-1.png",
title: "Celestia - Press",
description: "Find Branding and Press Resources, Socilal Media channels, Enquiries and News about Celestia.",
image: "",
};
6 changes: 3 additions & 3 deletions src/datas/resources/seoContent.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const seoContent = {
title: "Experiment with testnet",
description: "Join a growing ecosystem of developers building rollups and applications on the Mocha testnet.",
image: "/what-is-celestia-1.png",
title: "Celestia - Resources",
description: "Explore the Celestia network resources and documentation to learn more about the project.",
image: "",
};
6 changes: 3 additions & 3 deletions src/datas/team/seoContent.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const seoContent = {
title: "Experiment with testnet",
description: "Join a growing ecosystem of developers building rollups and applications on the Mocha testnet.",
image: "/what-is-celestia-1.png",
title: "Celestia - Team",
description: "We're building the Celestia network",
image: "",
};
8 changes: 5 additions & 3 deletions src/pages/careers.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import Button from "../components/buttons/button";
import Perk from "../components/modules/perk";
import Layout from "../components/layout";
import {graphql, useStaticQuery} from "gatsby";

import { seoContent } from "../datas/careers/seoContent";
import SEO from "../components/seo";

const CareersPage = () => {
Expand Down Expand Up @@ -42,9 +44,9 @@ const CareersPage = () => {
return (
<Layout footerBoxes={FooterBoxes}>
<SEO
title={`Celestia - ${content.title}`}
description="We’re on a mission to change the way that blockchains and decentralized applications are built—making them more secure, sovereign and scalable."
// image="/ecosystem-page.jpg"
title={seoContent.title}
description={seoContent.description}
image={seoContent.image}
/>
<div className={'careers-page'}>
<main>
Expand Down
8 changes: 5 additions & 3 deletions src/pages/community.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,17 @@ import Layout from "../components/layout";
import CommunityItem from "../components/modules/community-item";
import Button from "../components/buttons/button";
import Image from "../components/imageComponent";

import { seoContent } from "../datas/community/seoContent";
import SEO from "../components/seo";

const Community = () => {
return (
<Layout footerBoxes={FooterBoxes}>
<SEO
title='Celestia - Community'
description='Discover community hubs, discussion forums, and resources that are used by the global Celestia community.'
// image='/ecosystem-page.jpg'
title={seoContent.title}
description={seoContent.description}
image={seoContent.image}
/>
<div className={"community-page"}>
<main>
Expand Down
7 changes: 5 additions & 2 deletions src/pages/developer-portal.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,17 @@ import Layout from "../components/layout";
import IconCard from "../components/modules/icon-card";
import { AnchorLink } from "gatsby-plugin-anchor-links";
import Faq from "../components/modules/faq";

import { seoContent } from "../datas/developer-portal/seoContent";
import SEO from "../components/seo";

const DevPortal = () => {
return (
<Layout footerBoxes={FooterBoxes}>
<SEO
title="Celestia - Developer Portal"
description="The homepage for Celestia developers. Tutorials. Resources. Community."
title={seoContent.title}
description={seoContent.description}
image={seoContent.image}
/>
<div className={"developer-portal"}>
<main>
Expand Down
10 changes: 6 additions & 4 deletions src/pages/ecosystem.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import * as React from "react";
import { ecosystemCategories } from "../datas/ecosystem/ecosystems";
import { FooterBoxes } from "../datas/ecosystem-page/content";
import { FooterBoxes } from "../datas/ecosystem/content";
import Layout from "../components/layout";
import { useState } from "react";
import Ecosystem from "../components/ecosystem";

import { seoContent } from "../datas/ecosystem/seoContent";
import SEO from "../components/seo";

const EcosystemPage = () => {
Expand Down Expand Up @@ -43,9 +45,9 @@ const EcosystemPage = () => {
return (
<Layout footerBoxes={FooterBoxes}>
<SEO
title="Celestia - Ecosystem"
description="Celestia Ecosystem provides a wide range of apps and services built in the Celestia ecosystem. This page provides thematic focus to the diversity of services and apps developed on top of Celestia Tech."
image="/ecosystem-page.jpg"
title={seoContent.title}
description={seoContent.description}
image={seoContent.image}
/>
<div className={"ecosystem-page"}>
<main>
Expand Down
8 changes: 5 additions & 3 deletions src/pages/faq.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,17 @@ import {FooterBoxes} from "../datas/faq/content";
import {faqs} from "../datas/faq/faqs";
import Faq from "../components/modules/faq";
import Layout from "../components/layout";

import { seoContent } from "../datas/faq/seoContent";
import SEO from "../components/seo";

const TeamPage = () => {
return (
<Layout footerBoxes={FooterBoxes}>
<SEO
title="Celestia - FAQ"
description="What is Celestia? What is a modular blockchain? How does Celestia scale?"
// image="/ecosystem-page.jpg"
title={seoContent.title}
description={seoContent.description}
image={seoContent.image}
/>
<div className={'faq-page'}>
<main>
Expand Down
Loading

0 comments on commit 5b67cac

Please sign in to comment.