Skip to content
Open
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
1 change: 1 addition & 0 deletions dev.env
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,4 @@ NEXT_PUBLIC_TELEGRAM_RUSSIA_URL=https://t.me/originprotocolrussia
NEXT_PUBLIC_TELEGRAM_SPAIN_URL=https://t.me/originprotocolspanish
NEXT_PUBLIC_TELEGRAM_TURKEY_URL=https://t.me/OriginTurkish
NEXT_PUBLIC_TELEGRAM_VIETNAM_URL=https://t.me/originprotocolvietnam
NEXT_PUBLIC_TELEGRAM_CHINA_URL=https://t.me/originchinese
19 changes: 18 additions & 1 deletion pages/community.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ const Community = ({ locale, onLocale, isMobile, team, seo, contributors, navLin
</Typography.H2>
<div className="mt-5 font-norm">
Origin is a decentralized ecosystem hundreds of thousands
strong
strong.
</div>
</div>
<div className="image-container">
Expand Down Expand Up @@ -304,6 +304,23 @@ const Community = ({ locale, onLocale, isMobile, team, seo, contributors, navLin
thumbnailAlt={"Flag"}
/>
}
{socials.stats[11]?.name === 'Telegram (China)' &&
<AltCard
title={"CHINA"}
body={`${formatCurrency(
socials.stats[11]?.subscribed_count / 1000,
1
)}k followers`}
imgSrc={assetRootPath("/images/logos/social-telegram.svg")}
imgAlt={"Telegram"}
linkHref={process.env.NEXT_PUBLUC_TELEGRAM_CHINA_URL}
narrow={true}
thumbnailSrc={assetRootPath(
"/images/graphics/flag-china.png"
)}
thumbnailAlt={"Flag"}
/>
}
</div>
)}
</div>
Expand Down
Binary file added public/images/graphics/flag-china.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/components/Article.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const Article = ({ article, navLinks }) => {
/>
<Typography.Body3
className="text-[12px] md:text-[16px]"
style={{ fontWeight: 500 }}
style={{ fontWeight: 600 }}
>
Back to News
</Typography.Body3>
Expand Down