Worked on layout, added model funktions, changed database
Changes to the migration file make it necessary to reimport the database: db:drop, db:create, db:migrate, db:seed
This commit is contained in:
@@ -10,16 +10,28 @@
|
||||
<%= javascript_importmap_tags %>
|
||||
</head>
|
||||
<body>
|
||||
<header class="container mx-auto px-4 py-6 flex items-center justify-between">
|
||||
<a href="/" class="font-bold text-black text-xl">Plottservice</a>
|
||||
<header class="container mx-auto px-4 py-6 flex items-center justify-between border-b-2">
|
||||
<a href="/" class="font-bold text-black text-4xl">Plottservice Fachbereich AB</a>
|
||||
<nav>
|
||||
<ul class="flex items-color justify-center font-semibold">
|
||||
<li class="relative">
|
||||
<button class="px-4 py-2 hover:text-hsrm-red cursor-default">
|
||||
Products
|
||||
</button>
|
||||
</li>
|
||||
<li class="relative">
|
||||
<button class="px-4 py-2 hover:text-hsrm-red cursor-default">
|
||||
Products
|
||||
</button>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
<nav>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="#" class="rounded-full px-3 py-2 font-semibold bg-white bg-opacity-10 flex items-center group">
|
||||
<span class="mr-2">Sign in</span>
|
||||
<svg class="stroke-current" width="10" height="10" viewBox="0 0 10 10" aria-hidden="true" style="stroke: rgb(194, 62, 110);">
|
||||
<a href="#" class="px-3 py-2 font-semibold bg-hsrm-red hover:bg-hsrm-red-light drop-shadow-lg transition-colors duration-100 bg-opacity-100 flex items-center group text-white">
|
||||
<span class="mr-2">Anmelden</span>
|
||||
<svg class="stroke-current" width="10" height="10" viewBox="0 0 10 10" aria-hidden="true" style="stroke: rgb(255, 255, 255);">
|
||||
<g fill-rule="evenodd">
|
||||
<path class="opacity-0 group-hover:opacity-100 transition ease-in-out duration-200" d="M0 5h7"></path>
|
||||
<path class="HoverArrow__tipPath" d="M1 1l4 4-4 4"></path>
|
||||
@@ -30,10 +42,11 @@
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
<main class="container mx-auto mt-28 px-5 flex">
|
||||
<main class="container mx-auto mt-8 px-5 flex">
|
||||
<%= yield %>
|
||||
</main>
|
||||
<footer>
|
||||
<p></p>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user