Skip to content

Commit 2004581

Browse files
authored
Merge pull request #97 from medyo/refactor/typescript-cards
Refactor/typescript cards
2 parents bac31f5 + 89fa902 commit 2004581

131 files changed

Lines changed: 2412 additions & 2339 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@
6363
"last 1 safari version"
6464
]
6565
},
66+
"resolutions": {
67+
"react-error-overlay": "6.0.9"
68+
},
6669
"devDependencies": {
6770
"@types/chrome": "^0.0.198",
6871
"@types/jest": "^29.1.2",

src/App.js

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
import React, { useState, useEffect } from 'react'
2-
import './App.css'
3-
import { Footer } from 'src/components/Layout'
4-
import Header from 'src/components/Header'
2+
import 'src/assets/App.css'
3+
import { Footer, Header } from 'src/components/Layout'
54
import { BookmarksSidebar } from 'src/features/bookmarks'
6-
import { MarketingBanner } from 'src/components/Elements/MarketingBanner'
5+
import { MarketingBanner } from 'src/components/Elements'
76
import ScrollCardsNavigator from './components/ScrollCardsNavigator'
8-
import AppContentLayout from './components/AppContentLayout'
7+
import { AppContentLayout } from './components/Layout'
98
import 'react-contexify/dist/ReactContexify.css'
109
import { setupAnalytics, trackPageView, setupIdentification } from 'src/lib/analytics'
1110
import { useRemoteConfigStore } from 'src/features/remoteConfig'
@@ -14,9 +13,7 @@ function App() {
1413
const [showSideBar, setShowSideBar] = useState(false)
1514
const [showSettings, setShowSettings] = useState(false)
1615

17-
const {
18-
remoteConfig: { marketingBannerConfig },
19-
} = useRemoteConfigStore()
16+
const { marketingBannerConfig } = useRemoteConfigStore()
2017

2118
useEffect(() => {
2219
setupAnalytics()
File renamed without changes.
File renamed without changes.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
@font-face {
22
font-family: 'Nunito';
3-
src: url("assets/fonts/nunito/nunito-regular.woff2") format('woff2');
3+
src: url("fonts/nunito/nunito-regular.woff2") format('woff2');
44
}
55

66
@font-face {
77
font-family: 'Nunito';
88
font-weight: 600;
99
font-style: normal;
10-
src: url("assets/fonts/nunito/nunito-semibold.woff2") format('woff2');
10+
src: url("fonts/nunito/nunito-semibold.woff2") format('woff2');
1111
}
1212

1313
html.dark {

src/cards/ConferencesCard.js

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

src/cards/DevToCard.js

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

0 commit comments

Comments
 (0)