Make navbar fixed

This commit is contained in:
Sam Carlton 2020-09-19 20:54:48 -05:00
parent 2a59db41d3
commit 1b835bcdfe
2 changed files with 2 additions and 14 deletions

View file

@ -1,6 +1,6 @@
<template> <template>
<nav class="bg-gray-800"> <nav class="fixed top-0 left-0 right-0">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex justify-between h-16"> <div class="flex justify-between h-16">
<div class="flex"> <div class="flex">

View file

@ -1,5 +1,5 @@
<template> <template>
<section class="container"> <section class="container py-24">
<div class="flex flex-col items-center"> <div class="flex flex-col items-center">
<h1 class="title text-6xl font-hairline text-center"> <h1 class="title text-6xl font-hairline text-center">
Does it ARM? Does it ARM?
@ -9,18 +9,6 @@
</h2> </h2>
<Search /> <Search />
<div class="apps">
<div
v-for="app in appList"
:key="app.slug"
>
<a :href="`/app/${app.slug}`">
<div>
{{ app.name }}
</div>
</a>
</div>
</div>
</div> </div>
</section> </section>
</template> </template>