Skip to content

Commit

Permalink
Merge pull request #90 from tskaigi/feature/fix_external_link
Browse files Browse the repository at this point in the history
スポンサーがリファラーを取得できるように修正
  • Loading branch information
oku-44 authored Mar 7, 2024
2 parents 54efce3 + 834012b commit ea83e88
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/components/SponsorLogosSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ const PlanSponsors = ({
<Link
key={sponsor.name}
href={sponsor.logoLink}
rel="noopener noreferrer"
rel="noopener"
target="_blank"
>
<div
Expand Down
6 changes: 3 additions & 3 deletions app/components/SponsorPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export default function SponsorPage({ showDraft }: SponsorPageProps) {
className={`p-6 sm:p-6 lg:p-8 ${index % 2 === 0 ? "bg-base-100" : "bg-base-200"}`}
>
<div className="grid sm:grid-cols-3 gap-4">
<Link href={sponsor.logoLink} rel="noopener noreferrer" target="_blank">
<Link href={sponsor.logoLink} rel="noopener" target="_blank">
<div
className={`sm:col-span-1 bg-white w-full rounded-sm flex items-center h-[200px] ${
sponsor.addPadding ? "p-[20%]" : "p-8"
Expand All @@ -93,7 +93,7 @@ export default function SponsorPage({ showDraft }: SponsorPageProps) {
<a
href={link.href}
target="_blank"
rel="noreferrer noopener"
rel="noopener"
className="link link-primary"
>
{link.text}
Expand All @@ -120,7 +120,7 @@ export default function SponsorPage({ showDraft }: SponsorPageProps) {
<Link
key={sponsor.name}
href={sponsor.logoLink}
rel="noopener noreferrer"
rel="noopener"
target="_blank"
>
<div
Expand Down

0 comments on commit ea83e88

Please sign in to comment.