Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup navigation #2

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions content/index.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
regions:
ALP:
name: Alpine


18 changes: 18 additions & 0 deletions layouts/default.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<template>
<div class="p-4 min-h-screen h-screen max-h-screen flex flex-col">
<div class="flex flex-row gap-4 justify-around">
<NuxtLink :to="`/`">
<img src="~/static/eucp_logo.png" alt="EUCP Logo">
</NuxtLink>
<div class="flex items-center">
<NuxtLink :to="`/`">
<p class="text-sm text-gray-400">
Home
</p>
</NuxtLink>
<input class="w-32 h-8 focus:shadow-outline rounded text-sm px-2 pl-4" type="search" placeholder="Search...">
</div>
</div>
<Nuxt class="flex-grow" />
</div>
</template>
5 changes: 5 additions & 0 deletions nuxt.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
export default {
// Target: https://go.nuxtjs.dev/config-target
target: 'static',
ssr: false,
router: {
base: '/cpm-atlas',
},

// Global page headers: https://go.nuxtjs.dev/config-head
head: {
Expand Down Expand Up @@ -38,6 +42,7 @@ export default {

// Modules: https://go.nuxtjs.dev/config-modules
modules: [
'@nuxt/content'
],

// Build Configuration: https://go.nuxtjs.dev/config-build
Expand Down
Loading