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

Development #453

Merged
merged 3 commits into from
Oct 23, 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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion content/pages/home/content.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"title": "The Gaia-X Web3 Ecosystem on DLT",
"body": "The principle of decentralization is a perfect fit for **Distributed Ledger Technology**. [Ocean Protocol](https://oceanprotocol.com) is a fully open-source technology stack, leveraging DLT and decentralization, aiming to give control back to the owners of data services. Pontus-X is built on top of Ocean Protocol showcasing how the Gaia-X Web3 Ecosystem on DLT and Ocean Protocol can look like, already today.",
"cta": "Learn More",
"ctaTo": "https://docs.genx.minimal-gaia-x.eu/docs/Community/Introduction",
"ctaTo": "https://docs.pontus-x.eu/docs/Community/Introduction",
"image": "/images/genx_validators.webp"
},
{
Expand Down
4 changes: 2 additions & 2 deletions content/site.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"siteTitle": "Pontus-X - Gaia-X Web3 Ecosystem",
"siteTagline": "A platform to find, publish and consume Service Offerings in the Gaia-X Test Network.",
"siteUrl": "https://portal.minimal-gaia-x.eu",
"siteUrl": "https://portal.pontus-x.eu",
"siteImage": "/share.png",
"copyright": "All Rights Reserved. Powered by [Ocean Protocol](https://oceanprotocol.com). Built by [deltaDAO](https://delta-dao.com).",
"menu": [
Expand Down Expand Up @@ -68,7 +68,7 @@
}
],
"announcement": "",
"devPreviewAnnouncement": "You are visiting the Pontus-X Developer Preview. Please note that some functionalities are in beta and may not work as expected. Visit the [Pontus-X portal](https://pontus-x.eu) instead.",
"devPreviewAnnouncement": "You are visiting the SITE-TITLE-PLACEHOLDER Developer Preview. Please note that some functionalities are in beta and may not work as expected. Visit the [SITE-TITLE-PLACEHOLDER portal](SITE-LINK-PLACEHOLDER) instead.",
"warning": {
"ctd": "Please note that Compute-to-Data is still in alpha phase."
},
Expand Down
2 changes: 1 addition & 1 deletion src/@utils/wallet/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const genx = {
blockExplorers: {
default: {
name: 'GEN-X Testnet Explorer',
url: 'https://explorer.genx.minimal-gaia-x.eu'
url: 'https://explorer.pontus-x.eu'
}
}
} as Chain
Expand Down
9 changes: 7 additions & 2 deletions src/components/App/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,19 @@ export default function App({
const { address } = useAccount()
const { isInPurgatory, purgatoryData } = useAccountPurgatory(address)

const devPreviewAnnouncementText =
siteContent?.devPreviewAnnouncement
?.replaceAll('SITE-TITLE-PLACEHOLDER', siteContent.siteTitle)
?.replaceAll('SITE-LINK-PLACEHOLDER', siteContent.siteUrl) || ''

return (
<div className={styles.app}>
{siteContent?.announcement !== '' && (
<AnnouncementBanner text={siteContent?.announcement} />
)}
{appConfig.showPreviewAlert === 'true' &&
siteContent?.devPreviewAnnouncement !== '' && (
<AnnouncementBanner text={siteContent?.devPreviewAnnouncement} />
devPreviewAnnouncementText !== '' && (
<AnnouncementBanner text={devPreviewAnnouncementText} />
)}
<Header />

Expand Down
Loading