add icon buttons, misc styling on venue pages

This commit is contained in:
elisejakob
2024-06-20 20:35:52 +02:00
parent 7e5f82ce76
commit 9b3eb3c4a6
12 changed files with 110 additions and 41 deletions

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,11 @@
.icon {
width: var(--size-icon);
height: var(--size-icon);
display: inline-block;
vertical-align: middle;
svg {
display: block;
width: 100%;
}
}

View File

@ -4,13 +4,13 @@
.static,
.animate {
position: absolute;
top: 0;
left: 0;
width: 100%;
}
.animate {
position: absolute;
top: 0;
left: 0;
animation: glow 1s infinite alternate;
}
}

View File

@ -3,6 +3,7 @@ import styles from "./footer.module.scss";
import { NeonChillPig } from "../general/pigs/fun/NeonChillPig";
import { ToTop } from "./ToTop";
import { LogoNeuf } from "../general/Logo";
import Icon from "../general/Icon";
export const Footer = () => {
return (
@ -11,23 +12,27 @@ export const Footer = () => {
<h2 className="suphead">Følg oss</h2>
<ul>
<li>
<a href="#" target="_blank">
Instagram
<a href="#" target="_blank" className="button tertiary">
<span>Instagram</span>
<Icon />
</a>
</li>
<li>
<a href="#" target="_blank">
Facebook
<a href="#" target="_blank" className="button tertiary">
<span>Facebook</span>
<Icon />
</a>
</li>
<li>
<a href="#" target="_blank">
Twitter
<a href="#" target="_blank" className="button tertiary">
<span>Twitter</span>
<Icon />
</a>
</li>
<li>
<a href="#" target="_blank">
Flickr
<a href="#" target="_blank" className="button tertiary">
<span>Flickr</span>
<Icon />
</a>
</li>
</ul>

View File

@ -94,12 +94,11 @@
position: relative;
top: 0;
right: 0;
transform: translate(1vw, 40%);
z-index: 800;
}
.toTop {
position: absolute;
right: 0;
bottom: 0;
right: var(--spacing-sitepadding);
bottom: var(--spacing-sitepadding);
}

View File

@ -2,6 +2,7 @@ import { VenueFragment } from "@/gql/graphql";
import styles from "./venueInfo.module.scss";
import Link from "next/link";
import Image from "../general/Image";
import Icon from "../general/Icon";
export const VenueInfo = ({ venue }: { venue: VenueFragment }) => {
return (
@ -46,6 +47,10 @@ export const VenueInfo = ({ venue }: { venue: VenueFragment }) => {
</tr>
</tbody>
</table>
<a href="#" target="_blank" className="button secondary">
<span>Tekniske spesifikasjoner</span>
<Icon type="doc" />
</a>
</div>
);
};

View File

@ -3,7 +3,7 @@
grid-template-columns: 1fr 1fr;
gap: var(--spacing-sitepadding);
width: 100%;
max-width: 1000px;
max-width: 1200px;
margin: var(--spacing-xl) auto;
}

View File

@ -5,6 +5,7 @@
table {
width: 100%;
border-collapse: collapse;
margin-bottom: 1rem;
}
tr {
@ -14,6 +15,7 @@
th {
text-align: left;
width: 11rem;
font-weight: 600;
}
th,