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 ( 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} />

View File

@ -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%;

View File

@ -10,4 +10,11 @@
.floorHeading { .floorHeading {
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;
}
} }

View File

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

View File

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