Skip to content

Commit 440dffd

Browse files
authored
Merge pull request #983 from topcoder-platform/PM-324
PM-324 drop Contentful dependency
2 parents 5d89148 + a5a1d43 commit 440dffd

17 files changed

+0
-638
lines changed

src/apps/dev-center/README.md

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,3 @@
1-
# Dev Center Configuration
2-
3-
The app requires two environment variables, which contain the space id and the key used to access contentful and retrieve Thrive Articles.
4-
5-
You should create a file named `.env` in the root folder, and write inside the following lines:
6-
7-
```sh
8-
REACT_APP_CONTENTFUL_EDU_SPACE_ID=<space-id>
9-
REACT_APP_CONTENTFUL_EDU_CDN_API_KEY=<API Key>
10-
```
11-
12-
We should use the same space ID and API Key as Topcoder Thrive, these are for fetching Thrive articles and videos in the landing page.
13-
141
## Landing page
152

163
We can configure up to 5 articles shown on the landing page. The articles can be from Topcoder Thrive and/or Topcoder Blog.

src/apps/dev-center/src/dev-center-pages/community-app/landing-page/DevCenterLandingPage.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { FC } from 'react'
22

3-
import { DevCenterArticlesection } from './dev-center-articles-section'
43
import { DevCenterGetStarted } from './dev-center-get-started'
54
import { DevCenterHeader } from './dev-center-header'
65
import styles from './DevCenterLandingPage.module.scss'
@@ -9,7 +8,6 @@ const DevCenter: FC = () => (
98
<div className={styles.container}>
109
<DevCenterHeader />
1110
<DevCenterGetStarted />
12-
<DevCenterArticlesection />
1311
</div>
1412
)
1513

src/apps/dev-center/src/dev-center-pages/community-app/landing-page/dev-center-articles-section/ArticleCard/ArticleCard.module.scss

Lines changed: 0 additions & 91 deletions
This file was deleted.

src/apps/dev-center/src/dev-center-pages/community-app/landing-page/dev-center-articles-section/ArticleCard/ArticleCard.tsx

Lines changed: 0 additions & 169 deletions
This file was deleted.

src/apps/dev-center/src/dev-center-pages/community-app/landing-page/dev-center-articles-section/ArticleCard/index.tsx

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/apps/dev-center/src/dev-center-pages/community-app/landing-page/dev-center-articles-section/Articles.ts

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)