beautify venue pages
This commit is contained in:
@ -103,17 +103,10 @@ export default async function Page({ params }: { params: { slug: string } }) {
|
|||||||
return (
|
return (
|
||||||
<main className="site-main" id="main">
|
<main className="site-main" id="main">
|
||||||
<ImageSliderBlock block={placeholderBlock} hero />
|
<ImageSliderBlock block={placeholderBlock} hero />
|
||||||
<Breadcrumb link="/utleie" text="Lokale" />
|
<div className="page-header-small">
|
||||||
<h1 className="page-title">{venue.title}</h1>
|
<Breadcrumb link="/utleie" text="Lokale" />
|
||||||
{/*featuredImage && (
|
<h1 className="page-title">{venue.title}</h1>
|
||||||
<Image
|
</div>
|
||||||
src={featuredImage.url}
|
|
||||||
alt={featuredImage.alt}
|
|
||||||
width={featuredImage.width}
|
|
||||||
height={featuredImage.height}
|
|
||||||
sizes="100vw"
|
|
||||||
/>
|
|
||||||
)*/}
|
|
||||||
<Blocks blocks={venue.body} />
|
<Blocks blocks={venue.body} />
|
||||||
<VenueInfo venue={venue} />
|
<VenueInfo venue={venue} />
|
||||||
<NeufMap venueSlug={venue.slug} />
|
<NeufMap venueSlug={venue.slug} />
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
padding-top: 56%;
|
padding-top: 56%;
|
||||||
background: var(--color-black);
|
background: var(--color-black);
|
||||||
color: var(--color-goldenBeige);
|
color: var(--color-goldenBeige);
|
||||||
margin: calc(var(--spacing-sitepadding-block)*2) calc(var(--spacing-sitepadding-inline)*-1);
|
margin: calc(var(--spacing-sitepadding-block)*2) calc(var(--spacing-sitepadding-inline)*-1) var(--spacing-sitepadding-block);
|
||||||
|
|
||||||
figure {
|
figure {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -11,3 +11,10 @@
|
|||||||
color: var(--color-deepBrick);
|
color: var(--color-deepBrick);
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: 800px) {
|
||||||
|
.neufMap {
|
||||||
|
max-width: 600px;
|
||||||
|
grid-template-columns: 1fr;
|
||||||
|
}
|
||||||
|
}
|
@ -9,7 +9,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
tr {
|
tr {
|
||||||
border-bottom: var(--border);
|
border-top: var(--border);
|
||||||
}
|
}
|
||||||
|
|
||||||
th {
|
th {
|
||||||
|
@ -327,3 +327,8 @@ select {
|
|||||||
bottom: -50%;
|
bottom: -50%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.page-header-small {
|
||||||
|
max-width: var(--size-width-p);
|
||||||
|
margin: 0 auto 1rem;
|
||||||
|
}
|
Reference in New Issue
Block a user