-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
24 changed files
with
55 additions
and
59 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,22 @@ | ||
const meta = (seo = { title: null, description: null, image: null }) => { | ||
const defaultSeo = { | ||
title: "Celestia", | ||
description: | ||
"Celestia is the modular blockchain powering unstoppable applications with full-stack customizability.", | ||
image: "/meta/og-image.jpg", | ||
}; | ||
const defaultSeo = { | ||
title: "Celestia", | ||
description: "Celestia is the modular blockchain powering unstoppable applications with full-stack customizability.", | ||
image: "/meta/og-image-default.jpg", | ||
}; | ||
|
||
const { title, description, image } = seo; | ||
const metaTitle = title ? `${title} | ${defaultSeo.title}` : defaultSeo.title; | ||
const metaDescription = description || defaultSeo.description; | ||
const metaImage = image || defaultSeo.image; | ||
const { title, description, image } = seo; | ||
const metaTitle = title ? `${title} | ${defaultSeo.title}` : defaultSeo.title; | ||
const metaDescription = description || defaultSeo.description; | ||
const metaImage = image || defaultSeo.image; | ||
|
||
return { | ||
title: metaTitle, | ||
description: metaDescription, | ||
openGraph: { | ||
images: [`${process.env.NEXT_PUBLIC_SITE_URL}${metaImage}`], | ||
}, | ||
}; | ||
return { | ||
title: metaTitle, | ||
description: metaDescription, | ||
openGraph: { | ||
images: [`${process.env.NEXT_PUBLIC_SITE_URL}${metaImage}`], | ||
}, | ||
}; | ||
}; | ||
|
||
export default meta; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
const seo = { | ||
title: "Developer Portal", | ||
description: | ||
"The homepage for Celestia developers. Tutorials. Resources. Community.", | ||
image: "/meta/developer-portal-og-image.jpg", | ||
title: "Developer Portal", | ||
description: "The homepage for Celestia developers. Tutorials. Resources. Community.", | ||
image: "/meta/developer.jpg", | ||
}; | ||
|
||
export default seo; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
const seo = { | ||
title: "Careers", | ||
description: | ||
"Join our team of leading engineers, researchers, and entrepreneurs in pioneering the first modular blockchain design.", | ||
title: "Careers", | ||
description: "Join our team of leading engineers, researchers, and entrepreneurs in pioneering the first modular blockchain design.", | ||
image: "/meta/og-image-default.jpg", | ||
}; | ||
|
||
export default seo; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
const seo = { | ||
title: "Community", | ||
description: | ||
"Discover community hubs, discussion forums, and resources that are used by the global Celestia community.", | ||
title: "Community", | ||
description: "Discover community hubs, discussion forums, and resources that are used by the global Celestia community.", | ||
image: "/meta/og-image-default.jpg", | ||
}; | ||
|
||
export default seo; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
const seo = { | ||
title: "Ecosystem", | ||
description: | ||
"Celestia Ecosystem provides a wide range of apps and services built in the Celestia ecosystem.", | ||
image: "/meta/ecosystem-og-image.jpg", | ||
title: "Ecosystem", | ||
description: "Celestia Ecosystem provides a wide range of apps and services built in the Celestia ecosystem.", | ||
image: "/meta/ecosystem.jpg", | ||
}; | ||
|
||
export default seo; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
const seo = { | ||
title: "FAQ", | ||
description: "Find answers to frequently asked questions about Celestia.", | ||
image: "/meta/og-image.jpg", | ||
title: "FAQ", | ||
description: "Find answers to frequently asked questions about Celestia.", | ||
image: "/meta/og-image-default.jpg", | ||
}; | ||
|
||
export default seo; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
const seo = { | ||
title: "Glossary", | ||
description: "Explore new terms about Celestia and modular blockchains.", | ||
image: "/meta/og-image.jpg", | ||
title: "Glossary", | ||
description: "Explore new terms about Celestia and modular blockchains.", | ||
image: "/meta/og-image-default.jpg", | ||
}; | ||
|
||
export default seo; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
const seo = { | ||
title: "Learn Modular", | ||
description: | ||
"Welcome to learn modular, your go-to place to learn about modular blockchains and everything in between.", | ||
image: "/meta/og-image.jpg", | ||
title: "Learn Modular", | ||
description: "Welcome to learn modular, your go-to place to learn about modular blockchains and everything in between.", | ||
image: "/meta/og-image-default.jpg", | ||
}; | ||
|
||
export default seo; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
const seo = { | ||
title: "Press", | ||
description: "Find branding, news, social channels, and press contacts.", | ||
image: "/meta/og-image.jpg", | ||
title: "Press", | ||
description: "Find branding, news, social channels, and press contacts.", | ||
image: "/meta/og-image-default.jpg", | ||
}; | ||
|
||
export default seo; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
const seo = { | ||
title: "Run a Node", | ||
description: | ||
"Build games with new capabilities. Celestia scales with the number of users so games can scale with their usebase.", | ||
image: "/meta/og-image.jpg", | ||
title: "Run a Node", | ||
description: "Build games with new capabilities. Celestia scales with the number of users so games can scale with their usebase.", | ||
image: "/meta/light.jpg", | ||
}; | ||
|
||
export default seo; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
const seo = { | ||
title: "Terms of Service", | ||
title: "Terms of Service", | ||
image: "/meta/og-image-default.jpg", | ||
}; | ||
|
||
export default seo; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
const seo = { | ||
title: "What is Celestia?", | ||
description: | ||
"A complete beginner's guide to how Celestia works, its key benefits, and how anyone in the world will be able to create their own blockchain in minutes.", | ||
image: "/meta/what-is-celestia-og-image.jpg", | ||
title: "What is Celestia?", | ||
description: | ||
"A complete beginner's guide to how Celestia works, its key benefits, and how anyone in the world will be able to create their own blockchain in minutes.", | ||
image: "/meta/og-image-default.jpg", | ||
}; | ||
|
||
export default seo; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
const seo = { | ||
title: "What is DA?", | ||
description: "", | ||
image: "/meta/og-image.jpg", | ||
title: "What is DA?", | ||
description: "", | ||
image: "/meta/og-image-default.jpg", | ||
}; | ||
|
||
export default seo; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
const seo = { | ||
title: "What is TIA?", | ||
description: "Learn about TIA, the native token of the Celestia blockchain.", | ||
image: "/meta/og-image.jpg", | ||
title: "What is TIA?", | ||
description: "Learn about TIA, the native token of the Celestia blockchain.", | ||
image: "/meta/tia.jpg", | ||
}; | ||
|
||
export default seo; |