Add archive link
This commit is contained in:
@@ -6,6 +6,8 @@ import Performer from '../types/Performer';
|
|||||||
import { BiChevronDown, BiChevronLeft } from 'react-icons/bi';
|
import { BiChevronDown, BiChevronLeft } from 'react-icons/bi';
|
||||||
import PerformersData from '../data/performers/2024';
|
import PerformersData from '../data/performers/2024';
|
||||||
import { CSSTransition } from 'react-transition-group';
|
import { CSSTransition } from 'react-transition-group';
|
||||||
|
import Link from 'next/link';
|
||||||
|
import { FiExternalLink } from 'react-icons/fi';
|
||||||
|
|
||||||
interface PerformerCard extends Performer {
|
interface PerformerCard extends Performer {
|
||||||
id: number;
|
id: number;
|
||||||
@@ -88,6 +90,12 @@ const Performers = () => {
|
|||||||
) : (
|
) : (
|
||||||
<i>Lisätietoja tulossa myöhemmin...</i>
|
<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>
|
</section>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -62,7 +62,20 @@
|
|||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.performerTextContainer {
|
.performerTextContainer {
|
||||||
margin-left: -0.5rem;
|
margin-left: -0.5rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.archiveLink {
|
||||||
|
margin-top: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.archiveLinkText {
|
||||||
|
font-size: 2.5rem;
|
||||||
|
margin-right: 1rem;
|
||||||
|
color: #2f273e;
|
||||||
|
text-decoration: none;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user