File tree Expand file tree Collapse file tree 4 files changed +27
-11
lines changed
packages/gatsby-theme/src Expand file tree Collapse file tree 4 files changed +27
-11
lines changed Original file line number Diff line number Diff line change @@ -22,14 +22,7 @@ const TutorialListing: React.FunctionComponent<TutorialListingProps> = ({
22
22
tutorial,
23
23
} ) => {
24
24
return (
25
- < Card
26
- width = { [ 1 ] }
27
- p = { 4 }
28
- my = { 4 }
29
- borderRadius = { 8 }
30
- boxShadow = "small"
31
- key = { tutorial . id }
32
- >
25
+ < Card width = { [ 1 ] } p = { 4 } my = { 4 } borderRadius = { 8 } boxShadow = "small" >
33
26
< Link to = { getTutorialOverviewSlug ( tutorial . fileAbsolutePath ) } >
34
27
< Heading > { tutorial . frontmatter . tutorialTitle } </ Heading >
35
28
</ Link >
Original file line number Diff line number Diff line change @@ -51,8 +51,8 @@ const Nav = withTheme(
51
51
</ Container >
52
52
< Container justifyContent = "center" >
53
53
< NavLink to = "/fundamentals" > Fundamentals</ NavLink >
54
- < NavLink to = "/guides" > Guides </ NavLink >
55
- < NavLink to = "/community" > Community</ NavLink >
54
+ < NavLink to = "/courses" > FullStack Course </ NavLink >
55
+ < NavLink to = "/community" > Community Tutorials </ NavLink >
56
56
< NavLink to = "/components" > Components</ NavLink >
57
57
</ Container >
58
58
< Container justifyContent = "flex-end" >
Original file line number Diff line number Diff line change @@ -12,7 +12,11 @@ const Community = data => {
12
12
< Content >
13
13
< Heading > Community Tutorials </ Heading >
14
14
{ tutorials . map ( tutorial => {
15
- return < TutorialListing tutorial = { tutorial . node } /> ;
15
+ return (
16
+ < div key = { tutorial . node . id } >
17
+ < TutorialListing tutorial = { tutorial . node } />
18
+ </ div >
19
+ ) ;
16
20
} ) }
17
21
</ Content >
18
22
</ Layout >
Original file line number Diff line number Diff line change
1
+ import * as React from 'react' ;
2
+ import Layout from '../components/layout' ;
3
+ import { Content } from '../components/shared/styledHelpers' ;
4
+ import { Heading , Text } from '../components/shared/base' ;
5
+
6
+ const courses = ( ) => {
7
+ return (
8
+ < Layout >
9
+ < Content >
10
+ < Heading > Fullstack Course </ Heading >
11
+ < Text > A general introduction to GraphQL for frontend and backend developers.</ Text >
12
+ < Text > Read this tutorial to learn about GraphQL's basic concepts and prepare
13
+ yourself for a hands-on beginner tutorial.</ Text >
14
+ </ Content >
15
+ </ Layout >
16
+ ) ;
17
+ } ;
18
+
19
+ export default courses ;
You can’t perform that action at this time.
0 commit comments