diff options
author | Joris Guyonvarch | 2015-02-18 00:16:31 +0100 |
---|---|---|
committer | Joris Guyonvarch | 2015-02-18 00:16:31 +0100 |
commit | 45ca698ea09deb76c1dba13995fd22504900ae68 (patch) | |
tree | 15007ab878ec23b423790fe4321e4d9212a7021b | |
parent | ed1c7969bdaa0adac6f780894ced142fdfc470ba (diff) |
Putting back contact to static page
-rw-r--r-- | Pages/contact.html | 3 | ||||
-rw-r--r-- | index.html | 4 | ||||
-rw-r--r-- | router.js | 7 | ||||
-rw-r--r-- | style.css | 4 |
4 files changed, 8 insertions, 10 deletions
diff --git a/Pages/contact.html b/Pages/contact.html deleted file mode 100644 index ab7fb04..0000000 --- a/Pages/contact.html +++ /dev/null @@ -1,3 +0,0 @@ -<div class="contact"> - Contact : Auriane Besnard -</div> @@ -81,5 +81,9 @@ <div id="content"></div> + <div class="contact"> + Contact : Auriane Besnard + </div> + </body> </html> @@ -24,12 +24,9 @@ function router() { var url = location.hash.slice(2) || 'presentation'; - var contentElement = document.getElementById('content'); fetchFile('Pages/' + url + '.md', function(contentMd) { - fetchFile('Pages/contact.html', function(contactHtml) { - var contentHtml = markdown.toHTML(contentMd); - contentElement.innerHTML = contentHtml + contactHtml; - }); + var contentElement = document.getElementById('content'); + contentElement.innerHTML = markdown.toHTML(contentMd); }); } @@ -25,7 +25,8 @@ body { #content { margin-top: 120px; background-color: white; - border-radius: 5px; + border-top-left-radius: 10px; + border-top-right-radius: 10px; padding: 50px 80px 30px; } @@ -92,7 +93,6 @@ strong { .contact { background-color: #EEEEEE; - border-radius: 5px; padding: 30px; text-align: center; color: #555555; |