Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 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
4 changes: 4 additions & 0 deletions content/ui.global.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,12 @@ disclaimers:
opinion:
title: Opinionated Content
text: This page does not necessarily reflect the view of all ETC stakeholders.
debate:
title: Debated Content
text: This topic is subject to ongoing discussion within the ETC community.
next: Continue Reading
prev: Previous Article
readMore: Read More
contribute: If you would like to contribute by adding or correcting information to this page, please drop a message on [Discord](https://discord.com/invite/dwxb6nf) or create an issue on [GitHub](https://github.com/ethereumclassic/ethereumclassic.github.io)
contributors: "This page exists thanks in part to the following contributors:"
allLanguages: All Languages
Expand Down
6 changes: 5 additions & 1 deletion gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,16 @@ exports.createSchemaCustomization = ({ actions }) => {
ipfsFrontend: String
image: File @fileByRelativePath
}

type AppLinks {
name: String
link: String
icon: String
}

type MdxFrontmatter {
disclaimerLink: String
}
`;
createTypes(typeDefs);
};
4 changes: 4 additions & 0 deletions i18n/ui.global.ar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,12 @@ disclaimers:
opinion:
title: محتوى رأي
text: لا تعكس هذه الصفحة بالضرورة وجهة نظر جميع أصحاب المصلحة في ETC.
debate:
title: محتوى مُناقَش
text: هذا الموضوع قيد النقاش المستمر داخل مجتمع ETC.
next: أكمل القراءة
prev: المقال السابق
readMore: اقرأ المزيد
contribute: إذا كنت ترغب في المساهمة بإضافة المعلومات أو تصحيحها إلى هذه الصفحة ، فيرجى ترك رسالة على [Discord](https://discord.com/invite/dwxb6nf) أو إنشاء مشكلة على [GitHub](https://github.com/ethereumclassic/ethereumclassic.github.io)
contributors: "هذه الصفحة موجودة جزئياً بفضل المساهمين التاليين:"
allLanguages: كل اللغات
Expand Down
4 changes: 4 additions & 0 deletions i18n/ui.global.de.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,12 @@ disclaimers:
opinion:
title: Meinungsbildende Inhalte
text: Diese Seite spiegelt nicht unbedingt die Meinung aller ETC-Akteure wider.
debate:
title: Diskutierter Inhalt
text: Dieses Thema wird in der ETC-Gemeinschaft laufend diskutiert.
next: Lesen Sie weiter
prev: Vorheriger Artikel
readMore: Mehr erfahren
contribute: Wenn Sie Informationen zu dieser Seite hinzufügen oder korrigieren möchten, senden Sie bitte eine Nachricht an [Discord](https://discord.com/invite/dwxb6nf) oder erstellen Sie ein Problem auf [GitHub](https://github.com/ethereumclassic/ethereumclassic.github.io)
contributors: "Diese Seite existiert unter anderem dank der folgenden Mitwirkenden:"
allLanguages: Alle Sprachen
Expand Down
4 changes: 4 additions & 0 deletions i18n/ui.global.el.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,12 @@ disclaimers:
opinion:
title: Γνώμη περιεχομένου
text: Αυτή η σελίδα δεν αντικατοπτρίζει απαραίτητα την άποψη όλων των ενδιαφερομένων μερών του ETC.
debate:
title: Συζητούμενο περιεχόμενο
text: Αυτό το θέμα υπόκειται σε συνεχή συζήτηση εντός της κοινότητας ETC.
next: Συνεχίστε να διαβάζετε
prev: Προηγούμενο άρθρο
readMore: Διαβάστε περισσότερα
contribute: Αν θέλετε να συνεισφέρετε προσθέτοντας ή διορθώνοντας πληροφορίες σε αυτή τη σελίδα, παρακαλούμε στείλτε ένα μήνυμα στο [Discord](https://discord.com/invite/dwxb6nf) ή δημιουργήστε ένα θέμα στο [GitHub](https://github.com/ethereumclassic/ethereumclassic.github.io).
contributors: "Αυτή η σελίδα υπάρχει εν μέρει χάρη στους ακόλουθους συντελεστές:"
allLanguages: Όλες οι γλώσσες
Expand Down
4 changes: 4 additions & 0 deletions i18n/ui.global.es.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,12 @@ disclaimers:
opinion:
title: Contenido de opinión
text: Esta página no refleja necesariamente la opinión de todas las partes interesadas en el CTE.
debate:
title: Contenido debatido
text: Este tema está sujeto a discusión continua dentro de la comunidad ETC.
next: Seguir leyendo
prev: Artículo anterior
readMore: Leer más
contribute: Si desea contribuir añadiendo o corrigiendo información a esta página, envíe un mensaje a [Discord](https://discord.com/invite/dwxb6nf) o cree una incidencia en [GitHub](https://github.com/ethereumclassic/ethereumclassic.github.io)
contributors: "Esta página existe en parte gracias a los siguientes colaboradores:"
allLanguages: Todos los idiomas
Expand Down
4 changes: 4 additions & 0 deletions i18n/ui.global.fr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,12 @@ disclaimers:
opinion:
title: Contenu d'opinion
text: Cette page ne reflète pas nécessairement l'opinion de toutes les parties prenantes du CTE.
debate:
title: Contenu débattu
text: Ce sujet fait l'objet d'une discussion continue au sein de la communauté ETC.
next: Continuer la lecture
prev: Article précédent
readMore: En savoir plus
contribute: Si vous souhaitez contribuer en ajoutant ou en corrigeant des informations sur cette page, veuillez envoyer un message à [Discord](https://discord.com/invite/dwxb6nf) ou créer un problème à [GitHub](https://github.com/ethereumclassic/ethereumclassic.github.io).
contributors: "Cette page existe en partie grâce aux contributeurs suivants :"
allLanguages: Toutes les langues
Expand Down
4 changes: 4 additions & 0 deletions i18n/ui.global.he.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@ disclaimers:
opinion:
title: תוכן בעל דעה
text: דף זה אינו משקף בהכרח את השקפתם של כל מחזיקי העניין של ETC.
debate:
title: תוכן שנוי במחלוקת
text: נושא זה נתון לדיון מתמשך בקהילת ETC.
next: המשך לקרוא
readMore: קרא עוד
prev: מאמר קודם
contribute: אם תרצה לתרום על ידי הוספה או תיקון מידע לדף זה, אנא שלח הודעה ב [Discord](https://discord.com/invite/dwxb6nf) או צור בעיה ב [GitHub](https://github.com/ethereumclassic/ethereumclassic.github.io)
contributors: "עמוד זה קיים בין השאר הודות לתורמים הבאים:"
Expand Down
4 changes: 4 additions & 0 deletions i18n/ui.global.hi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,12 @@ disclaimers:
opinion:
title: राय वाली सामग्री
text: यह पृष्ठ आवश्यक रूप से सभी ईटीसी हितधारकों के दृष्टिकोण को नहीं दर्शाता है।
debate:
title: बहस वाली सामग्री
text: यह विषय ETC समुदाय के भीतर निरंतर चर्चा के अधीन है।
next: जारी रखें पढ़ रहे हैं
prev: पिछला लेख
readMore: और पढ़ें
contribute: अगर आप इस पेज पर जानकारी जोड़कर या सुधार कर योगदान देना चाहते हैं, तो कृपया [Discord](https://discord.com/invite/dwxb6nf) पर एक संदेश छोड़ें या [GitHub](https://github.com/ethereumclassic/ethereumclassic.github.io) पर एक समस्या बनाएं
contributors: "यह पृष्ठ निम्नलिखित योगदानकर्ताओं के लिए धन्यवाद के रूप में मौजूद है:"
allLanguages: सारी भाषाएँ
Expand Down
4 changes: 4 additions & 0 deletions i18n/ui.global.hr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,12 @@ disclaimers:
opinion:
title: Sadržaj mišljenja
text: Ova stranica ne odražava nužno gledište svih dionika ETC-a.
debate:
title: Raspravljeni sadržaj
text: Ova tema podliježe stalnoj raspravi unutar ETC zajednice.
next: Nastavi čitati
prev: Prethodni članak
readMore: Pročitaj više
contribute: Ako želite doprinijeti dodavanjem ili ispravljanjem informacija na ovoj stranici, ispustite poruku na [Discord](https://discord.com/invite/dwxb6nf) ili napravite problem na [GitHub](https://github.com/ethereumclassic/ethereumclassic.github.io)
contributors: "Ova stranica postoji dijelom zahvaljujući sljedećim suradnicima:"
allLanguages: Svi jezici
Expand Down
4 changes: 4 additions & 0 deletions i18n/ui.global.it.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,12 @@ disclaimers:
opinion:
title: Contenuto opinionistico
text: Questa pagina non riflette necessariamente il punto di vista di tutti gli stakeholder dell'ETC.
debate:
title: Contenuto dibattuto
text: Questo argomento è oggetto di discussione continua all'interno della comunità ETC.
next: Continua a leggere
prev: Articolo precedente
readMore: Leggi di più
contribute: Se volete contribuire aggiungendo o correggendo informazioni a questa pagina, scrivete un messaggio su [Discord](https://discord.com/invite/dwxb6nf) o create un problema su [GitHub](https://github.com/ethereumclassic/ethereumclassic.github.io).
contributors: "Questa pagina esiste anche grazie ai seguenti collaboratori:"
allLanguages: Tutte le lingue
Expand Down
4 changes: 4 additions & 0 deletions i18n/ui.global.ja.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,12 @@ disclaimers:
opinion:
title: 意見交換型コンテンツ
text: このページは、必ずしもすべてのETC関係者の見解を反映したものではありません。
debate:
title: 議論中のコンテンツ
text: このトピックはETCコミュニティ内で継続的に議論されています。
next: 続きを読む
prev: 前の記事
readMore: もっと読む
contribute: このページへの情報の追加や修正で貢献したい方は、 [Discord](https://discord.com/invite/dwxb6nf) にメッセージを送っていただくか、 [GitHub](https://github.com/ethereumclassic/ethereumclassic.github.io) に課題を作成してください。
contributors: "このページは、以下の方々のご協力により成り立っています。"
allLanguages: すべての言語
Expand Down
4 changes: 4 additions & 0 deletions i18n/ui.global.ko.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,12 @@ disclaimers:
opinion:
title: 의견이 있는 콘텐츠
text: 이 페이지는 반드시 모든 ETC 이해 관계자의 견해를 반영하는 것은 아닙니다.
debate:
title: 논쟁 중인 콘텐츠
text: 이 주제는 ETC 커뮤니티 내에서 지속적인 논의가 진행 중입니다.
next: 계속 읽기
prev: 이전 기사
readMore: 더 읽기
contribute: 이 페이지에 정보를 추가하거나 수정하여 기여하고 싶다면 [Discord](https://discord.com/invite/dwxb6nf)에 메시지를 남기거나 [GitHub](https://github.com/ethereumclassic/ethereumclassic.github.io)에서 이슈를 생성하세요.
contributors: "이 페이지는 부분적으로 다음 기여자들 덕분에 존재합니다:"
allLanguages: 모든 언어
Expand Down
4 changes: 4 additions & 0 deletions i18n/ui.global.ms.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@ disclaimers:
opinion:
title: Kandungan Berpendapat
text: Halaman ini tidak semestinya menggambarkan pandangan semua pihak berkepentingan ETC.
debate:
title: Kandungan Diperdebatkan
text: Topik ini tertakluk kepada perbincangan berterusan dalam komuniti ETC.
next: Teruskan membaca
readMore: Baca Lagi
prev: Artikel Sebelumnya
contribute: Jika anda ingin menyumbang dengan menambah atau membetulkan maklumat pada halaman ini, sila hantar mesej pada [Discord](https://discord.com/invite/dwxb6nf) atau buat isu pada [GitHub](https://github.com/ethereumclassic/ethereumclassic.github.io)
contributors: "Halaman ini wujud sebahagiannya terima kasih kepada penyumbang berikut:"
Expand Down
4 changes: 4 additions & 0 deletions i18n/ui.global.nl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,12 @@ disclaimers:
opinion:
title: Opiniërende inhoud
text: Deze pagina geeft niet noodzakelijk het standpunt van alle ETC-belanghebbenden weer.
debate:
title: Bediscussieerde inhoud
text: Dit onderwerp is onderwerp van voortdurende discussie binnen de ETC-gemeenschap.
next: Lees verder
prev: Vorig artikel
readMore: Lees meer
contribute: Als u wilt bijdragen door informatie aan deze pagina toe te voegen of te corrigeren, stuur dan een bericht naar [Discord](https://discord.com/invite/dwxb6nf) of maak een probleem aan op [GitHub](https://github.com/ethereumclassic/ethereumclassic.github.io).
contributors: "Deze pagina bestaat mede dankzij de volgende medewerkers:"
allLanguages: Alle talen
Expand Down
4 changes: 4 additions & 0 deletions i18n/ui.global.pt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,12 @@ disclaimers:
opinion:
title: Conteúdo opinativo
text: Esta página não reflete necessariamente a visão de todas as partes interessadas da ETC.
debate:
title: Conteúdo debatido
text: Este tópico está sujeito a discussão contínua dentro da comunidade ETC.
next: Continue lendo
prev: artigo anterior
readMore: Saiba mais
contribute: Se você gostaria de contribuir adicionando ou corrigindo informações a esta página, por favor, deixe uma mensagem em [Discord](https://discord.com/invite/dwxb6nf) ou crie um problema em [GitHub](https://github.com/ethereumclassic/ethereumclassic.github.io)
contributors: "Esta página existe graças em parte aos seguintes colaboradores:"
allLanguages: Todas as línguas
Expand Down
4 changes: 4 additions & 0 deletions i18n/ui.global.ru.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,12 @@ disclaimers:
opinion:
title: Мнение о контенте
text: Эта страница не обязательно отражает мнение всех заинтересованных сторон ЕТК.
debate:
title: Обсуждаемый контент
text: Эта тема является предметом постоянного обсуждения в сообществе ETC.
next: Continue Reading
prev: Предыдущая статья
readMore: Подробнее
contribute: Если вы хотите внести свой вклад, добавив или исправив информацию на этой странице, пожалуйста, оставьте сообщение на [Discord](https://discord.com/invite/dwxb6nf) или создайте проблему на [GitHub](https://github.com/ethereumclassic/ethereumclassic.github.io).
contributors: "Эта страница существует отчасти благодаря следующим авторам:"
allLanguages: Все языки
Expand Down
4 changes: 4 additions & 0 deletions i18n/ui.global.th.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,12 @@ disclaimers:
opinion:
title: เนื้อหาที่แสดงความคิดเห็น
text: หน้านี้ไม่จำเป็นต้องสะท้อนถึงมุมมองของผู้มีส่วนได้ส่วนเสีย ETC ทั้งหมด
debate:
title: เนื้อหาที่มีการถกเถียง
text: หัวข้อนี้อยู่ภายใต้การอภิปรายอย่างต่อเนื่องในชุมชน ETC
next: อ่านต่อไป
prev: บทความก่อนหน้านี้
readMore: อ่านเพิ่มเติม
contribute: หากคุณต้องการมีส่วนร่วมโดยการเพิ่มหรือแก้ไขข้อมูลในหน้านี้ โปรดส่งข้อความที่ [Discord](https://discord.com/invite/dwxb6nf) หรือสร้างปัญหาใน [GitHub](https://github.com/ethereumclassic/ethereumclassic.github.io)
contributors: "หน้านี้มีอยู่แล้ว ขอบคุณส่วนหนึ่งจากผู้ร่วมให้ข้อมูลต่อไปนี้:"
allLanguages: ทุกภาษา
Expand Down
4 changes: 4 additions & 0 deletions i18n/ui.global.tr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,12 @@ disclaimers:
opinion:
title: Fikir Veren İçerik
text: Bu sayfa tüm ETC paydaşlarının görüşlerini yansıtmak zorunda değildir.
debate:
title: Tartışılan İçerik
text: Bu konu ETC topluluğu içinde devam eden tartışmalara tabidir.
next: Continue Reading
prev: Önceki Makale
readMore: Daha fazla oku
contribute: Bu sayfaya bilgi ekleyerek veya düzelterek katkıda bulunmak isterseniz, lütfen [Discord](https://discord.com/invite/dwxb6nf) adresine bir mesaj bırakın veya [GitHub](https://github.com/ethereumclassic/ethereumclassic.github.io) adresinde bir sorun oluşturun.
contributors: "Bu sayfa kısmen aşağıdaki katkıda bulunanlar sayesinde var olmuştur:"
allLanguages: Tüm Diller
Expand Down
4 changes: 4 additions & 0 deletions i18n/ui.global.vi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,12 @@ disclaimers:
opinion:
title: Nội dung có ý kiến
text: Trang này không nhất thiết phản ánh quan điểm của tất cả các bên liên quan đến ETC.
debate:
title: Nội dung đang tranh luận
text: Chủ đề này đang được thảo luận liên tục trong cộng đồng ETC.
next: Tiếp tục đọc
prev: Bài báo trước
readMore: Đọc thêm
contribute: Nếu bạn muốn đóng góp bằng cách thêm hoặc sửa thông tin vào trang này, vui lòng gửi thông báo trên [Discord](https://discord.com/invite/dwxb6nf) hoặc tạo sự cố trên [GitHub](https://github.com/ethereumclassic/ethereumclassic.github.io)
contributors: "Trang này tồn tại một phần nhờ vào những người đóng góp sau:"
allLanguages: Tất cả các ngôn ngữ
Expand Down
4 changes: 4 additions & 0 deletions i18n/ui.global.zh-yue.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,12 @@ disclaimers:
opinion:
title: 自以為是的內容
text: 此頁面不一定反映所有 ETC 利益相關者的觀點。
debate:
title: 爭議中的內容
text: 此主題在 ETC 社區內正在進行討論。
next: 繼續閱讀
prev: 上一篇
readMore: 閱讀更多
contribute: 如果您想通過向此頁面添加或更正信息來做出貢獻,請在 [Discord](https://discord.com/invite/dwxb6nf) 上留言或在 [GitHub](https://github.com/ethereumclassic/ethereumclassic.github.io) 上創建問題
contributors: "此頁面的存在部分歸功於以下貢獻者:"
allLanguages: 所有語言
Expand Down
4 changes: 4 additions & 0 deletions i18n/ui.global.zh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@ disclaimers:
opinion:
title: 有意见的内容
text: 本页不一定反映所有ETC利益相关者的观点。
debate:
title: 争议中的内容
text: 此主题在ETC社区内正在进行讨论。
next: 继续阅读
readMore: 阅读更多
prev: 上一篇文章
contribute: 如果您想通过添加或更正本页面的信息来做出贡献,请在 [Discord](https://discord.com/invite/dwxb6nf)上留言,或在 [GitHub](https://github.com/ethereumclassic/ethereumclassic.github.io)上创建一个问题。
contributors: "本页的存在部分归功于以下贡献者。"
Expand Down
8 changes: 7 additions & 1 deletion src/components/contentHeader.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export default function ContentHeader({ mdx, i18n, pre, ...rest }) {
const { title, date, author, updated } = mdx?.meta || i18n;
const header = articleHeader || title;
const disclaimer = mdx?.meta?.disclaimer || i18n.disclaimer;
const disclaimerLink = mdx?.meta?.disclaimerLink || i18n.disclaimerLink;
const info = mdx?.meta?.info || i18n.info;
const tags = mdx?.meta?.tags
?.map((tag) => ({
Expand Down Expand Up @@ -74,12 +75,17 @@ export default function ContentHeader({ mdx, i18n, pre, ...rest }) {
)}
</div>
</div>
{disclaimer && (
{disclaimer && disclaimer !== "opinion" && disclaimer !== "debate" && (
<div tw="hidden md:block ml-4">
<Disclaimer type="micro" text={disclaimer} />
</div>
)}
</div>
{(disclaimer === "opinion" || disclaimer === "debate") && (
<div tw="mt-4">
<Disclaimer type="inline" text={disclaimer} link={disclaimerLink} />
</div>
)}
{globalDisclaimer && (
<div
tw="text-xs mt-4 text-shade-light italic select-none"
Expand Down
2 changes: 1 addition & 1 deletion src/components/contentSidebarInline.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default function ContentSidebarInline({ items, disclaimer }) {
<Icon icon={item.icon} tw="h-4" />
<div>{item.name}</div>
</Link>
{disclaimer && (
{disclaimer && disclaimer !== "opinion" && disclaimer !== "debate" && (
<div tw="md:hidden">
<Disclaimer type="micro" text={disclaimer} />
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/components/disclaimer.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ import React from "react";
import { useGlobals } from "../../plugins/translations-plugin/src/components/localizationProvider";
import InfoBox from "./infoBox";

export default function Disclaimer({ text: key = "verify", ...rest }) {
export default function Disclaimer({ text: key = "verify", link, ...rest }) {
const {
ui: { disclaimers },
} = useGlobals();
const { title, text } = disclaimers[key];
return <InfoBox {...{ ...rest, title, text }} />;
return <InfoBox {...{ ...rest, title, text, link }} />;
}
Loading