Skip to content

Commit cea5b75

Browse files
authored
Add social card preview (#780)
* Update: Add social card preview * Update the Documentation social description * Add social card into Astar Collective page
1 parent 66e454d commit cea5b75

4 files changed

Lines changed: 16 additions & 3 deletions

File tree

docs/learn/astar.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,19 @@
11
---
22
sidebar_position: 1
3+
description: Learn what is the Astar Collective.
4+
image: /img/astar-preview.png
35
---
46

7+
import Figure from '/src/components/figure'
8+
59
# About Astar Network
610

711
[Astar Network]: https://astar.network/
812

913
## I. A Web3 Collective
1014

15+
<Figure caption="Astar Collective Social Card" src={require('/img/astar-preview.png').default} width="100%" />
16+
1117
Astar is a web3 collective focused on building products that bring users onchain while creating sustainable value for ASTR holders. Rather than operating as a traditional single-chain ecosystem, Astar coordinates multiple products and contributors across different blockchain networks through a unified economic and governance structure.
1218

1319
At the foundation of this collective sits Astar Network, which serves as the anchor point for governance decisions, security mechanisms, and economic coordination across the entire ecosystem. The network ensures that all activities, whether occurring on Ethereum, Base, or other integrated chains, remain connected to a common framework that benefits the broader Astar community.

docusaurus.config.ts

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import rehypeKatex from 'rehype-katex';
66

77
const config: Config = {
88
title: 'Welcome to Astar',
9-
tagline: 'Here you will find documentation on how to develop dApps on Astar.',
9+
tagline: 'Here you can find documentation about the Astar Collective and its ecosystem.',
1010
favicon: 'img/fav.png',
1111

1212
future: {
@@ -42,6 +42,13 @@ const config: Config = {
4242
content: 'strict-origin-when-cross-origin',
4343
},
4444
},
45+
{
46+
tagName: 'meta',
47+
attributes: {
48+
name: 'twitter:card',
49+
content: 'summary_large_image',
50+
},
51+
},
4552
],
4653

4754
stylesheets: [
@@ -81,7 +88,7 @@ const config: Config = {
8188
],
8289

8390
themeConfig: {
84-
image: 'img/astar-logo-text.svg',
91+
image: 'img/astar-preview.png',
8592
navbar: {
8693
logo: {
8794
alt: 'Astar',

src/pages/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export default function Home(): JSX.Element {
1111
return (
1212
<Layout
1313
title={`${siteConfig.title}`}
14-
description="Astar Network Official Documentation Portal - User Guides, Tutorials, and Tools for Developers."
14+
description="Astar Collective Official Documentation with user guides, tutorials, technical information, and tools for developers."
1515
>
1616
<div className={styles.contentWrapper}>
1717
<Hero />

static/img/astar-preview.png

396 KB
Loading

0 commit comments

Comments
 (0)