beautify venue pages

This commit is contained in:
elise
2024-08-06 21:53:48 +02:00
parent 8abdacc593
commit f41f7e8317
5 changed files with 18 additions and 13 deletions

View File

@ -103,17 +103,10 @@ export default async function Page({ params }: { params: { slug: string } }) {
return (
<main className="site-main" id="main">
<ImageSliderBlock block={placeholderBlock} hero />
<div className="page-header-small">
<Breadcrumb link="/utleie" text="Lokale" />
<h1 className="page-title">{venue.title}</h1>
{/*featuredImage && (
<Image
src={featuredImage.url}
alt={featuredImage.alt}
width={featuredImage.width}
height={featuredImage.height}
sizes="100vw"
/>
)*/}
</div>
<Blocks blocks={venue.body} />
<VenueInfo venue={venue} />
<NeufMap venueSlug={venue.slug} />

View File

@ -3,7 +3,7 @@
padding-top: 56%;
background: var(--color-black);
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 {
width: 100%;

View File

@ -11,3 +11,10 @@
color: var(--color-deepBrick);
font-weight: 600;
}
@media (max-width: 800px) {
.neufMap {
max-width: 600px;
grid-template-columns: 1fr;
}
}

View File

@ -9,7 +9,7 @@
}
tr {
border-bottom: var(--border);
border-top: var(--border);
}
th {

View File

@ -327,3 +327,8 @@ select {
bottom: -50%;
}
}
.page-header-small {
max-width: var(--size-width-p);
margin: 0 auto 1rem;
}