Skip to content

Commit fb33576

Browse files
authored
Remove/replace Spectrum links with GitHub Discussions (codesandbox#4001)
* Remove Spectrum * Remove Spectrum * Remove Spectrum * Remove Spectrum * Remove Spectrum * Replace Spectrum * Remove Spectrum
1 parent 0a33587 commit fb33576

File tree

7 files changed

+3
-38
lines changed

7 files changed

+3
-38
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
 
88

9-
[![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/codesandbox)
109
[![All Contributors](https://img.shields.io/badge/all_contributors-153-orange.svg?style=flat-square)](#contributors-)
1110
[![CircleCI](https://circleci.com/gh/codesandbox/codesandbox-client.svg?style=svg)](https://circleci.com/gh/codesandbox/codesandbox-client)
1211
[![BrowserStack Status](https://www.browserstack.com/automate/badge.svg?badge_key=cVJuczlJWUtqWXhIbFN1ZjVQekF4NzNsd3phNEZRaGlWU0pHYVVkdGRFWT0tLXFtTVhaOWRySmN0ZG5QVDNDQ0g5Z0E9PQ==--79fe3eae4f149a400d396c9b12d3988f685785cf)](https://www.browserstack.com/automate/public-build/cVJuczlJWUtqWXhIbFN1ZjVQekF4NzNsd3phNEZRaGlWU0pHYVVkdGRFWT0tLXFtTVhaOWRySmN0ZG5QVDNDQ0g5Z0E9PQ==--79fe3eae4f149a400d396c9b12d3988f685785cf)

packages/app/src/app/components/SocialInfo/SocialInfo.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import React from 'react';
22
import TwitterIcon from 'react-icons/lib/fa/twitter';
33
import GithubIcon from 'react-icons/lib/fa/github';
44
import { Icon } from './elements';
5-
import { SpectrumLogo } from '../SpectrumLogo';
65

76
export const SocialInfo: React.FC<React.HTMLAttributes<
87
HTMLDivElement
@@ -14,8 +13,5 @@ export const SocialInfo: React.FC<React.HTMLAttributes<
1413
<Icon href="https://github.com/codesandbox/codesandbox-client">
1514
<GithubIcon />
1615
</Icon>
17-
<Icon href="https://spectrum.chat/codesandbox">
18-
<SpectrumLogo />
19-
</Icon>
2016
</div>
2117
);

packages/app/src/app/overmind/effects/vscode/Workbench.ts

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -278,11 +278,6 @@ export class Workbench {
278278
'Follow Us on Twitter',
279279
'https://twitter.com/codesandbox'
280280
);
281-
addBrowserNavigationCommand(
282-
'codesandbox.help.spectrum',
283-
'Join Us on Spectrum',
284-
'https://spectrum.chat/codesandbox'
285-
);
286281

287282
this.addWorkbenchAction({
288283
id: 'codesandbox.help.feedback',
@@ -363,15 +358,6 @@ export class Workbench {
363358
},
364359
});
365360

366-
this.appendMenuItem(MenuId.MenubarHelpMenu, {
367-
group: '3_social',
368-
order: 3,
369-
command: {
370-
id: 'codesandbox.help.spectrum',
371-
title: 'Join Us on S&&pectrum',
372-
},
373-
});
374-
375361
if (COMMENTS) {
376362
this.appendMenuItem(MenuId.EditorContext, {
377363
group: '0_comments',

packages/app/src/app/pages/Sandbox/Editor/Workspace/SSEDownNotice/SSEDownNotice.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@ export const SSEDownNotice: FunctionComponent = () => {
4444
{"'"}t resolved with in a minute it would greatly help us if you could
4545
let us know on{' '}
4646
<a
47-
href="https://spectrum.chat/codesandbox"
47+
href="https://github.com/codesandbox/codesandbox-client/discussions"
4848
rel="noopener noreferrer"
4949
style={{ color: '#FFFFFF' }}
5050
target="_blank"
5151
>
52-
Spectrum
52+
GitHub
5353
</a>
5454
.
5555
</p>

packages/app/src/app/pages/Sandbox/Editor/Workspace/screens/ProjectInfo/Delete.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,14 @@ import React, { MouseEvent } from 'react';
22
import { useOvermind } from 'app/overmind';
33
import css from '@styled-system/css';
44
import { Button, Stack, Element, Link } from '@codesandbox/components';
5-
import { SpectrumLogo, GithubIcon, TwitterIcon } from './icons';
5+
import { GithubIcon, TwitterIcon } from './icons';
66

77
const links = [
88
{ href: 'https://twitter.com/codesandbox', icon: <TwitterIcon /> },
99
{
1010
href: 'https://github.com/codesandbox/codesandbox-client',
1111
icon: <GithubIcon />,
1212
},
13-
{ href: 'https://spectrum.chat/codesandbox', icon: <SpectrumLogo /> },
1413
];
1514

1615
export const Delete = () => {

packages/common/src/components/Footer.tsx

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -147,15 +147,6 @@ export default () => (
147147
Twitter
148148
</a>
149149
</li>
150-
<li>
151-
<a
152-
href="https://spectrum.chat/codesandbox"
153-
target="_blank"
154-
rel="noopener noreferrer"
155-
>
156-
Spectrum
157-
</a>
158-
</li>
159150
</List>
160151
</Column>
161152
</Container>

packages/homepage/src/components/Footer/index.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { Link } from 'gatsby';
33
import { P } from '../Typography';
44
import Github from '../../assets/icons/github';
55
import Twitter from '../../assets/icons/twitter';
6-
import Spectrum from '../../assets/icons/spectrum';
76
import { FooterWrapper, Nav, Social } from './elements';
87

98
const Footer = () => (
@@ -161,11 +160,6 @@ const Footer = () => (
161160
<Twitter />
162161
</a>
163162
</li>
164-
<li>
165-
<a title="Go to Spectrum" href="https://spectrum.chat/codesandbox">
166-
<Spectrum />
167-
</a>
168-
</li>
169163
</Social>
170164
<P
171165
small

0 commit comments

Comments
 (0)