fix various links, targets, etc.
This commit is contained in:
@ -9,8 +9,6 @@ export const ContactEntityBlock = ({
|
||||
}: {
|
||||
block: ContactEntityBlockType;
|
||||
}) => {
|
||||
// TODO: image
|
||||
|
||||
const contact = block?.contactEntity;
|
||||
|
||||
if (!contact) {
|
||||
|
@ -19,8 +19,6 @@ function formatPrice(price: number | string): string {
|
||||
return `${asNumber} kr`;
|
||||
}
|
||||
|
||||
|
||||
|
||||
export const EventDetails = ({ event }: { event: EventFragment }) => {
|
||||
const featuredImage: any = event.featuredImage;
|
||||
|
||||
@ -64,7 +62,11 @@ export const EventDetails = ({ event }: { event: EventFragment }) => {
|
||||
)}
|
||||
{event.facebookUrl && (
|
||||
<div>
|
||||
<a href={event.facebookUrl} className="button tertiary">
|
||||
<a
|
||||
href={event.facebookUrl}
|
||||
target="_blank"
|
||||
className="button tertiary"
|
||||
>
|
||||
<span>Gå til Facebook-event</span>
|
||||
<Icon type="externalLink" />
|
||||
</a>
|
||||
|
@ -23,7 +23,7 @@ export const EventHeader = ({ event }: { event: EventFragment }) => {
|
||||
<h1 className={styles.title}>{event.title}</h1>
|
||||
<p className={styles.details}>{event.subtitle}</p>
|
||||
{event.ticketUrl && (
|
||||
<a href={event.ticketUrl} className="button cta">
|
||||
<a href={event.ticketUrl} target="_blank" className="button cta">
|
||||
<span>Kjøp billetter</span>
|
||||
<Icon type="tickets" />
|
||||
</a>
|
||||
|
@ -37,96 +37,109 @@ async function OpeningHoursTable() {
|
||||
export const Footer = () => {
|
||||
return (
|
||||
<>
|
||||
<footer className={styles.footer}>
|
||||
<div className={styles.social}>
|
||||
<h2>Følg oss</h2>
|
||||
<ul>
|
||||
<li>
|
||||
<a
|
||||
href="https://www.instagram.com/studentersamfundet/"
|
||||
target="_blank"
|
||||
className="button tertiary"
|
||||
>
|
||||
<span>Instagram</span>
|
||||
<Icon type="instagram" />
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a
|
||||
href="https://www.facebook.com/studentersamfundet"
|
||||
target="_blank"
|
||||
className="button tertiary"
|
||||
>
|
||||
<span>Facebook</span>
|
||||
<Icon type="facebook" />
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a
|
||||
href="https://www.flickr.com/groups/neuf/pool/"
|
||||
target="_blank"
|
||||
className="button tertiary"
|
||||
>
|
||||
<span>Flickr</span>
|
||||
<Icon type="flickr" />
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div className={styles.contact}>
|
||||
<h2>Kontakt oss</h2>
|
||||
<div className={styles.emails}>
|
||||
<div>
|
||||
<h3>Generelle henvendelser</h3>
|
||||
<a href="/#" target="_blank" className={styles.emailLink}>
|
||||
post@neuf.no
|
||||
</a>
|
||||
</div>
|
||||
<div>
|
||||
<h3>Billetter</h3>
|
||||
<a href="/#" target="_blank" className={styles.emailLink}>
|
||||
billetter@neuf.no
|
||||
</a>
|
||||
</div>
|
||||
<div>
|
||||
<Link href="/kontakt">Øvrig kontaktinfo <Icon type="arrowRight" /></Link>
|
||||
</div>
|
||||
<footer className={styles.footer}>
|
||||
<div className={styles.social}>
|
||||
<h2>Følg oss</h2>
|
||||
<ul>
|
||||
<li>
|
||||
<a
|
||||
href="https://www.instagram.com/studentersamfundet/"
|
||||
target="_blank"
|
||||
className="button tertiary"
|
||||
>
|
||||
<span>Instagram</span>
|
||||
<Icon type="instagram" />
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a
|
||||
href="https://www.facebook.com/studentersamfundet"
|
||||
target="_blank"
|
||||
className="button tertiary"
|
||||
>
|
||||
<span>Facebook</span>
|
||||
<Icon type="facebook" />
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a
|
||||
href="https://www.flickr.com/groups/neuf/pool/"
|
||||
target="_blank"
|
||||
className="button tertiary"
|
||||
>
|
||||
<span>Flickr</span>
|
||||
<Icon type="flickr" />
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div className={styles.visit}>
|
||||
<h2>Besøk oss</h2>
|
||||
<div className={styles.visitContent}>
|
||||
<div className={styles.address}>
|
||||
<h3>Adresse</h3>
|
||||
<div className={styles.contact}>
|
||||
<h2>Kontakt oss</h2>
|
||||
<div className={styles.emails}>
|
||||
<div>
|
||||
Chateau Neuf
|
||||
<br />
|
||||
Slemdalsveien 15
|
||||
<br />
|
||||
0369 Oslo
|
||||
<br />
|
||||
<a href="#" target="_blank">
|
||||
Vis i Google Maps <Icon type="externalLink" />
|
||||
<h3>Generelle henvendelser</h3>
|
||||
<a
|
||||
href="mailto:post@neuf.no"
|
||||
className={styles.emailLink}
|
||||
>
|
||||
post@neuf.no
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className={styles.openingHoursWrapper}>
|
||||
<h3>Åpningstider i dag</h3>
|
||||
<OpeningHoursTable />
|
||||
<Link href="/praktisk#apningstider">Se alle åpningstider <Icon type="arrowRight" /></Link>
|
||||
<div>
|
||||
<h3>Billetter</h3>
|
||||
<a
|
||||
href="mailto:billetter@neuf.no"
|
||||
className={styles.emailLink}
|
||||
>
|
||||
billetter@neuf.no
|
||||
</a>
|
||||
</div>
|
||||
<div>
|
||||
<Link href="/kontakt">
|
||||
Øvrig kontaktinfo
|
||||
<Icon type="arrowRight" />
|
||||
</Link>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div className={styles.visit}>
|
||||
<h2>Besøk oss</h2>
|
||||
<div className={styles.visitContent}>
|
||||
<div className={styles.address}>
|
||||
<h3>Adresse</h3>
|
||||
<div>
|
||||
Chateau Neuf
|
||||
<br />
|
||||
Slemdalsveien 15
|
||||
<br />
|
||||
0369 Oslo
|
||||
<br />
|
||||
<a href="#" target="_blank">
|
||||
Vis i Google Maps
|
||||
<Icon type="externalLink" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className={styles.openingHoursWrapper}>
|
||||
<h3>Åpningstider i dag</h3>
|
||||
<OpeningHoursTable />
|
||||
<Link href="/praktisk#apningstider">
|
||||
Se alle åpningstider
|
||||
<Icon type="arrowRight" />
|
||||
</Link>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div className={styles.pig}>
|
||||
<NeonChillPig />
|
||||
</div>
|
||||
</footer>
|
||||
<div className={styles.pigPattern}>
|
||||
<div className={styles.toTop}>
|
||||
<ToTop />
|
||||
</div>
|
||||
</div>
|
||||
<div className={styles.pig}>
|
||||
<NeonChillPig />
|
||||
</div>
|
||||
</footer>
|
||||
<div className={styles.pigPattern}>
|
||||
<div className={styles.toTop}>
|
||||
<ToTop />
|
||||
</div>
|
||||
</div>
|
||||
</>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
@ -135,8 +135,12 @@ export const Header = () => {
|
||||
</Link>
|
||||
</li>
|
||||
<li>
|
||||
{/* TODO: skal trolig ikke være så synlig ved lansering */}
|
||||
<Link href="/foreninger">Foreninger</Link>
|
||||
<Link
|
||||
href="/foreninger"
|
||||
data-active={pathname === "/foreninger"}
|
||||
>
|
||||
Foreninger
|
||||
</Link>
|
||||
</li>
|
||||
<li className={styles.galtinn}>
|
||||
<a href="https://galtinn.neuf.no/" target="_blank">
|
||||
|
Reference in New Issue
Block a user