Skip to content

Commit 340c816

Browse files
committed
Fix many things
1 parent 5289a90 commit 340c816

File tree

12 files changed

+67
-148
lines changed

12 files changed

+67
-148
lines changed

DESCRIPTION.md

Lines changed: 0 additions & 99 deletions
This file was deleted.

src/components/building.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import QuoteIcon from "@/assets/quote-icon.svg";
2222
consensus on methodology, metrics evaluation, and the specification roadmap.
2323
</p>
2424
<div class="mt-6 flex flex-wrap items-center gap-4 md:mt-8">
25-
<a href="https://greensoftware.foundation/articles/sci-for-ai-workshop-report">
25+
<a href="https://greensoftware.foundation/articles/sci-for-ai-workshop-report" target="_blank" rel="noopener noreferrer">
2626
<Button> Read the Workshop Report </Button>
2727
</a>
2828
</div>

src/components/cta.astro

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const waysToGetInvolved = [
1515
},
1616
{
1717
icon: ShapeIcon2,
18-
url: "https://github.com/Green-Software-Foundation/sci-ai",
18+
url: "https://github.com/Green-Software-Foundation/sci-ai/issues/new?template=Consistency_and_IPR_Review.yaml",
1919
title: "Share Your Feedback",
2020
description: "Help refine the specification with your insights",
2121
buttonText: "Provide Feedback",
@@ -59,7 +59,14 @@ const waysToGetInvolved = [
5959
<p>{way.description}</p>
6060
</div>
6161
<div class="mt-6 flex w-full items-start justify-start">
62-
<a href={way.url} class="w-full">
62+
<a
63+
href={way.url}
64+
class="w-full"
65+
{...(way.url.startsWith('http') && {
66+
target: '_blank',
67+
rel: 'noopener noreferrer'
68+
})}
69+
>
6370
{way.buttonText === "Coming soon" ? (
6471
<Button variant="outline" className="w-full" disabled>
6572
{way.buttonText}

src/components/explore.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ const waysToGetInvolved = [
5858
<p>{way.description}</p>
5959
</div>
6060
<div class="mt-6 flex w-full items-start justify-start">
61-
<a href={way.url} class="w-full">
61+
<a href={way.url} class="w-full" target="_blank" rel="noopener noreferrer">
6262
<Button className="w-full">{way.buttonText}</Button>
6363
</a>
6464
</div>

src/components/footer.astro

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const footerSections = [
3434
title: "Get Involved",
3535
links: [
3636
{
37-
href: "https://github.com/Green-Software-Foundation/sci-ai",
37+
href: "https://github.com/Green-Software-Foundation/sci-ai/issues/new?template=Consistency_and_IPR_Review.yaml",
3838
text: "Provide Feedback",
3939
},
4040
{
@@ -135,6 +135,8 @@ const footerSections = [
135135
href={social.href}
136136
class="text-white/50 transition-colors hover:text-accent"
137137
aria-label={social.label}
138+
target="_blank"
139+
rel="noopener noreferrer"
138140
>
139141
{social.icon === "linkedin" && <LinkedInIcon class="text-accent" />}
140142
{social.icon === "github" && <GitHubIcon class="text-accent" />}
@@ -147,7 +149,14 @@ const footerSections = [
147149
</>
148150
) : (
149151
section.links?.map((link) => (
150-
<a href={link.href} class="text-xs text-white/50">
152+
<a
153+
href={link.href}
154+
class="text-xs text-white/50"
155+
{...(link.href.startsWith('http') && {
156+
target: '_blank',
157+
rel: 'noopener noreferrer'
158+
})}
159+
>
151160
{link.text}
152161
</a>
153162
))

src/components/hero.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import { Button } from "@/components/ui/button";
2121
<a href="https://github.com/Green-Software-Foundation/sci-ai/blob/dev/SPEC.md" target="_blank" rel="noopener noreferrer">
2222
<Button>Read the Spec</Button>
2323
</a>
24-
<a href="#why-matters">
24+
<a href="https://github.com/Green-Software-Foundation/sci-ai/issues/new?template=Consistency_and_IPR_Review.yaml" target="_blank" rel="noopener noreferrer">
2525
<Button variant="outline">Provide Feedback</Button>
2626
</a>
2727
</div>

src/components/navbar.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import GSFLogo from "@/assets/gsf-logo.svg";
1111
<div class="border-b border-primary-lighter pb-3">
1212
<div class="flex items-center justify-center gap-3 text-xs md:justify-end">
1313
<span>Project By</span>
14-
<a href="https://greensoftware.foundation" class="block">
14+
<a href="https://greensoftware.foundation" class="block" target="_blank" rel="noopener noreferrer">
1515
<GSFLogo />
1616
</a>
1717
</div>
@@ -23,7 +23,7 @@ import GSFLogo from "@/assets/gsf-logo.svg";
2323
</a>
2424
<div class="flex items-center gap-1">
2525
<NavigationComponent client:load />
26-
<a href="https://github.com/Green-Software-Foundation/sci-ai">
26+
<a href="https://github.com/Green-Software-Foundation/sci-ai" target="_blank" rel="noopener noreferrer">
2727
<Button className="p-2">
2828
<GithubIcon />
2929
</Button>

src/components/react/navbar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const NavigationComponent = () => {
1414
{ href: "#overview", label: "Overview" },
1515
{ href: "#why-matters", label: "Why SCI for AI Matters" },
1616
{ href: "#what-becomes-possible", label: "AI Lifecycle Impact" },
17-
{ href: "#join-movement", label: "Join the Movement" },
17+
{ href: "#get-involved", label: "Get Involved" },
1818
{ href: "#resources", label: "Resources" },
1919
{ href: "#directory", label: "Directory" },
2020
];

0 commit comments

Comments
 (0)