Skip to content

Commit edc620e

Browse files
Vidyaa KrishnaVidyaa Krishna
Vidyaa Krishna
authored and
Vidyaa Krishna
committed
polygon rebranding
1 parent ebe0fbf commit edc620e

13 files changed

+104
-90
lines changed

docusaurus.config.js

+16-16
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
module.exports = {
2-
title: "Matic Network | Documentation",
3-
tagline: "Welcome to Matic developer documentation",
2+
title: "Polygon Technolgy | Documentation",
3+
tagline: "Welcome to Polygon developer documentation",
44
url: "https://docs.matic.network/",
55
baseUrl: "/",
6-
favicon: "img/favicon.png",
7-
organizationName: "Matic Network",
6+
favicon: "img/polygon/polygon-logo.svg",
7+
organizationName: "Polygon Technology",
88
projectName: "matic-docs",
99
customFields: {
10-
description: "Build your next blockchain app on Matic.",
10+
description: "Build your next blockchain app on Polygon.",
1111
},
1212
onBrokenLinks: 'log',
1313
themeConfig: {
1414
announcementBar: {
1515
id: "support_us",
1616
content:
17-
'🎉Matic Mainnet <a target="_blank" rel="noopener noreferrer" href="/docs/develop/network-details/network"/>is open for developers🎉! ',
18-
backgroundColor: "#2b6def", // Defaults to `#fff`
17+
'🎉 Polygon Mainnet <a target="_blank" rel="noopener noreferrer" href="/docs/develop/network-details/network"/>is open for developers 🎉! ',
18+
backgroundColor: "#8247e5", // Defaults to `#fff`
1919
textColor: "#fff", // Defaults to `#000`
2020
},
2121
// googleAnalytics: {
@@ -35,11 +35,10 @@ module.exports = {
3535
},
3636
navbar: {
3737
hideOnScroll: true,
38-
title: "Developer",
3938
logo: {
40-
alt: "Matic logo",
41-
src: "/img/logo.svg",
42-
srcDark: "/img/logo-white.svg",
39+
alt: "Polygon logo",
40+
src: "/img/polygon/primary-logo.svg",
41+
srcDark: "/img/polygon/monotone-white.png",
4342
// href: 'https://docs.matic.network/', // default to siteConfig.baseUrl
4443
target: "_self", // by default, this value is calculated based on the `href` attribute (the external link will open in a new tab, all others in the current one)
4544
},
@@ -80,16 +79,17 @@ module.exports = {
8079
position: "right",
8180
},
8281
{
83-
to: "docs/faq/faq",
84-
label: "FAQ",
82+
label: "Polygon SDK",
83+
href: "https://sdk-docs.polygon.technology/docs/overview/",
8584
position: "left",
86-
activeBasePath: "docs/faq",
8785
},
8886
{
89-
label: "Polygon SDK",
90-
href: "https://sdk-docs.polygon.technology/docs/overview/",
87+
to: "docs/faq/faq",
88+
label: "FAQ",
9189
position: "left",
90+
activeBasePath: "docs/faq",
9291
},
92+
9393
],
9494
},
9595
},

src/css/custom.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -756,7 +756,7 @@ a:after {
756756
}
757757

758758
:root {
759-
--ifm-color-primary: #2b6def;
759+
--ifm-color-primary: #8247e5;
760760
--ifm-color-primary-dark: #125bec;
761761
--ifm-color-primary-darker: #1156df;
762762
--ifm-color-primary-darkest: #0e47b8;

src/data/features.js

+15-35
Original file line numberDiff line numberDiff line change
@@ -6,36 +6,38 @@ export const firstRow = [
66
description: "Learn about Blockchain and Matic"
77
},
88
{
9-
title: "Application Developers",
9+
title: "Dapp Developers",
1010
linkUrl: "docs/develop/getting-started",
1111
imageUrl: "img/home/dapp-developers.svg",
1212
description: "Complete information including easy tutorials you need to build, deploy, and manage apps on Matic"
1313
},
14+
{
15+
title: "Polygon SDK",
16+
class_name: "polygon-banner",
17+
linkUrl: "https://sdk-docs.polygon.technology/docs/overview/",
18+
imageUrl: "img/home/polygon-sdk.svg",
19+
description: "A modular and extensible framework for building Ethereum-compatible blockchain networks."
20+
},
21+
22+
];
23+
24+
export const secondRow = [
1425
{
1526
title: "Validators",
1627
linkUrl: "docs/validate/basics/validator",
1728
imageUrl: "img/home/core-contribution.svg",
1829
description: 'Learn how to stake with Matic, and setup you own nodes to maintain the network and earn rewards'
1930
},
20-
];
21-
22-
export const secondRow = [
23-
/*{
24-
title: "Blog",
25-
linkUrl: "https://blog.matic.network/",
26-
imageUrl: "img/home/validators.svg",
27-
description: "The Matic blog hosts news, interviews, conversations, stories, and opinions from the blockchain community, inside and outside of Matic"
28-
},*/
2931
{
30-
title: "Integration Partners",
32+
title: "Integration ",
3133
linkUrl: "docs/integrate/quickstart",
3234
imageUrl: "img/home/integration.svg",
3335
description: "Key information for partners looking to integrate with Matic. Wallets, developer tools, oracles and more - get all the info you need"
3436
},
3537
{
3638
title: "Core Contributors",
3739
linkUrl: "docs/contribute/orientation",
38-
imageUrl: "img/home/blockchain-basics.svg",
40+
imageUrl: "img/home/core-contributors.svg",
3941
description: "Contribute and get involved with the Matic Network code base. Spin up a local testnet, or just submit a Pull Request on one of our repos"
4042
}
4143
];
@@ -63,26 +65,4 @@ export const thirdRow = [
6365
},
6466
];
6567

66-
export const networkBanner = [
67-
{
68-
title: "Live Network",
69-
class_name: "matic-banner",
70-
linkUrl: "https://matic.network/",
71-
imageUrl: "img/matic-logo.svg",
72-
description: "Experience the power of Layer 2 with Matic PoS + Plasma chains"
73-
},
74-
{
75-
title: "Polygon Network",
76-
class_name: "polygon-banner",
77-
linkUrl: "https://polygon.technology/",
78-
imageUrl: "img/polygon-logo.svg",
79-
description: "A swiss army knife for Ethereum scaling, Zk Rollups, Optimistic Rollups, Shared security chains"
80-
},
81-
{
82-
title: "Polygon SDK",
83-
class_name: "polygon-banner",
84-
linkUrl: "https://sdk-docs.polygon.technology/docs/overview/",
85-
imageUrl: "img/polygon-logo.svg",
86-
description: "A modular and extensible framework for building Ethereum-compatible blockchain networks."
87-
},
88-
];
68+

src/pages/index.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ function FirstRow({ title, description, linkUrl, imageUrl }) {
4747
function SecondRow({ title, description, linkUrl, imageUrl }) {
4848
// const imgUrl = useBaseUrl(imageUrl);
4949
return (
50-
<div className="col-md-6 p-8">
50+
<div className="col-md-4 p-8">
5151
<Link to={useBaseUrl(linkUrl)}>
5252
<div className="show-card">
5353
<div className="icon-wrapper">
@@ -69,8 +69,7 @@ function Home() {
6969
<div
7070
className="bootstrap-wrapper"
7171
>
72-
<img src={useBaseUrl("img/home/background-mockup-left.svg")} className="background-img left" />
73-
<img src={useBaseUrl("img/home/background-mockup-right.svg")} className="background-img right" />
72+
7473
<div className="container">
7574
<div className="row pt-40">
7675
{networkBanner &&

static/img/home/blockchain-basics.svg

+17-17
Loading

static/img/home/core-contribution.svg

+6-4
Loading

static/img/home/core-contributors.svg

+5
Loading

static/img/home/dapp-developers.svg

+6-6
Loading

static/img/home/integration.svg

+8-8
Loading

0 commit comments

Comments
 (0)