Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

🔒️ Use noopener (#1698)

Luke Vella92abdbd2ce37
diff --git a/apps/landing/src/app/[locale]/footer.tsx b/apps/landing/src/app/[locale]/footer.tsx
index a4e84d14b..c0f6af877 100644
--- a/apps/landing/src/app/[locale]/footer.tsx
+++ b/apps/landing/src/app/[locale]/footer.tsx
@@ -99,34 +99,38 @@ export const Footer: React.FunctionComponent = () => {
</div>
</div>
<div className="flex items-center space-x-6">
- <Link
+ <a
target="_blank"
href="https://twitter.com/ralllyco"
className="hover:text-primary-600 text-sm text-gray-500 hover:no-underline"
+ rel="noreferrer noopener"
>
<TwitterIcon className="size-5" />
- </Link>
- <Link
+ </a>
+ <a
target="_blank"
href="https://discord.gg/uzg4ZcHbuM"
className="hover:text-primary-600 text-sm text-gray-500 hover:no-underline"
+ rel="noreferrer noopener"
>
<DiscordIcon className="size-5" />
- </Link>
- <Link
+ </a>
+ <a
target="_blank"
href="https://www.linkedin.com/company/rallly"
className="hover:text-primary-600 text-sm text-gray-500 hover:no-underline"
+ rel="noreferrer noopener"
>
<LinkedinIcon className="size-5" />
- </Link>
- <Link
+ </a>
+ <a
target="_blank"
href="https://github.com/lukevella/rallly"
className="hover:text-primary-600 text-sm text-gray-500 hover:no-underline"
+ rel="noreferrer noopener"
>
<GithubIcon className="size-5" />
- </Link>
+ </a>
</div>
</div>
<div className="lg:w-1/6">
@@ -255,13 +259,13 @@ export const Footer: React.FunctionComponent = () => {
<div className="mb-4">
<LanguageSelect />
</div>
- <Link
+ <a
href="https://support.rallly.co/contribute/translations"
className="hover:border-primary-600 hover:text-primary-600 inline-flex items-center rounded-md border px-3 py-2 text-xs text-gray-500"
>
<LanguagesIcon className="mr-2 size-5" />
<Trans ns="common" i18nKey="volunteerTranslator" /> &rarr;
- </Link>
+ </a>
</div>
</div>
<div className="flex flex-col justify-between gap-x-8 gap-y-8 sm:flex-row sm:items-end sm:pb-8">
@@ -301,7 +305,7 @@ export const Footer: React.FunctionComponent = () => {
target="_blank"
href="https://vercel.com?utm_source=rallly&utm_campaign=oss"
className="inline-block text-white"
- rel="noreferrer"
+ rel="noreferrer noopener"
>
<Image
src="/static/images/partners/vercel-logotype-dark.svg"
@@ -316,7 +320,7 @@ export const Footer: React.FunctionComponent = () => {
target="_blank"
className="inline-block"
href="/partners/digitalocean"
- rel="noreferrer"
+ rel="noreferrer noopener"
>
<Image
src="/static/images/partners/digitalocean-logo.svg"
@@ -331,7 +335,7 @@ export const Footer: React.FunctionComponent = () => {
target="_blank"
className="inline-block"
href="https://sentry.io"
- rel="noreferrer"
+ rel="noreferrer noopener"
>
<Image
src="/static/images/partners/sentry.svg"
diff --git a/apps/web/src/components/poll/truncated-linkify.tsx b/apps/web/src/components/poll/truncated-linkify.tsx
index 6efa8b3a7..defcdd35c 100644
--- a/apps/web/src/components/poll/truncated-linkify.tsx
+++ b/apps/web/src/components/poll/truncated-linkify.tsx
@@ -18,7 +18,7 @@ export const truncateLink = (href: string, text: string, key: number) => {
key={key}
target="_blank"
href={href}
- rel="nofollow noreferrer"
+ rel="nofollow noreferrer noopener"
>
{finalText}
</Link>
@@ -32,7 +32,7 @@ export const truncateLink = (href: string, text: string, key: number) => {
className="text-link"
target="_blank"
href={href}
- rel="nofollow noreferrer"
+ rel="nofollow noreferrer noopener"
>
{finalText}
</Link>