Skip to content

Commit

Permalink
added seoContent files and copy, cleand up data files
Browse files Browse the repository at this point in the history
  • Loading branch information
Tamás committed Jul 3, 2023
1 parent 7da251a commit 0e5904a
Show file tree
Hide file tree
Showing 17 changed files with 55 additions and 50 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",
};
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
8 changes: 8 additions & 0 deletions src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ import BackersSection from "../components/sections/backers-sections";
import RoadmapItem from "../components/modules/roadmapItem";
import SignUp from "../components/modals/signUp";

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

const IndexPage = () => {
const [isModalOpen, setIsModalOpen] = useState(false);
const [modalType, setModalType] = useState("");
Expand All @@ -39,6 +42,11 @@ const IndexPage = () => {

return (
<Layout footerBoxes={FooterBoxes}>
<SEO
title={seoContent.title}
description={seoContent.description}
image={seoContent.image}
/>
<div className="index-page">
<main>
<HeroSection heroData={heroData} />
Expand Down

0 comments on commit 0e5904a

Please sign in to comment.