mess around with footer + misc adjustments on event header and venue item
This commit is contained in:
@ -34,3 +34,9 @@
|
|||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
width: 7rem;
|
width: 7rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: 800px) {
|
||||||
|
.content {
|
||||||
|
grid-template-columns: repeat(2, 1fr);
|
||||||
|
}
|
||||||
|
}
|
@ -37,4 +37,8 @@
|
|||||||
.eventHeader {
|
.eventHeader {
|
||||||
grid-template-columns: 1fr;
|
grid-template-columns: 1fr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.categories {
|
||||||
|
margin: var(--spacing-s) 0 0;
|
||||||
|
}
|
||||||
}
|
}
|
@ -39,7 +39,7 @@ export const Footer = () => {
|
|||||||
<>
|
<>
|
||||||
<footer className={styles.footer}>
|
<footer className={styles.footer}>
|
||||||
<div className={styles.social}>
|
<div className={styles.social}>
|
||||||
<h2 className="suphead">Følg oss</h2>
|
<h2>Følg oss</h2>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
<a
|
<a
|
||||||
@ -74,7 +74,7 @@ export const Footer = () => {
|
|||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div className={styles.contact}>
|
<div className={styles.contact}>
|
||||||
<h2 className="suphead">Kontakt oss</h2>
|
<h2>Kontakt oss</h2>
|
||||||
<div className={styles.emails}>
|
<div className={styles.emails}>
|
||||||
<div>
|
<div>
|
||||||
Generelle henvendelser
|
Generelle henvendelser
|
||||||
@ -91,14 +91,14 @@ export const Footer = () => {
|
|||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<Link href="/kontakt">Øvrig kontaktinfo</Link>
|
<Link href="/kontakt">Øvrig kontaktinfo <Icon type="arrowRight" /></Link>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className={styles.visit}>
|
<div className={styles.visit}>
|
||||||
<h2 className="suphead">Besøk oss</h2>
|
<h2>Besøk oss</h2>
|
||||||
<div className={styles.address}>
|
<div className={styles.address}>
|
||||||
<h2 className="suphead">Adresse</h2>
|
<h3 className="suphead">Adresse</h3>
|
||||||
<div>
|
<div>
|
||||||
Chateau Neuf
|
Chateau Neuf
|
||||||
<br />
|
<br />
|
||||||
@ -107,25 +107,25 @@ export const Footer = () => {
|
|||||||
0369 Oslo
|
0369 Oslo
|
||||||
<br />
|
<br />
|
||||||
<a href="#" target="_blank">
|
<a href="#" target="_blank">
|
||||||
Vis i Google Maps
|
Vis i Google Maps <Icon type="externalLink" />
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className={styles.openingHoursWrapper}>
|
<div className={styles.openingHoursWrapper}>
|
||||||
<h2 className="suphead">Åpningstider i dag</h2>
|
<h3 className="suphead">Åpningstider i dag</h3>
|
||||||
<OpeningHoursTable />
|
<OpeningHoursTable />
|
||||||
<Link href="/praktisk#apningstider">Se alle åpningstider</Link>
|
<Link href="/praktisk#apningstider">Se alle åpningstider <Icon type="arrowRight" /></Link>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className={styles.pig}>
|
<div className={styles.pig}>
|
||||||
<NeonChillPig />
|
<NeonChillPig />
|
||||||
</div>
|
</div>
|
||||||
|
</footer>
|
||||||
|
<div className={styles.pigPattern}>
|
||||||
<div className={styles.toTop}>
|
<div className={styles.toTop}>
|
||||||
<ToTop />
|
<ToTop />
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
|
||||||
<div className={styles.pigPattern}>
|
|
||||||
</div>
|
</div>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
"use client";
|
"use client";
|
||||||
import { useInView } from "react-intersection-observer";
|
import { useInView } from "react-intersection-observer";
|
||||||
|
import Icon from "../general/Icon";
|
||||||
|
|
||||||
export const ToTop = () => {
|
export const ToTop = () => {
|
||||||
const scrollToTop = () => {
|
const scrollToTop = () => {
|
||||||
@ -8,5 +9,8 @@ export const ToTop = () => {
|
|||||||
behavior: "smooth",
|
behavior: "smooth",
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
return <button onClick={scrollToTop}>Til toppen</button>;
|
return <button onClick={scrollToTop}>
|
||||||
|
Til toppen
|
||||||
|
<Icon type="arrowUp" />
|
||||||
|
</button>;
|
||||||
};
|
};
|
||||||
|
@ -6,6 +6,16 @@
|
|||||||
z-index: 700;
|
z-index: 700;
|
||||||
font-size: var(--font-size-caption);
|
font-size: var(--font-size-caption);
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
font-family: var(--font-serif);
|
||||||
|
font-weight: 400;
|
||||||
|
font-size: var(--font-size-h3);
|
||||||
|
}
|
||||||
|
|
||||||
|
h3 {
|
||||||
|
margin-bottom: 1em;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.contactList {
|
.contactList {
|
||||||
@ -20,10 +30,6 @@
|
|||||||
list-style: none;
|
list-style: none;
|
||||||
grid-column: span 4;
|
grid-column: span 4;
|
||||||
|
|
||||||
h2 {
|
|
||||||
margin-bottom: 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
ul {
|
ul {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
}
|
}
|
||||||
@ -90,8 +96,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.emailLink {
|
.emailLink {
|
||||||
font-family: var(--font-serif);
|
font-size: var(--font-size-caption);
|
||||||
font-size: var(--font-size-lead);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.pig {
|
.pig {
|
||||||
|
@ -22,13 +22,11 @@ export const VenueItem = ({ venue }: { venue: VenueFragment }) => {
|
|||||||
<div className={styles.text}>
|
<div className={styles.text}>
|
||||||
<h1 className={styles.title}>{venue.title}</h1>
|
<h1 className={styles.title}>{venue.title}</h1>
|
||||||
<div className={styles.details}>
|
<div className={styles.details}>
|
||||||
Egner seg for:
|
<strong>Passer for:</strong>
|
||||||
<br />
|
<ul>
|
||||||
<span className={styles.people}>50—115 personer</span>
|
<li>50—115 personer</li>
|
||||||
<br />
|
<li>Konsert, foredrag, fest, debatt, teater, filmvisning</li>
|
||||||
<span className={styles.uses}>
|
</ul>
|
||||||
Konsert, foredrag, fest, debatt, teater, filmvisning
|
|
||||||
</span>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<Link href={`/lokaler/${venue.slug}`} className="hiddenLink">
|
<Link href={`/lokaler/${venue.slug}`} className="hiddenLink">
|
||||||
|
@ -22,11 +22,22 @@
|
|||||||
padding: .8rem 0;
|
padding: .8rem 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.title,
|
.title {
|
||||||
.details {
|
|
||||||
font-size: 1.6rem;
|
font-size: 1.6rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.details {
|
.details {
|
||||||
font-family: var(--font-serif);
|
font-family: var(--font-serif);
|
||||||
|
font-size: var(--font-size-caption);
|
||||||
|
border-top: var(--border);
|
||||||
|
margin-top: var(--spacing-xs);
|
||||||
|
padding-top: .4rem;
|
||||||
|
|
||||||
|
strong {
|
||||||
|
font-family: var(--font-main);
|
||||||
|
}
|
||||||
|
|
||||||
|
ul {
|
||||||
|
margin: .2rem 0 0 .7rem;
|
||||||
|
}
|
||||||
}
|
}
|
@ -2,7 +2,6 @@
|
|||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
scroll-behavior: smooth;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
html {
|
html {
|
||||||
|
Reference in New Issue
Block a user