|
99 | 99 | "<!DOCTYPE html><html>" |
100 | 100 | "<head>" |
101 | 101 | "<meta charset=\"UTF-8\">" |
| 102 | + "<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" >" |
102 | 103 | "<link rel=\"shortcut icon\" type=\"image/x-icon\" href=\"cljs-logo-icon-32.png\"/>" |
103 | 104 | "</head>" |
104 | 105 | "<body>" |
105 | 106 | "<div id=\"app\">" |
106 | 107 | "<link href=\"https://fonts.googleapis.com/css?family=Open+Sans\" rel=\"stylesheet\">" |
107 | 108 | "<style>" |
108 | | - "body { color: white; font-family: \"Open Sans\", sans-serif; background-image: linear-gradient(to right, #0f2242, #2351a1); }" |
109 | | - "code, pre { color: #5cc70c; }" |
| 109 | + "body { padding: 28px; margin: auto; max-width: 42em; " |
| 110 | + "color: white; font-family: \"Open Sans\", sans-serif; background-image: linear-gradient(to right, #0f2242, #2351a1); }" |
| 111 | + "code, pre { color: #5cc70c; font-size: 17px; white-space: pre-wrap; }" |
110 | 112 | "</style>" |
| 113 | + "<center><img src=\"cljs-logo.svg\" style=\"width: 200px; height: 200px; margin: 15px;\"/></center>" |
111 | 114 | "<p>Welcome to the default <code>index.html</code> provided by the ClojureScript Browser REPL.</p>" |
112 | 115 | "<p>This page provides the evaluation environment for your Browser REPL and application.</p>" |
113 | | - "<p>You can quickly validate the connection by typing <code>(js/alert \"Hello CLJS!\")</code> into the " |
| 116 | + "<p>You can quickly validate the connection by typing <code>(js/alert \"Hello CLJS!\")</code> into the " |
114 | 117 | "ClojureScript REPL that launched this page.</p><p>You can easily use your own HTML file to host your application " |
115 | 118 | "and REPL by providing your own <code>index.html</code> in the directory that you launched this REPL from.</p>" |
116 | 119 | "<p>Start with this template:</p>" |
|
125 | 128 | " </body>\n" |
126 | 129 | "</html>\n" |
127 | 130 | "</pre>" |
128 | | - "<center><img src=\"cljs-logo.svg\" style=\"width: 350px; height: 350px;\"/></center>" |
129 | 131 | "</div></div>" |
130 | 132 | "<script src=\"" output-to "\"></script>" |
131 | 133 | "</body></html>")) |
|
0 commit comments