Skip to content

Commit

Permalink
tweaking header
Browse files Browse the repository at this point in the history
  • Loading branch information
lathoub committed Sep 9, 2024
1 parent 519c6b5 commit 1e1b33e
Show file tree
Hide file tree
Showing 10 changed files with 22 additions and 13 deletions.
12 changes: 11 additions & 1 deletion src/views/collection.pug
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
extends layout.pug

block append scripts
link(rel='stylesheet' href='https://unpkg.com/[email protected]/dist/leaflet.css')
script(src='https://unpkg.com/[email protected]/dist/leaflet.js')

block header

svg.d-none(xmlns='http://www.w3.org/2000/svg')
Expand All @@ -14,7 +18,7 @@ block header
nav.navbar.navbar-light.bg-light.navbar-expand-sm
.container
#navbar.navbar-collapse.collapse.d-flex.justify-content-between.align-items-center
ol.breadcrumb.breadcrumb-chevron.p-0.bg-light
ol.breadcrumb.breadcrumb-chevron.p-3.bg-light
li.breadcrumb-item
a.link-body-emphasis(href=serviceUrl)
svg.bi(width='16' height='16')
Expand Down Expand Up @@ -49,3 +53,9 @@ block content
div
a(title='Browse Items' href=linkItems)
| Browse through the items of "#{content.title}"

h2.text-body-emphasis Spatial Extent
#map(style='width: 100%; height: 400px; position: relative;')
script.
const map = L.map("map").setView([52.300, 4.867], 11);
L.tileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {attribution: '&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'}).addTo(map);
3 changes: 1 addition & 2 deletions src/views/collections.pug
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ block header
nav.navbar.navbar-light.bg-light.navbar-expand-sm
.container
#navbar.navbar-collapse.collapse.d-flex.justify-content-between.align-items-center
ol.breadcrumb.breadcrumb-chevron.p-0.bg-light
ol.breadcrumb.breadcrumb-chevron.p-3.bg-light
li.breadcrumb-item
a.link-body-emphasis(href=serviceUrl)
svg.bi(width='16' height='16')
Expand Down Expand Up @@ -52,4 +52,3 @@ block content
script.
const map = L.map("map").setView([52.300, 4.867], 11);
L.tileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {attribution: '&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'}).addTo(map);

4 changes: 2 additions & 2 deletions src/views/feature.pug
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ block header
nav.navbar.navbar-light.bg-light.navbar-expand-sm
.container
#navbar.navbar-collapse.collapse.d-flex.justify-content-between.align-items-center
ol.breadcrumb.breadcrumb-chevron.p-0.bg-light
ol.breadcrumb.breadcrumb-chevron.p-3.bg-light
li.breadcrumb-item
a.link-body-emphasis(href=serviceUrl)
svg.bi(width='16' height='16')
Expand Down Expand Up @@ -49,7 +49,7 @@ block content
| (#{link.type})

h2 Features
#map(style='width: 600px; height: 400px; position: relative;')
#map(style='width: 100%; height: 400px; position: relative;')
script.
var map = L.map("map").setView([52.300, 4.867], 12);
L.tileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {attribution: '&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'}).addTo(map);
Expand Down
4 changes: 2 additions & 2 deletions src/views/items.pug
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ block header
nav.navbar.navbar-light.bg-light.navbar-expand-sm
.container
#navbar.navbar-collapse.collapse.d-flex.justify-content-between.align-items-center
ol.breadcrumb.breadcrumb-chevron.p-0.bg-light
ol.breadcrumb.breadcrumb-chevron.p-3.bg-light
li.breadcrumb-item
a.link-body-emphasis(href=serviceUrl)
svg.bi(width='16' height='16')
Expand All @@ -44,7 +44,7 @@ block content
a(href= link.href) #{link.title}
| (#{link.type})
h2 Features
#map(style='width: 600px; height: 400px; position: relative;')
#map(style='width: 100%; height: 400px; position: relative;')
script.
var map = L.map("map").setView([52.300, 4.867], 12);
L.tileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {attribution: '&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'}).addTo(map);
Expand Down
2 changes: 1 addition & 1 deletion src/views/job.pug
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ block header
nav.navbar.navbar-light.bg-light.navbar-expand-sm
.container
#navbar.navbar-collapse.collapse.d-flex.justify-content-between.align-items-center
ol.breadcrumb.breadcrumb-chevron.p-0.bg-light
ol.breadcrumb.breadcrumb-chevron.p-3.bg-light
li.breadcrumb-item
a.link-body-emphasis(href=serviceUrl)
svg.bi(width='16' height='16')
Expand Down
2 changes: 1 addition & 1 deletion src/views/jobs.pug
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ block header
nav.navbar.navbar-light.bg-light.navbar-expand-sm
.container
#navbar.navbar-collapse.collapse.d-flex.justify-content-between.align-items-center
ol.breadcrumb.breadcrumb-chevron.p-0.bg-light
ol.breadcrumb.breadcrumb-chevron.p-3.bg-light
li.breadcrumb-item
a.link-body-emphasis(href=serviceUrl)
svg.bi(width='16' height='16')
Expand Down
2 changes: 1 addition & 1 deletion src/views/landingPage.pug
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ block header
nav.navbar.navbar-light.bg-light.navbar-expand-sm
.container
#navbar.navbar-collapse.collapse.d-flex.justify-content-between.align-items-center
ol.breadcrumb.breadcrumb-chevron.p-0.bg-light
ol.breadcrumb.breadcrumb-chevron.p-3.bg-light
li.breadcrumb-item.active
a.link-body-emphasis(href=serviceUrl)
svg.bi(width='16' height='16')
Expand Down
2 changes: 1 addition & 1 deletion src/views/process.pug
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ block header
nav.navbar.navbar-light.bg-light.navbar-expand-sm
.container
#navbar.navbar-collapse.collapse.d-flex.justify-content-between.align-items-center
ol.breadcrumb.breadcrumb-chevron.p-0.bg-light
ol.breadcrumb.breadcrumb-chevron.p-3.bg-light
li.breadcrumb-item
a.link-body-emphasis(href=serviceUrl)
svg.bi(width='16' height='16')
Expand Down
2 changes: 1 addition & 1 deletion src/views/processes.pug
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ block header
nav.navbar.navbar-light.bg-light.navbar-expand-sm
.container
#navbar.navbar-collapse.collapse.d-flex.justify-content-between.align-items-center
ol.breadcrumb.breadcrumb-chevron.p-0.bg-light
ol.breadcrumb.breadcrumb-chevron.p-3.bg-light
li.breadcrumb-item
a.link-body-emphasis(href=serviceUrl)
svg.bi(width='16' height='16')
Expand Down
2 changes: 1 addition & 1 deletion src/views/results.pug
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ block header
nav.navbar.navbar-light.bg-light.navbar-expand-sm
.container
#navbar.navbar-collapse.collapse.d-flex.justify-content-between.align-items-center
ol.breadcrumb.breadcrumb-chevron.p-0.bg-light
ol.breadcrumb.breadcrumb-chevron.p-3.bg-light
li.breadcrumb-item
a.link-body-emphasis(href=serviceUrl)
svg.bi(width='16' height='16')
Expand Down

0 comments on commit 1e1b33e

Please sign in to comment.