Skip to content

Commit

Permalink
Remove sponsors information from the roadmap pages
Browse files Browse the repository at this point in the history
  • Loading branch information
kamranahmedse committed Aug 4, 2022
1 parent 081fd74 commit 8520819
Show file tree
Hide file tree
Showing 16 changed files with 6 additions and 149 deletions.
80 changes: 0 additions & 80 deletions components/updates-banner.tsx

This file was deleted.

14 changes: 1 addition & 13 deletions pages/[roadmap]/[group].tsx
Original file line number Diff line number Diff line change
@@ -1,17 +1,6 @@
import {
Box,
Breadcrumb,
BreadcrumbItem,
BreadcrumbLink,
Button,
Container,
Divider,
Link,
Text,
} from '@chakra-ui/react';
import { Box, Breadcrumb, BreadcrumbItem, BreadcrumbLink, Container } from '@chakra-ui/react';
import { GlobalHeader } from '../../components/global-header';
import { OpensourceBanner } from '../../components/opensource-banner';
import { UpdatesBanner } from '../../components/updates-banner';
import { Footer } from '../../components/footer';
import { getAllRoadmaps, getRoadmapById, RoadmapType } from '../../lib/roadmap';
import MdRenderer from '../../components/md-renderer';
Expand Down Expand Up @@ -114,7 +103,6 @@ export default function RoadmapGroup(props: RoadmapProps) {
</Container>

<OpensourceBanner />
<UpdatesBanner />
<Footer />
</Box>
);
Expand Down
4 changes: 1 addition & 3 deletions pages/[roadmap]/index.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import React from 'react';
import { Box, Container, Image, Text } from '@chakra-ui/react';
import { Box, Container, Image } from '@chakra-ui/react';
import { GlobalHeader } from '../../components/global-header';
import { OpensourceBanner } from '../../components/opensource-banner';
import { UpdatesBanner } from '../../components/updates-banner';
import { Footer } from '../../components/footer';
import { getAllRoadmaps, getRoadmapById, isInteractiveRoadmap, RoadmapType } from '../../lib/roadmap';
import MdRenderer from '../../components/md-renderer';
Expand Down Expand Up @@ -72,7 +71,6 @@ export default function Roadmap(props: RoadmapProps) {
</Box>

<OpensourceBanner />
<UpdatesBanner />
<Footer />
</Box>
);
Expand Down
2 changes: 0 additions & 2 deletions pages/[roadmap]/interactive.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { useEffect, useRef, useState } from 'react';
import { Box, Container } from '@chakra-ui/react';
import { GlobalHeader } from '../../components/global-header';
import { OpensourceBanner } from '../../components/opensource-banner';
import { UpdatesBanner } from '../../components/updates-banner';
import { Footer } from '../../components/footer';
import { getAllRoadmaps, getRoadmapById, RoadmapType } from '../../lib/roadmap';
import Helmet from '../../components/helmet';
Expand Down Expand Up @@ -157,7 +156,6 @@ export default function InteractiveRoadmap(props: RoadmapProps) {
</Box>

<OpensourceBanner />
<UpdatesBanner />
<Footer />
</Box>
);
Expand Down
2 changes: 0 additions & 2 deletions pages/[roadmap]/resources.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { Box, Container } from '@chakra-ui/react';
import { GlobalHeader } from '../../components/global-header';
import { OpensourceBanner } from '../../components/opensource-banner';
import { UpdatesBanner } from '../../components/updates-banner';
import { Footer } from '../../components/footer';
import { getAllRoadmaps, getRoadmapById, RoadmapType } from '../../lib/roadmap';
import MdRenderer from '../../components/md-renderer';
Expand Down Expand Up @@ -48,7 +47,6 @@ export default function Roadmap(props: RoadmapProps) {
</Box>

<OpensourceBanner />
<UpdatesBanner />
<Footer />
</Box>
);
Expand Down
2 changes: 0 additions & 2 deletions pages/about.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import React from 'react';
import { Box, Button, Container, Flex, Heading, Image, Link, Stack, Text } from '@chakra-ui/react';
import { GlobalHeader } from '../components/global-header';
import { OpensourceBanner } from '../components/opensource-banner';
import { UpdatesBanner } from '../components/updates-banner';
import { Footer } from '../components/footer';
import MdRenderer from '../components/md-renderer';
import Helmet from '../components/helmet';
Expand Down Expand Up @@ -65,7 +64,6 @@ export default function About() {
</Box>

<OpensourceBanner />
<UpdatesBanner />
<Footer />
</Box>
);
Expand Down
2 changes: 0 additions & 2 deletions pages/guides/[guide].tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { Box, Container } from '@chakra-ui/react';
import { GlobalHeader } from '../../components/global-header';
import { OpensourceBanner } from '../../components/opensource-banner';
import { UpdatesBanner } from '../../components/updates-banner';
import { Footer } from '../../components/footer';
import { ContentPageHeader } from '../../components/content-page-header';
import MdRenderer from '../../components/md-renderer';
Expand Down Expand Up @@ -47,7 +46,6 @@ export default function Guide(props: GuideProps) {
</Box>

<OpensourceBanner />
<UpdatesBanner />
<Footer />
</Box>
);
Expand Down
2 changes: 0 additions & 2 deletions pages/guides/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { GlobalHeader } from '../../components/global-header';
import { LinksList } from '../../components/links-list';
import { LinksListItem } from '../../components/links-list-item';
import { OpensourceBanner } from '../../components/opensource-banner';
import { UpdatesBanner } from '../../components/updates-banner';
import { Footer } from '../../components/footer';
import { GuideGridItem } from '../../components/guide/guide-grid-item';
import { PageHeader } from '../../components/page-header';
Expand Down Expand Up @@ -62,7 +61,6 @@ export default function Guides(props: GuidesProps) {
</Box>

<OpensourceBanner />
<UpdatesBanner />
<Footer />
</Box>
);
Expand Down
14 changes: 1 addition & 13 deletions pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
import {
Box,
Container,
Heading,
Link,
SimpleGrid, Tag,
Text,
useMediaQuery
} from '@chakra-ui/react';
import { Box, Container, Heading, SimpleGrid, Tag, Text } from '@chakra-ui/react';
import { GlobalHeader } from '../components/global-header';
import { Footer } from '../components/footer';
import { UpdatesBanner } from '../components/updates-banner';
import { OpensourceBanner } from '../components/opensource-banner';
import { DimmedMore } from '../components/dimmed-more';
import { LinksListItem } from '../components/links-list-item';
Expand All @@ -19,9 +10,7 @@ import { HomeRoadmapItem } from '../components/roadmap/home-roadmap-item';
import { getFeaturedRoadmaps, RoadmapType } from '../lib/roadmap';
import { getAllGuides, GuideType } from '../lib/guide';
import { getAllVideos, VideoType } from '../lib/video';
import siteConfig from '../content/site.json';
import Helmet from '../components/helmet';
import { event } from '../lib/gtag';
import { PageWrapper } from '../components/page-wrapper';

type HomeProps = {
Expand Down Expand Up @@ -153,7 +142,6 @@ export default function Home(props: HomeProps) {
</Box>

<OpensourceBanner />
<UpdatesBanner />
<Footer />
</PageWrapper>
);
Expand Down
2 changes: 0 additions & 2 deletions pages/privacy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import React from 'react';
import { Box, Container } from '@chakra-ui/react';
import { GlobalHeader } from '../components/global-header';
import { OpensourceBanner } from '../components/opensource-banner';
import { UpdatesBanner } from '../components/updates-banner';
import { Footer } from '../components/footer';
import MdRenderer from '../components/md-renderer';
import Helmet from '../components/helmet';
Expand All @@ -23,7 +22,6 @@ export default function Privacy() {
</Box>

<OpensourceBanner />
<UpdatesBanner />
<Footer />
</Box>
);
Expand Down
2 changes: 0 additions & 2 deletions pages/roadmaps.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { Box, Container, SimpleGrid } from '@chakra-ui/react';
import { GlobalHeader } from '../components/global-header';
import { OpensourceBanner } from '../components/opensource-banner';
import { UpdatesBanner } from '../components/updates-banner';
import { Footer } from '../components/footer';
import { PageHeader } from '../components/page-header';
import { RoadmapGridItem } from '../components/roadmap/roadmap-grid-item';
Expand Down Expand Up @@ -47,7 +46,6 @@ export default function Roadmaps(props: RoadmapsProps) {
</Box>

<OpensourceBanner />
<UpdatesBanner />
<Footer />
</Box>
);
Expand Down
21 changes: 3 additions & 18 deletions pages/signup.tsx
Original file line number Diff line number Diff line change
@@ -1,20 +1,7 @@
import React from 'react';
import {
Box,
Container,
Heading,
Text,
SimpleGrid,
Input,
Button,
ListItem,
List,
ListIcon,
Link
} from '@chakra-ui/react';
import { Box, Button, Container, Heading, Input, Link, List, ListIcon, ListItem, Text } from '@chakra-ui/react';
import { GlobalHeader } from '../components/global-header';
import { OpensourceBanner } from '../components/opensource-banner';
import { UpdatesBanner } from '../components/updates-banner';
import { Footer } from '../components/footer';
import { CheckCircleIcon } from '@chakra-ui/icons';
import siteConfig from '../content/site.json';
Expand Down Expand Up @@ -91,15 +78,13 @@ export default function SignUp() {
<Helmet title={'Sign Up: Be a part of the community'} />
<Box mb='60px'>
<Container maxW={'container.md'} position='relative'>
<SimpleGrid columns={[1, 1, 2]} spacing='15px' my={['30px', '30px', '80px']}>
<Box columns={1} maxWidth='400px' mx='auto' spacing='15px' my={['30px', '30px', '80px']}>
<FreeSignUp />
<PaidSignUp />
</SimpleGrid>
</Box>
</Container>
</Box>

<OpensourceBanner />
<UpdatesBanner />
<Footer />
</Box>
);
Expand Down
2 changes: 0 additions & 2 deletions pages/terms.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import React from 'react';
import { Box, Container } from '@chakra-ui/react';
import { GlobalHeader } from '../components/global-header';
import { OpensourceBanner } from '../components/opensource-banner';
import { UpdatesBanner } from '../components/updates-banner';
import { Footer } from '../components/footer';
import MdRenderer from '../components/md-renderer';
import Helmet from '../components/helmet';
Expand All @@ -23,7 +22,6 @@ export default function Terms() {
</Box>

<OpensourceBanner />
<UpdatesBanner />
<Footer />
</Box>
);
Expand Down
2 changes: 0 additions & 2 deletions pages/thanks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import {
} from '@chakra-ui/react';
import { GlobalHeader } from '../components/global-header';
import { OpensourceBanner } from '../components/opensource-banner';
import { UpdatesBanner } from '../components/updates-banner';
import { Footer } from '../components/footer';
import siteConfig from '../content/site.json';
import Helmet from '../components/helmet';
Expand Down Expand Up @@ -245,7 +244,6 @@ export default function Thanks() {
</Container>
</Box>
<OpensourceBanner />
<UpdatesBanner />
<Footer />
</Box>
);
Expand Down
2 changes: 0 additions & 2 deletions pages/watch/[video].tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { Box, Container, Link, Text } from '@chakra-ui/react';
import { GlobalHeader } from '../../components/global-header';
import { OpensourceBanner } from '../../components/opensource-banner';
import { UpdatesBanner } from '../../components/updates-banner';
import { Footer } from '../../components/footer';
import { ContentPageHeader } from '../../components/content-page-header';
import MdRenderer from '../../components/md-renderer';
Expand Down Expand Up @@ -49,7 +48,6 @@ export default function Video(props: VideoProps) {
</Box>

<OpensourceBanner />
<UpdatesBanner />
<Footer />
</Box>
);
Expand Down
2 changes: 0 additions & 2 deletions pages/watch/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { Box, Container, SimpleGrid } from '@chakra-ui/react';
import { GlobalHeader } from '../../components/global-header';
import { OpensourceBanner } from '../../components/opensource-banner';
import { UpdatesBanner } from '../../components/updates-banner';
import { Footer } from '../../components/footer';
import { VideoGridItem } from '../../components/watch/video-grid-item';
import { PageHeader } from '../../components/page-header';
Expand Down Expand Up @@ -44,7 +43,6 @@ export default function Watch(props: VideosProps) {
</Box>

<OpensourceBanner />
<UpdatesBanner />
<Footer />
</Box>
);
Expand Down

0 comments on commit 8520819

Please sign in to comment.