Skip to content

Commit 1aa8a67

Browse files
committed
remove top header on mobile
1 parent d877798 commit 1aa8a67

File tree

2 files changed

+17
-18
lines changed

2 files changed

+17
-18
lines changed

reactjsfoundations.com/public/index.html

Lines changed: 15 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,12 @@
107107
.container {
108108
display: block;
109109
}
110+
#top-title {
111+
display: none;
112+
}
113+
.greenButton {
114+
display: none;
115+
}
110116
#column3 {
111117
display: none;
112118
}
@@ -390,10 +396,10 @@
390396
ReactJS Foundations Building User Interfaces with ReactJS: An Approachable
391397
Guide
392398
</title>
393-
<script
399+
<!-- <script
394400
async
395401
src="https://cse.google.com/cse.js?cx=ceb64708ba0602a7b"
396-
></script>
402+
></script> -->
397403
</head>
398404
<body>
399405
<header
@@ -404,7 +410,7 @@
404410
justify-content: space-between;
405411
"
406412
>
407-
<div>
413+
<div id="top-title">
408414
<a
409415
href="/"
410416
style="
@@ -414,16 +420,18 @@
414420
color: #fff;
415421
margin-top: 10px;
416422
margin-left: 30px;
423+
margin-bottom: 10px;
417424
"
418425
>
419426
ReactJS Foundations
420427
</a>
421428
</div>
422-
<div style="background-color: #000; flex-grow: 1; max-width: 66%">
429+
<!-- <div style="background-color: #000; flex-grow: 1; max-width: 66%">
423430
<div class="gcse-search"></div>
424-
</div>
425-
<div style="padding: 14px 12px 0px 0px">
431+
</div> -->
432+
<div style="padding: 14px 12px 0px 0px; margin-bottom: 10px">
426433
<button
434+
class="greenButton"
427435
style="
428436
height: 30px;
429437
padding: 4px 20px;
@@ -439,21 +447,10 @@
439447
<a
440448
style="color: #fff"
441449
href="https://github.com/chrisminnick/react-js-foundations"
442-
>Download</a
450+
>Download Code</a
443451
>
444452
</button>
445453
</div>
446-
<!-- <div style="padding:14px 12px 0px 0px;">
447-
<button style="height:30px;
448-
padding: 4px 20px;
449-
width: auto;
450-
vertical-align: middle;
451-
border: 1px solid #666;
452-
border-radius: 2px;
453-
border-color: #1b1f2426;
454-
background-color: #2da44e;"
455-
><a style="color:#fff" href="/wheretobuy">Get the book</a></button>
456-
</div> -->
457454
</header>
458455

459456
<noscript>You need to enable JavaScript to run this app.</noscript>

reactjsfoundations.com/src/App.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ function App(props) {
6464
<img
6565
alt="ReactJS Foundations"
6666
border="0"
67+
width="200"
68+
height="250"
6769
src="//ws-na.amazon-adsystem.com/widgets/q?_encoding=UTF8&ASIN=1119685540&Format=_SL250_&ID=AsinImage&MarketPlace=US&ServiceVersion=20070822&WS=1&tag=chrismincom-20&language=en_US"
6870
/>
6971
</a>

0 commit comments

Comments
 (0)