Skip to content

Commit a58a3b3

Browse files
committed
chore: remove Discord references from docs
Remove Discord links from homepage, navbar, footer, and associated CSS.
1 parent f04aa14 commit a58a3b3

File tree

3 files changed

+0
-31
lines changed

3 files changed

+0
-31
lines changed

docs/docusaurus.config.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,6 @@ const config: Config = {
9595
position: 'left',
9696
label: 'Docs',
9797
},
98-
{
99-
href: 'https://discord.gg/s2KX8kTvGX',
100-
position: 'right',
101-
className: 'header-discord-link',
102-
'aria-label': 'Discord server',
103-
},
10498
{
10599
href: 'https://github.com/gricha/perry',
106100
position: 'right',
@@ -132,10 +126,6 @@ const config: Config = {
132126
{
133127
title: 'Community',
134128
items: [
135-
{
136-
label: 'Discord',
137-
href: 'https://discord.gg/s2KX8kTvGX',
138-
},
139129
{
140130
label: 'GitHub',
141131
href: 'https://github.com/gricha/perry',

docs/src/css/custom.css

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -689,19 +689,3 @@ td code {
689689
opacity: 0.7;
690690
}
691691

692-
.header-discord-link::before {
693-
content: '';
694-
width: 24px;
695-
height: 24px;
696-
display: flex;
697-
background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 127.14 96.36'%3E%3Cpath fill='%23000000' d='M107.7,8.07A105.15,105.15,0,0,0,81.47,0a72.06,72.06,0,0,0-3.36,6.83A97.68,97.68,0,0,0,49,6.83,72.37,72.37,0,0,0,45.64,0,105.89,105.89,0,0,0,19.39,8.09C2.79,32.65-1.71,56.6.54,80.21h0A105.73,105.73,0,0,0,32.71,96.36,77.7,77.7,0,0,0,39.6,85.25a68.42,68.42,0,0,1-10.85-5.18c.91-.66,1.8-1.34,2.66-2a75.57,75.57,0,0,0,64.32,0c.87.71,1.76,1.39,2.66,2a68.68,68.68,0,0,1-10.87,5.19,77,77,0,0,0,6.89,11.1A105.25,105.25,0,0,0,126.6,80.22h0C129.24,52.84,122.09,29.11,107.7,8.07ZM42.45,65.69C36.18,65.69,31,60,31,53s5-12.74,11.43-12.74S54,46,53.89,53,48.84,65.69,42.45,65.69Zm42.24,0C78.41,65.69,73.25,60,73.25,53s5-12.74,11.44-12.74S96.23,46,96.12,53,91.08,65.69,84.69,65.69Z'/%3E%3C/svg%3E") no-repeat center center;
698-
background-size: 24px 24px;
699-
}
700-
701-
[data-theme='dark'] .header-discord-link::before {
702-
filter: invert(1);
703-
}
704-
705-
.header-discord-link:hover {
706-
opacity: 0.7;
707-
}

docs/src/pages/index.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,6 @@ function HomepageHeader() {
3131
to="https://github.com/gricha/perry">
3232
GitHub
3333
</Link>
34-
<Link
35-
className="button button--secondary button--lg"
36-
to="https://discord.gg/s2KX8kTvGX">
37-
Discord
38-
</Link>
3934
</div>
4035
<div className={styles.terminalBlock}>
4136
<div className={styles.terminalLine}>

0 commit comments

Comments
 (0)