File tree 6 files changed +8
-8
lines changed
6 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import styled from 'styled-components'
3
3
import Bruce from '../images/banner.svg'
4
4
import withSimpleErrorBoundary from '../util/withSimpleErrorBoundary'
5
5
6
- const BannerWrapper = styled . div `
6
+ const BannerWrapper = styled . header `
7
7
height: 30rem;
8
8
max-height: 50vh;
9
9
display: flex;
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import styled from 'styled-components'
3
3
import { SIDEBAR_WIDTH } from './Sidebar'
4
4
import withSimpleErrorBoundary from '../util/withSimpleErrorBoundary'
5
5
6
- const ContentAreaContainer = styled . div `
6
+ const ContentAreaContainer = styled . main `
7
7
@media only screen and (min-width: 1200px) {
8
8
margin-left: ${ SIDEBAR_WIDTH } ;
9
9
}
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ const LogoContainer = styled.div`
59
59
align-items: center;
60
60
`
61
61
62
- const TreeViewContainer = styled . div `
62
+ const TreeViewContainer = styled . nav `
63
63
flex: 1;
64
64
`
65
65
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ import withSimpleErrorBoundary from '../util/withSimpleErrorBoundary'
17
17
18
18
const accentColor = '#FAAA38'
19
19
20
- const Wrapper = styled . div `
20
+ const ProgrammingExerciseWrapper = styled . section `
21
21
padding 1rem;
22
22
margin-bottom: 2rem;
23
23
border-left: 0.2rem solid ${ accentColor } ;
@@ -174,7 +174,7 @@ class ProgrammingExercise extends React.Component {
174
174
}
175
175
176
176
return (
177
- < Wrapper >
177
+ < ProgrammingExerciseWrapper >
178
178
< Header >
179
179
< StyledIcon icon = { icon } size = "1x" />
180
180
< HeaderMuted > Tehtävä: </ HeaderMuted >
@@ -297,7 +297,7 @@ class ProgrammingExercise extends React.Component {
297
297
</ div >
298
298
) }
299
299
</ Body >
300
- </ Wrapper >
300
+ </ ProgrammingExerciseWrapper >
301
301
)
302
302
}
303
303
}
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
5
5
import { faInfoCircle , faUserGraduate } from '@fortawesome/free-solid-svg-icons'
6
6
import withSimpleErrorBoundary from '../util/withSimpleErrorBoundary'
7
7
8
- const Wrapper = styled . div `
8
+ const Wrapper = styled . aside `
9
9
padding 1rem;
10
10
margin-bottom: 2rem;
11
11
border-left: 0.2rem solid var(--color);
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ const StyledIcon = styled(FontAwesomeIcon)`
28
28
font-size: 1em;
29
29
`
30
30
31
- const ContentWrapper = styled . div ``
31
+ const ContentWrapper = styled . article ``
32
32
33
33
const UpLink = styled ( Link ) `
34
34
color: #332c2cb3 !important;
You can’t perform that action at this time.
0 commit comments