Skip to content

Commit

Permalink
Merge pull request #245 from primer/tallys/removing-deadlink
Browse files Browse the repository at this point in the history
🔪 Removed all Spectrum (now deprecated) references and icons
  • Loading branch information
tallys authored Jun 4, 2021
2 parents 5e88a80 + 25c7f7a commit 80ba426
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 34 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
<a href="https://primer.style/components">Components</a>
·
<a href="https://github.com/primer">Primer org</a>
·
<a href="https://spectrum.chat/primer">Community</a>
</p>

<p align="center">Primer is GitHub's design system.<br /> The <a href="https://primer.style/">primer.style</a> website will, over time, be the hub from which all Primer web properties are linked from.
Expand Down
5 changes: 0 additions & 5 deletions src/components/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import {Box, BorderBox, Heading, Text, StyledOcticon} from '@primer/components'
import {Octoface, MarkGithub} from '@primer/octicons-react'
import ButtonFillDark from './ButtonFillDark'
import TwitterIcon from './TwitterIcon'
import SpectrumIcon from './SpectrumIcon'
import IndexGrid from './IndexGrid'
import LinkDark from './LinkDark'

Expand Down Expand Up @@ -31,10 +30,6 @@ export default function OpenSource() {
<StyledOcticon icon={TwitterIcon} size={20} verticalAlign="top" mr={2} />
Follow us on Twitter
</LinkDark>
<LinkDark fontSize={2} mb={3} display="block" href="https://spectrum.chat/primer">
<StyledOcticon icon={SpectrumIcon} size={20} verticalAlign="top" mr={2} />
Chat with us in Spectrum
</LinkDark>
<LinkDark fontSize={2} mb={3} display="block" href="https://github.com/primer/css/issues/new/choose">
<StyledOcticon icon={MarkGithub} size={20} verticalAlign="text-top" mr={2} />
Share feedback on GitHub
Expand Down
15 changes: 1 addition & 14 deletions src/components/Hero.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,9 @@ export default function Hero() {
Design, build, and create with GitHub’s design system
</Text>
<Text as="div" color="blue.2">
Primer was created for GitHub by GitHub. We love it so much, we chose to open-source it to allow the
Primer was created for GitHub by GitHub. We love it so much, we chose to <LinkLight href="https://github.com/primer/">open-source</LinkLight> it to allow the
community to design and build their own projects with Primer.
</Text>
<Text fontFamily="mono" as="p" color="blue.3" mt={5}>
<LinkLight fontSize={[0, 1, 2]} href="/about">
About
</LinkLight>
{DOT}
<LinkLight ml={2} fontSize={[0, 1, 2]} href="https://github.com/primer/">
Open-source
</LinkLight>
{DOT}
<LinkLight ml={2} fontSize={[0, 1, 2]} href="https://spectrum.chat/primer">
Community
</LinkLight>
</Text>
</Flex.Item>
</IndexGrid>
</Box>
Expand Down
13 changes: 0 additions & 13 deletions src/components/SpectrumIcon.js

This file was deleted.

1 comment on commit 80ba426

@vercel
Copy link

@vercel vercel bot commented on 80ba426 Jun 4, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.