File tree 2 files changed +49
-19
lines changed 2 files changed +49
-19
lines changed Original file line number Diff line number Diff line change 54
54
}
55
55
.intro-note {
56
56
margin-top : 20px ;
57
+ display : flex ;
58
+ strong {
59
+ width : 50% ;
60
+ margin-right : 5% ;
61
+ font-size : 24px ;
62
+ line-height : 36px ;
63
+ }
64
+ .goto-section {
65
+ display : flex ;
66
+ flex-direction : row ;
67
+ width : 40% ;
68
+ p {
69
+ width : 20% ;
70
+ margin : 0 ;
71
+ color : #8C8C8C ;
72
+ font-weight : bold ;
73
+ }
74
+ .sections {
75
+ display : flex ;
76
+ width : 80% ;
77
+ flex-direction : column ;
78
+ a {
79
+ h3 {
80
+ margin : 0 0 14px 0 ;
81
+ border-left : 1px solid #B7B7B7 ;
82
+ font-weight : bold ;
83
+ padding-left : 15px ;
84
+ }
85
+ }
86
+ }
87
+ }
57
88
}
58
89
.inner-content {
59
90
max-width : 100% ;
60
91
}
92
+ .language-box {
93
+ border : 1px inset #979797 ;
94
+ .article_title {
95
+ text-align : left ;
96
+ font-size : 24px ;
97
+ }
98
+ }
61
99
}
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ export function buildLanguagesMenu(pageContext: any) {
23
23
const slug = toSlug ( languageName )
24
24
return (
25
25
< div className = "column" >
26
- < div className = "article" >
26
+ < div className = "article language-box " >
27
27
< a href = { `#${ slug } ` } >
28
28
< h3 className = "article_category" >
29
29
< img
@@ -133,37 +133,29 @@ export default ({ pageContext }: any) => {
133
133
to help you get started working which support GraphQL in all
134
134
sorts of languages.
135
135
</ strong > { " " }
136
- < div className = "container-bl1" >
137
- < div className = "column" >
138
- < a href = "#languages" >
139
- < h3 > Languages</ h3 >
140
- </ a >
141
- </ div >
142
- < div className = "column" >
136
+ < div className = "goto-section" >
137
+ < p > Go to</ p >
138
+ < div className = "sections" >
143
139
< a href = "#generic-tools" >
144
140
< h3 > Tools</ h3 >
145
141
</ a >
146
- </ div >
147
- < div className = "column" >
148
142
< a href = "#services" >
149
143
< h3 > Services</ h3 >
150
144
</ a >
151
- </ div >
152
- < div className = "column" >
153
145
< a href = "#more-stuff" >
154
146
< h3 > More Stuff</ h3 >
155
147
</ a >
156
148
</ div >
157
149
</ div >
158
- < Marked pageContext = { pageContext } > { `
159
- ## Languages
160
- ` } </ Marked >
161
- < p >
162
- This page will help you get started with GraphQL in languages
163
- you are already using.
164
- </ p >
165
150
</ div >
166
151
152
+ < Marked pageContext = { pageContext } > { `
153
+ ## Language Support
154
+ ` } </ Marked >
155
+ < p >
156
+ This page will help you get started with GraphQL in languages you
157
+ are already using.
158
+ </ p >
167
159
{ buildLanguagesMenu ( pageContext ) }
168
160
{ buildLanguagesContent ( pageContext ) }
169
161
< h2 >
You can’t perform that action at this time.
0 commit comments