Skip to content

Commit

Permalink
jwy linktree
Browse files Browse the repository at this point in the history
  • Loading branch information
savagem7 committed Dec 8, 2023
1 parent e5c3e50 commit 8a1769f
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 14 deletions.
8 changes: 8 additions & 0 deletions arrays/linktree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@ export interface LinkProps {
}

export const linkList: LinkProps[] = [
{
title: "JWY - Top 10 Picks Of The Year",
img: "/top-ten-releases/14-jwy.jpg",
link: "https://www.plantbassd.com/top-ten-releases/jwy-8-12-23",
name: "news",
description:
"Founder of Foxgluv, JWY, shares her top ten picks of 2023. The Dublin based DJ was key to big nights out this year for Rathaus, Ar Ais Arís, and Honeypot Club among many others.",
},
{
title: "Under the Radar: November",
link: "https://www.plantbassd.com/under-the-radar/november-23",
Expand Down
27 changes: 15 additions & 12 deletions pages/top-ten-releases/[slug].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default function TopTenSlug({
frontmatter,
slug,
}: InferGetStaticPropsType<typeof getStaticProps>) {
const { title, date, cover, intro, header, insta } = frontmatter;
const { title, date, cover, intro, header, insta, path } = frontmatter;
return (
<div className={styles.outerSection}>
<PageMetaData
Expand All @@ -26,20 +26,23 @@ export default function TopTenSlug({
url={`www.plantbassd.com/${slug}`}
/>
<div className={`col ${styles.topTenContent}`}>
<p className={styles.postDate}>Posted on {date}</p>
<p>
{<HoverLink url="/" name="home" />} / {<HoverLink url={`/${path}`} name={path} />} /
</p>
<h1 className={styles.postTitle}>{`${header} - ${title}`}</h1>
<p className={styles.postDate}>Posted on {date}</p>

<p className="my-4">{intro}</p>
<a
className={`${styles.instagram} text-nowrap btn btn-dark mb-3`}
href={insta}
rel="noopener noreferrer"
role="button"
target="_blank"
>
<Icon icon="instagram" /> {header}
</a>
<div className="text-center">
<p>{intro}</p>
<a
className={`${styles.instagram} text-nowrap btn btn-dark mb-3 d-flex justify-content-center align-items-center gap-2`}
href={insta}
rel="noopener noreferrer"
role="button"
target="_blank"
>
<Icon icon="instagram" /> {header}
</a>
<Picture alt="artist press pic" size={600} src={cover} />
</div>

Expand Down
2 changes: 2 additions & 0 deletions posts/top-ten-releases/jwy-8-12-23.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ Rory Sweeney has absolutely been killing it for years now!! Some of the releases

Cover photo creds to <HoverLink url="https://www.instagram.com/cianbolger.ire/" name="Cian Bolger" external />.

<hr />

</div>

<FavTrack
Expand Down
6 changes: 5 additions & 1 deletion styles/styles.global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ h3 {
}

p {
font-size: $paragraph;
font-size: $xsHeader;
}

.smallText {
Expand All @@ -83,6 +83,10 @@ p {
}

@include breakpoint-below(md) {
p {
font-size: $paragraph;
}

.smallText {
font-size: calc(0.6rem + 1vw);
}
Expand Down
2 changes: 1 addition & 1 deletion styles/top-ten.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
.postDate {
font-style: italic;
font-size: 0.9rem;
text-align: right;
}

@include breakpoint-below(md) {
Expand Down Expand Up @@ -50,6 +49,7 @@
color: $headerBlack;
background-color: $instagram;
}
padding: 0.4rem 1.2rem;
}

.bioText {
Expand Down

1 comment on commit 8a1769f

@vercel
Copy link

@vercel vercel bot commented on 8a1769f Dec 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.