File tree Expand file tree Collapse file tree 4 files changed +14
-6
lines changed Expand file tree Collapse file tree 4 files changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ function App() {
1919 < Router history = { history } >
2020 < Route component = { MainLayout } >
2121 < Route path = "/" component = { HomeContainer } />
22- < Route path = "/about" component = { CssModulesContainer } />
2322 < Route path = "/currency-converter" component = { CurrencyConverterContainer } />
23+ < Route path = "/css-modules" component = { CssModulesContainer } />
2424 </ Route >
2525 </ Router >
2626 </ Provider >
Original file line number Diff line number Diff line change @@ -30,7 +30,10 @@ export function CssModulesContainer() {
3030 < div className = { containerStyles . effect__hideOnMobile } >
3131 < div className = { [ containerStyles . darkBg , containerStyles . effect__elevate ] . join ( ' ' ) } >
3232 < p className = { containerStyles . glowingText } >
33- Shrink your window
33+ < br />
34+ Hover me!
35+ < br />
36+ < small className = "c-text--quiet" > (narrow your window)</ small >
3437 </ p >
3538 </ div >
3639 </ div >
Original file line number Diff line number Diff line change 11import * as React from 'react' ;
2+ import { Link } from 'react-router' ;
23import { PageSection } from '../../components/page-section' ;
34import { PageHero } from '../../components/page-hero' ;
45
@@ -11,15 +12,19 @@ export function HomeContainer() {
1112 Below you can find a few examples created using concepts of this starter-kit:
1213 </ p >
1314 < ul >
14- < li > < a href = "/#/currency-converter" > Currency Converter App</ a > - (work in progress)</ li >
15- < li > < a href = "/#/about" > CSS Modules </ a > </ li >
15+ < li >
16+ < Link to = "/currency-converter" > Currency Converter App</ Link > - (work in progress)
17+ </ li >
18+ < li >
19+ < Link to = "/css-modules" > CSS Modules</ Link >
20+ </ li >
1621 </ ul >
22+ < br />
1723 < div className = "c-alerts__alert c-alerts__alert--primary" >
1824 Note: Open Redux DevTools Inspector
1925 </ div >
2026 </ PageSection >
2127 < br />
22- < br />
2328 </ article >
2429 ) ;
2530} ;
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ export class MainLayout extends React.Component<{}, {}> {
1515 < LayoutTopNav >
1616 < LayoutTopNavLink href = "/" isPrimary > Home </ LayoutTopNavLink >
1717 < LayoutTopNavLink href = "/currency-converter" > Currency Converter </ LayoutTopNavLink >
18- < LayoutTopNavLink href = "/about " > CSS Modules </ LayoutTopNavLink >
18+ < LayoutTopNavLink href = "/css-modules " > CSS Modules </ LayoutTopNavLink >
1919 </ LayoutTopNav >
2020 </ LayoutHeader >
2121
You can’t perform that action at this time.
0 commit comments