diff options
| author | Alee <Alee14498@gmail.com> | 2019-04-05 20:19:05 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-04-05 20:19:05 -0400 |
| commit | a833557bb2cc0c85d35dfa458fa5cbb5af41a95b (patch) | |
| tree | f1b1448baddf6ba5f8ef50bce9609a65854aa138 /_includes | |
| parent | 0bfdc245ee2bb782ff3a83858c64f3058dba5b8d (diff) | |
| parent | b9c3946dab30a097cd5390e019e42a8a99116587 (diff) | |
| download | silicon-linux-a833557bb2cc0c85d35dfa458fa5cbb5af41a95b.tar.gz silicon-linux-a833557bb2cc0c85d35dfa458fa5cbb5af41a95b.tar.bz2 silicon-linux-a833557bb2cc0c85d35dfa458fa5cbb5af41a95b.zip | |
Rewrite
Diffstat (limited to '_includes')
| -rw-r--r-- | _includes/footer.html | 6 | ||||
| -rw-r--r-- | _includes/footing.html | 4 | ||||
| -rw-r--r-- | _includes/heading.html | 11 | ||||
| -rw-r--r-- | _includes/navigator.html | 34 |
4 files changed, 24 insertions, 31 deletions
diff --git a/_includes/footer.html b/_includes/footer.html index 304428f..47e5456 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -1,3 +1,3 @@ -<div class="footer"> - <p>© Copyright 2019, Silicon Linux Development Group. <a href="https://github.com/silicon-linux/silicon-linux.github.io/issues">Report a bug.</a></p> -</div> +<div class="footer w-100 d-flex flex-column justify-content-center"> + <p class="text-center">© Copyright 2018-2019, Silicon Linux Development Group. <a href="https://github.com/silicon-linux/silicon-linux.github.io/issues" class="text-white">Report a bug.</a></p> + </div>
\ No newline at end of file diff --git a/_includes/footing.html b/_includes/footing.html new file mode 100644 index 0000000..203ff94 --- /dev/null +++ b/_includes/footing.html @@ -0,0 +1,4 @@ + <!-- Bootstrap JS --> + <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"></script> + <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script> + <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script>
\ No newline at end of file diff --git a/_includes/heading.html b/_includes/heading.html index 08ac248..276c270 100644 --- a/_includes/heading.html +++ b/_includes/heading.html @@ -1,8 +1,5 @@ -<link href="/style.css" type="text/css" rel="stylesheet"> -<script src="/jquery-3.3.1.min.js"></script> -<script src="/scripts.js"></script> -<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet"> -<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <meta charset="utf-8"> -<meta name="viewport" content="width=device-width"> -<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico"> +<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> +<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"> +<link rel="stylesheet" href="./assets/css/index.css"> +<link rel="shortcut icon" type="image/x-icon" href="./assets/images/favicon.ico">
\ No newline at end of file diff --git a/_includes/navigator.html b/_includes/navigator.html index 5995560..f35f5b1 100644 --- a/_includes/navigator.html +++ b/_includes/navigator.html @@ -1,21 +1,13 @@ -<div id="navigation"> - <ul class="navbar"> - <li class="nav logo">Silicon Linux</li> - <li class="nav" {% if page.url == "/" %}style="background-color: #1f8e42;"{% endif %}><a class="nav" href="/">HOME</a></li> - <li class="nav" {% if page.url == "/download.html" %}style="background-color: #1f8e42;"{% endif %}><a class="nav"href="/download.html">DOWNLOAD</a></li> - <li class="nav" {% if page.url == "/blog.html" %}style="background-color: #1f8e42;"{% endif %}><a class="nav" href="/blog.html">BLOG</a></li> - <li class="nav" {% if page.url == "/faq.html" %}style="background-color: #1f8e42;"{% endif %}><a class="nav" href="/faq.html">FAQ</a></li> - <li class="nav" {% if page.url == "/about.html" %}style="background-color: #1f8e42;"{% endif %}><a class="nav" href="/about.html">ABOUT</a></li> - </ul> -</div> - -<script> - function myFunction() { - var x = document.getElementById("navigation"); - if (x.className === "nav") { - x.className += " responsive"; - } else { - x.className = "nav"; - } - } -</script>
\ No newline at end of file +<nav class="navbar navbar-expand-lg navbar-dark bg-dark"> + <a class="navbar-brand d-flex align-items-center" href="#"><img src="assets/images/silicon-linux-translogo.png" width="32px;" height="32px;" class="mr-2">Silicon Linux</a> + <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavAltMarkup" aria-controls="navbarNavAltMarkup" aria-expanded="false" aria-label="Toggle navigation"> + <span class="navbar-toggler-icon"></span> + </button> + <div class="collapse navbar-collapse" id="navbarNavAltMarkup"> + <div class="navbar-nav"> + <a class="nav-item nav-link" {% if page.url == "/" %}style="color: #ffffff;"{% endif %} href="/">Home</a> + <a class="nav-item nav-link" {% if page.url == "/faq.html" %}style="color: #ffffff;"{% endif %} href="/faq">FAQ</a> + <a class="nav-item nav-link" {% if page.url == "/about.html" %}style="color: #ffffff;"{% endif %} href="/about">About</a> + </div> + </div> +</nav>
\ No newline at end of file |
