Skip to content

Commit 2174b6b

Browse files
committed
added a 2024 specific text, since we wont add the projects from 2024
1 parent 605f6fa commit 2174b6b

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

src/components/Projects/Projects.js

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,20 @@ function Projects() {
114114
/>
115115
</div>
116116

117-
{(projectsData[currentYear].length === 0) ? (
117+
{(projectsData[currentYear].length === 0 && currentYear !== '2024') ? (
118118
<ComingSoon />
119+
) : (projectsData[currentYear].length === 0 && currentYear === '2024') ? (
120+
<p className="coming-soon-text">
121+
To see the projects pitched in 2024, please visit{' '}
122+
<a
123+
href="https://github.com/brainhack-vandy/projects/tree/main/2024"
124+
target="_blank"
125+
rel="noopener noreferrer"
126+
className="text-blue-600 hover:text-blue-700 underline"
127+
>
128+
brainhack-vandy/projects/2024
129+
</a>
130+
</p>
119131
) : (
120132
<Row className="project-card-row">
121133
{projectsData[currentYear].map((project, index) => (

0 commit comments

Comments
 (0)