Initial layout, index-page and logo images.

This commit is contained in:
codevictory
2021-03-29 21:48:15 +03:00
parent cd46df9c57
commit bed6bd36cf
8 changed files with 147 additions and 150 deletions

View File

@@ -6,28 +6,40 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Runosaari · Phoenix Framework</title>
<link rel="stylesheet" href="<%= Routes.static_path(@conn, "/css/app.css") %>"/>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css?family=Crimson+Text"
/>
<script defer type="text/javascript" src="<%= Routes.static_path(@conn, "/js/app.js") %>"></script>
</head>
<body>
<header>
<section class="container">
<nav role="navigation">
<ul>
<li><a href="https://hexdocs.pm/phoenix/overview.html">Get Started</a></li>
<%= if function_exported?(Routes, :live_dashboard_path, 2) do %>
<li><%= link "LiveDashboard", to: Routes.live_dashboard_path(@conn, :home) %></li>
<% end %>
</ul>
<nav class="nav" role="navigation">
<a href="/">Etusivu</a>
<a href="calendar.html">Kalenteri</a>
<a href="performers.html">Esiintyjät</a>
<a href="contact.html">Yhteystiedot</a>
</nav>
<a href="https://phoenixframework.org/" class="phx-logo">
<img src="<%= Routes.static_path(@conn, "/images/phoenix.png") %>" alt="Phoenix Framework Logo"/>
</a>
</section>
</header>
<main role="main" class="container">
<main role="main">
<p class="alert alert-info" role="alert"><%= get_flash(@conn, :info) %></p>
<p class="alert alert-danger" role="alert"><%= get_flash(@conn, :error) %></p>
<%= @inner_content %>
</main>
<footer>
<div class="container">
<div class="left">
Livonsaari <br />
Naantali <br />
20. - 21.7.2021
</div>
<div class="middle"><img src="<%= Routes.static_path(@conn, "/images/small-logo.png") %>" alt="Pieni logo" /></div>
<div class="right">
Sdfas Asdinen <br />
Esiintyjä Aasfdas <br />
Asdf Esiintyjä
</div>
</div>
</footer>
</body>
</html>