Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,13 @@ Each city **MUST HAVE**:
- title
- tagline
- meetup_name
- twitter
- some content

If you want to show a list of social icons after your city description, add the social block to your markdown.<br />
Example:

```
socials:
- twitter: https://twitter.com/ots_bln
- facebook: https://www.facebook.com/opentechschool.berlin
```

Expand Down
10 changes: 0 additions & 10 deletions components/Footer/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,6 @@ export default function Footer() {
<Grid item xs={12} sm={2}>
<h4>{t('footer.connect')}</h4>
<ul>
<li>
<a
href='https://twitter.com/opentechschool'
target='_blank'
rel='noopener noreferrer'
className='invert'
>
Twitter
</a>
</li>
<li>
<a
href='https://www.facebook.com/OpenTechSchool'
Expand Down
4 changes: 1 addition & 3 deletions components/Meta.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ export default function Meta({ pageTitle, pageDescription, pageImage }) {
pageImage || assetPath('/sharing-images/website-into-sharing.png?1')
}`}
/>
<meta name='twitter:card' content='summary_large_image' />
<meta name='twitter:site' content='@OpenTechSchool' />
<link
<link
rel='apple-touch-icon'
sizes='180x180'
href={assetPath('/apple-touch-icon.png')}
Expand Down
12 changes: 0 additions & 12 deletions components/Section/SocialMediaSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ import Grid from '@mui/material/Grid'
import TextSection from './TextSection'
import FacebookIcon from '@mui/icons-material/Facebook'
import GitHubIcon from '@mui/icons-material/GitHub'
import TwitterIcon from '@mui/icons-material/Twitter'

export default function SocialMediaSection({ bgColor = '' }) {
const iconStyle = {
fontSize: 50,
Expand All @@ -24,16 +22,6 @@ export default function SocialMediaSection({ bgColor = '' }) {
<FacebookIcon style={iconStyle} />
</a>
</Grid>
<Grid item xs={3} md={1}>
<a
href='https://twitter.com/OpenTechSchool'
target='_blank'
rel='noopener noreferrer'
className='icon'
>
<TwitterIcon style={iconStyle} />
</a>
</Grid>
<Grid item xs={3} md={1}>
<a
href='http://discourse.opentechschool.org/'
Expand Down
72 changes: 0 additions & 72 deletions components/TwitterFeed.tsx

This file was deleted.

2 changes: 0 additions & 2 deletions data/cities/en/berlin.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@ page_description: |
very beginning and where we host our events is the fantastic coworking space, Co.Up.
location: 'Berlin, Germany'
tagline: 'Where everything started... and you can take a ride in a rotating TV tower'
twitter: OTS_BLN
meetup_name: opentechschool-berlin
socials:
- twitter: https://twitter.com/ots_bln
- facebook: https://www.facebook.com/opentechschool.berlin
discourse_group: TeamBerlin
---
Expand Down
3 changes: 0 additions & 3 deletions data/cities/en/bristol.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ page_description: |
location: 'Bristol, UK'
tagline: 'The start of a great adventure'
meetup_name: CodeHub-Bristol
twitter: CodeHubBs
socials:
- twitter: https://twitter.com/CodeHubBs
members:
- katja: Katja Durrani
- gicela: Gicela Morales
Expand Down
1 change: 0 additions & 1 deletion data/cities/en/brussels.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ location: 'Brussels, Belgium'
tagline: 'Where knowledge is brewed'
discourse_group: TeamBrussels
meetup_name: OpenTechSchool-Brussels
twitter: false
socials: false
---

Expand Down
3 changes: 0 additions & 3 deletions data/cities/en/dortmund.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@ title: Dortmund
location: 'Dortmund, Germany'
is_inactive: true
tagline: 'Between currywurst, football and compilers.'
twitter: OTS_DO
discourse_group: TeamDortmund
socials:
- twitter: https://twitter.com/ots_do
---

## About OpenTechSchool
Expand Down
1 change: 0 additions & 1 deletion data/cities/en/hamburg.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ slug: hamburg
title: Hamburg
location: 'Hamburg, Germany'
tagline: 'Shipping is our tradition... and so are Franzbrötchen.'
twitter: false
discourse_group: TeamHamburg
---

Expand Down
1 change: 0 additions & 1 deletion data/cities/en/istanbul.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ title: Istanbul
location: 'İstanbul, Turkey'
is_inactive: true
tagline: 'Bridging two continents, and the people.'
twitter: OTS_IST
---

## About
Expand Down
3 changes: 0 additions & 3 deletions data/cities/en/london.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,4 @@ title: London
location: 'London, UK'
is_inactive: true
meetup_name: 'opentechschool-london'
twitter: ots_london
socials:
- twitter: https://twitter.com/ots_london
---
3 changes: 0 additions & 3 deletions data/cities/en/melbourne.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ title: Melbourne
location: 'Melbourne, Australia'
is_inactive: true
tagline: 'Great learning is achieved with great coffee!'
twitter: OTS_AU
socials:
- twitter: https://twitter.com/ots_au
---

## About
Expand Down
1 change: 0 additions & 1 deletion data/cities/en/nairobi.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ title: Nairobi
location: 'Nairobi, Kenya'
is_inactive: true
tagline: 'When nature and tech had a baby, Nairobi was born'
twitter: OTSNairobi
---

## About
Expand Down
1 change: 0 additions & 1 deletion data/cities/en/rheinmain.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ title: RheinMain
location: 'RheinMain, Germany'
is_inactive: true
tagline: 'RheinMain rocks!'
twitter: OTS_RM
---

## About
Expand Down
1 change: 0 additions & 1 deletion data/cities/en/romagna.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ page_description: |
location: 'Cesena, Italy'
tagline: 'Code, Piadina and Sangiovese'
meetup_name: opentechschool-romagna
twitter: false
socials: false
discourse_group: TeamRomagna
---
Expand Down
1 change: 0 additions & 1 deletion data/cities/en/san-francisco.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ title: San Francisco
location: 'San Francisco, CA, USA'
is_inactive: true
tagline: 'Greetings from Karl'
twitter: ots_sf
---

## About
Expand Down
3 changes: 0 additions & 3 deletions data/cities/en/stockholm.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ title: Stockholm
location: 'Stockholm, Sweden'
is_inactive: true
tagline: 'Where kanelbullar and köttbullar come from'
twitter: OTS_STHLM
socials:
- twitter: https://twitter.com/ots_sthml
---

## About
Expand Down
23 changes: 0 additions & 23 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-markdown": "^9.0.1",
"react-twitter-embed": "^4.0.4",
"rehype-raw": "^7.0.0"
},
"devDependencies": {
Expand Down
5 changes: 0 additions & 5 deletions pages/cities/[slug].js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import Grid from '@mui/material/Grid'
import Icon from '@mui/material/Icon'
import FacebookIcon from '@mui/icons-material/Facebook'
import GitHubIcon from '@mui/icons-material/GitHub'
import TwitterIcon from '@mui/icons-material/Twitter'
import InstagramIcon from '@mui/icons-material/Instagram'
import useTranslation from '../../hooks/useTranslation'
import WithLocale from '../../containers/withLocale'
Expand All @@ -18,7 +17,6 @@ import CityLayout from '../../components/CityLayout/CityLayout'
import CityHero from '../../components/CityHero/CityHero'
import TextSection from '../../components/Section/TextSection'
import TeamSection from '../../components/Section/TeamSection'
import TwitterFeed from '../../components/TwitterFeed'
import { useAssetPath } from '../../utils/assetPath'

const WrappedIcon = (props) => <Icon {...props} />
Expand All @@ -34,7 +32,6 @@ export function CityTemplate({ content, data }) {

const socialIconsList = {
facebook: <FacebookIcon />,
twitter: <TwitterIcon />,
github: <GitHubIcon />,
instagram: <InstagramIcon />,
discourse: { imgSrc: assetPath('/discourse_blue_icon.png') },
Expand Down Expand Up @@ -132,8 +129,6 @@ export function CityTemplate({ content, data }) {

<TeamSection frontmatter={frontmatter} />

{frontmatter.twitter && <TwitterFeed screenName={frontmatter.twitter} />}

<style jsx>{`
.markdown :global(p) {
margin-bottom: 20px;
Expand Down
Loading