Browse Source

Réécriture de liens

2020
Norore 3 years ago
parent
commit
e49ff8afb8
  1. 8
      source/_navigation.erb
  2. 46
      source/layouts/layout.erb

8
source/_navigation.erb

@ -1,7 +1,7 @@
<nav class="txtright navigation" role="navigation">
<input type="checkbox" id="button" class="menu">
<label for="button" class="menu" onclick></label>
<a class="plm" href="#festival">Le festival</a>
<a class="plm" href="#infos">Infos pratiques</a>
<a class="plm" href="#association">L’association</a>
<label for="button" class="menu" onclick></label>
<%= link_to "Le festival", "#festival", class: "plm", title: "Cliquer ici pour aller à la section sur le festival", accesskey: "f" %>
<%= link_to "Infos pratiques", "#infos", class: "plm", title: "Cliquer ici pour aller à la section sur les informations pratiques", accesskey: "i" %>
<%= link_to "L’association", "#festival", class: "plm", title: "Cliquer ici pour aller à la section sur l’association", accesskey: "a" %>
</nav>

46
source/layouts/layout.erb

@ -1,26 +1,26 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title><%= current_page.data.title || "Festival Pas Sage en Seine 2020" %></title>
<%= stylesheet_link_tag "site" %>
<%= javascript_include_tag "site" %>
</head>
<body>
<header>
<div class="w80 center autogrid">
<div class="brand">
<a class="" href="/">PSES</a>
</div>
<%= partial "navigation" %>
</div>
</header>
<%= yield %>
<html lang="fr">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title><%= current_page.data.title || "Festival Pas Sage en Seine 2020" %></title>
<%= stylesheet_link_tag "site" %>
<%= javascript_include_tag "site" %>
</head>
<body>
<header>
<div class="w80 center autogrid">
<div class="brand">
<%= link_to 'PSES', '/', title: 'Accueil du site' %>
</div>
<%= partial "navigation" %>
</div>
</header>
<%= yield %>
<div id="modal-background">
<span class="close">[X]</span>
</div>
</body>
<div id="modal-background">
<span class="close">[X]</span>
</div>
</body>
</html>
Loading…
Cancel
Save