add icon buttons, misc styling on venue pages
This commit is contained in:
31
web/src/components/general/Icon.tsx
Normal file
31
web/src/components/general/Icon.tsx
Normal file
File diff suppressed because one or more lines are too long
11
web/src/components/general/icon.module.scss
Normal file
11
web/src/components/general/icon.module.scss
Normal 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%;
|
||||
}
|
||||
}
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -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>
|
||||
|
@ -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);
|
||||
}
|
@ -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>
|
||||
);
|
||||
};
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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,
|
||||
|
Reference in New Issue
Block a user