Skip to content

Commit 4a70fbf

Browse files
committed
fix: header/footer fixed-ness, colors, and structure
1 parent 17c1795 commit 4a70fbf

File tree

1 file changed

+26
-18
lines changed

1 file changed

+26
-18
lines changed

src/layouts/Layout.astro

+26-18
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ interface Props {
2121
<script src="/js/toastui-calendar.min.js" is:inline></script>
2222
<script src="/js/main.js" is:inline></script>
2323
</head>
24-
<body>
24+
<body class="has-navbar-fixed-top has-navbar-fixed-bottom">
2525
<div id="wrap">
2626
<header>
27-
<nav class="navbar navbar-inverse navbar-fixed-top has-text-white has-background-black" role="navigation">
27+
<nav class="navbar is-fixed-top is-dark" role="navigation">
2828
<div class="navbar-brand">
2929
<a class="navbar-item" href="/">
3030
<svg
@@ -90,25 +90,33 @@ interface Props {
9090
<div id="push">
9191
</div>
9292
</div>
93-
<footer class="footer has-text-white has-background-black">
94-
<div class="has-text-centered">
95-
<div class="columns">
96-
<div class="column is-3"><h3>Lyon Tech Hub</h3></div>
97-
<div class="column is-3">
98-
<h3>
99-
<small><a href="/about">Rejoignez-nous</a></small>
100-
</h3>
93+
<footer>
94+
<nav class="navbar is-fixed-bottom is-dark" role="navigation">
95+
<div class="navbar-menu">
96+
<div class="navbar-start">
97+
<a class="navbar-item" href="/">Lyon Tech Hub</a>
98+
<a class="navbar-item" href="/about">Rejoignez-nous</a>
10199
</div>
102-
<div class="column is-6">
103-
<a href="https://slack.lyontechhub.org/" class="fab fa-slack fa-3x" title="Salle Slack"></a>
104-
<a href="mailto:[email protected]" class="fa fa-envelope fa-3x" title="Mail de contact"></a>
105-
<a href="https://groups.google.com/forum/#!forum/lyontechhub" class="fa fa-comments fa-3x"
106-
title="Liste de discussion"></a>
107-
<a href="https://x.com/lyontechhub" class="fab fa-twitter fa-3x" title="X"></a>
108-
<a href="https://github.com/lyontechhub" class="fab fa-github fa-3x" title="GitHub"></a>
100+
<div class="navbar-end">
101+
<a class="navbar-item" href="https://slack.lyontechhub.org/" title="Salle Slack">
102+
<span class="icon"><i class="fab fa-slack fa-2x"></i></span>
103+
</a>
104+
<a class="navbar-item" href="mailto:[email protected]" title="Mail de contact">
105+
<span class="icon"><i class="fa fa-envelope fa-2x"></i></span>
106+
</a>
107+
<a class="navbar-item" href="https://groups.google.com/forum/#!forum/lyontechhub" title="Liste de discussion">
108+
<span class="icon"><i class="fa fa-comments fa-2x"></i></span>
109+
</a>
110+
<a class="navbar-item" href="https://x.com/lyontechhub" title="X">
111+
<span class="icon"><i class="fab fa-twitter fa-2x"></i></span>
112+
</a>
113+
<a class="navbar-item" href="https://github.com/lyontechhub" title="GitHub">
114+
<span class="icon"><i class="fab fa-github fa-2x"></i></span>
115+
</a>
109116
</div>
110117
</div>
111-
</div>
118+
</div>
119+
</nav>
112120
</footer>
113121
</body>
114122
</html>

0 commit comments

Comments
 (0)