fjord/memoapp/views/layout.erb

22 lines
420 B
Text

<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<title>メモアプリ</title>
<link rel="stylesheet" href="/styles.css">
</head>
<body>
<div class="container">
<header>
<h1>メモアプリ</h1>
</header>
<nav>
<a href="/memos">メモ一覧</a>
<a href="/memos/new">新規メモ作成</a>
</nav>
<main>
<%= yield %>
</main>
</div>
</body>
</html>