Add archive link

This commit is contained in:
2024-05-16 22:45:09 +03:00
parent 702a39448a
commit 50fbc95ba9
2 changed files with 21 additions and 0 deletions

View File

@@ -6,6 +6,8 @@ import Performer from '../types/Performer';
import { BiChevronDown, BiChevronLeft } from 'react-icons/bi';
import PerformersData from '../data/performers/2024';
import { CSSTransition } from 'react-transition-group';
import Link from 'next/link';
import { FiExternalLink } from 'react-icons/fi';
interface PerformerCard extends Performer {
id: number;
@@ -88,6 +90,12 @@ const Performers = () => {
) : (
<i>Lisätietoja tulossa myöhemmin...</i>
)}
<Link href="/archive">
<a>
<span className={styles.archiveLinkText}>Aiempien vuosien esiintyjiä</span>
<FiExternalLink fontSize={20} />
</a>
</Link>
</section>
);
};

View File

@@ -62,7 +62,20 @@
margin-top: 0;
}
}
.performerTextContainer {
margin-left: -0.5rem;
}
}
.archiveLink {
margin-top: 1rem;
}
.archiveLinkText {
font-size: 2.5rem;
margin-right: 1rem;
color: #2f273e;
text-decoration: none;
font-weight: bold;
}