File tree Expand file tree Collapse file tree 2 files changed +47
-1
lines changed Expand file tree Collapse file tree 2 files changed +47
-1
lines changed Original file line number Diff line number Diff line change 22
33class HelloWorldApp < Sinatra ::Base
44 get '/' do
5- "Hello, world!"
5+ erb :home
66 end
77end
Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html lang ="en ">
3+ < head >
4+ < meta charset ="UTF-8 ">
5+ < title > It works!</ title >
6+ < link rel ="stylesheet " href ="https://fonts.googleapis.com/css?family=Open+Sans:300,700 ">
7+ < style >
8+ body {
9+ background : # 0e141a ;
10+ font-family : 'Open Sans' , sans-serif;
11+ }
12+ .container {
13+ position : absolute;
14+ top : 50% ;
15+ left : 50% ;
16+ transform : translate (-50% , -50% );
17+ text-align : center;
18+ }
19+ h1 {
20+ font-size : 72px ;
21+ font-weight : 700 ;
22+ color : # 00d46a ;
23+ margin : 0 ;
24+ }
25+ h2 {
26+ font-weight : 300 ;
27+ color : rgba (255 , 255 , 255 , 0.9 );
28+ margin : 0 ;
29+ }
30+ .logo {
31+ position : absolute;
32+ bottom : 20px ;
33+ left : 50% ;
34+ transform : translate (-50% , -50% );
35+ }
36+ </ style >
37+ </ head >
38+ < body >
39+ < div class ="container ">
40+ < h1 > It works!</ h1 >
41+ < h2 > Now you're ready to roll.</ h2 >
42+ </ div >
43+
44+ < img class ="logo " src ="https://cloud.githubusercontent.com/assets/398893/16279177/af9b3622-386e-11e6-920e-3a3f33169831.png " width ="150 " alt ="WeDeploy ">
45+ </ body >
46+ </ html >
You can’t perform that action at this time.
0 commit comments