Skip to content

Commit

Permalink
Merge pull request #1009 from hackclub/taciturnaxolotl/slack-link
Browse files Browse the repository at this point in the history
  • Loading branch information
taciturnaxolotl authored Dec 21, 2024
2 parents b7298e2 + ac12006 commit 779101c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/app/harbor/battles/project-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,8 @@ export default function ProjectCard({
)}
<a
target="_blank"
href={`https://slack.com/app_redirect?channel=${project.entrant__slack_id}`}
href={`https://hackclub.slack.com/team/${project.entrant__slack_id}`}
rel="noreferrer"
>
<Pill glyph="slack" color="purple" msg="Chat on Slack" />
</a>
Expand Down
15 changes: 12 additions & 3 deletions src/app/harbor/signpost/best-ships.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,23 @@ export default function BestShips() {
}
/>
<div className="flex gap-3">
<a target="_blank" href={partialShip.repoUrl}>
<a
target="_blank"
href={partialShip.repoUrl}
rel="noreferrer"
>
<Pill
classes="bg-white/15 text-white"
glyph="github"
msg="Repository"
color="gray"
/>
</a>
<a target="_blank" href={partialShip.deployUrl}>
<a
target="_blank"
href={partialShip.deployUrl}
rel="noreferrer"
>
<Pill
classes="bg-white/15 text-white"
glyph="view-forward"
Expand All @@ -56,7 +64,8 @@ export default function BestShips() {
{partialShip.entrantSlackId ? (
<a
target="_blank"
href={`https://slack.com/app_redirect?channel=${partialShip.entrantSlackId}`}
href={`https://hackclub.slack.com/team/${partialShip.entrantSlackId}`}
rel="noreferrer"
>
<Pill
glyph="slack"
Expand Down

0 comments on commit 779101c

Please sign in to comment.