File tree Expand file tree Collapse file tree 3 files changed +47
-5
lines changed Expand file tree Collapse file tree 3 files changed +47
-5
lines changed Original file line number Diff line number Diff line change 2828 </ head >
2929 < body >
3030 < noscript > You need to enable JavaScript to run this app.</ noscript >
31- < div id ="root "> </ div >
31+ < div class =" d-flex flex-column min-vh-100 " id ="root "> </ div >
3232 <!--
3333 This HTML file is a template.
3434 If you open it directly in the browser, you will see an empty page.
Original file line number Diff line number Diff line change 77 * Copyright © 2022 by Shen, Jen-Chieh $
88 */
99import React from 'react' ;
10+ import { Container , Button } from 'react-bootstrap' ;
11+
12+ import banner from '../etc/sink_white.png' ;
13+
14+ import { FiDownload } from 'react-icons/fi' ;
15+ import { GrInstall } from 'react-icons/gr' ;
1016
1117class Ebanner extends React . Component {
1218 state = { } ;
1319 render ( ) {
14- return ( < > </ > ) ;
20+ return (
21+ < >
22+ < div className = "text-center" >
23+ < div >
24+ < img src = { banner } />
25+ </ div >
26+ < br />
27+ < div className = "text-info h5" >
28+ [J C S • E M A C S]
29+ </ div >
30+ < div className = "text-white-50 h6 p-1" >
31+ Emacs configuration works across all OSs
32+ </ div >
33+ < br /> < br />
34+ < Button variant = "light" className = "rounded-pill border-2 border-success btn-lg"
35+ href = "https://github.com/jcs-emacs/jcs-emacs/archive/refs/heads/master.zip" >
36+ < FiDownload /> Download
37+ </ Button > { ' ' }
38+ < Button variant = "dark" className = "rounded-pill border-2 border-primary btn-lg"
39+ href = "#collapseExample"
40+ type = "button"
41+ data-toggle = "collapse"
42+ role = "button" aria-expanded = "false" aria-controls = "collapseExample" >
43+ < GrInstall /> Install
44+ </ Button >
45+ < br /> < br />
46+ </ div >
47+ </ > ) ;
1548 }
1649}
1750
Original file line number Diff line number Diff line change @@ -14,9 +14,18 @@ class EFooter extends React.Component {
1414 render ( ) {
1515 return (
1616 < >
17- < Container variant = "mt-auto" >
18- Copyright © 2022
19- </ Container >
17+ < footer className = "mt-auto text-center text-white p-4" >
18+ Copyright © 2022{ ' ' }
19+ < a className = "text-reset fw-bold" href = "https://jcs-emacs.github.io/" >
20+ jcs-emacs.github.io
21+ </ a >
22+ < br />
23+ This website is licensed under the{ ' ' }
24+ < a href = "https://creativecommons.org/licenses/by-nd/4.0/" >
25+ CC BY-ND 4.0
26+ </ a >
27+ International License.
28+ </ footer >
2029 </ > ) ;
2130 }
2231}
You can’t perform that action at this time.
0 commit comments