|
1 | | -import { Component, For, Show } from 'solid-js'; |
| 1 | +import { type Component, For, Show } from 'solid-js'; |
2 | 2 | import { Title } from '@solidjs/meta'; |
3 | 3 | import github from '../assets/github.svg'; |
4 | | -import { ContributorsDataProps } from './Contributors.data'; |
| 4 | +import type { ContributorsDataProps } from './Contributors.data'; |
5 | 5 | import Footer from '../components/Footer'; |
6 | 6 | import { useRouteReadyState } from '../utils/routeReadyState'; |
7 | 7 | import { useAppState } from '../AppContext'; |
@@ -31,7 +31,7 @@ const CoreMember: Component<CoreMemberProps> = (props) => { |
31 | 31 | <hr class="self-stretch" /> |
32 | 32 | <small>{props.role}</small> |
33 | 33 | <p class="block">{props.bio}</p> |
34 | | - <a target="_blank" rel="noopener" href={`https://github.com/${props.github}`}> |
| 34 | + <a target="_blank" rel="noreferrer noopener" href={`https://github.com/${props.github}`}> |
35 | 35 | <span class="sr-only">GitHub URL of {props.github}</span> |
36 | 36 | <img class="w-7" alt={`GitHub URL of ${props.github}`} src={github} /> |
37 | 37 | </a> |
@@ -100,7 +100,7 @@ const Contributors: Component<{ data: ContributorsDataProps }> = (props) => { |
100 | 100 | <h2 class="text-2xl mb-5 font-semibold text-solid-default dark:text-solid-darkdefault"> |
101 | 101 | {t('contributors.contributors')} |
102 | 102 | </h2> |
103 | | - <a target="_blank" href="https://github.com/solidjs/solid/graphs/contributors"> |
| 103 | + <a target="_blank" href="https://github.com/solidjs/solid/graphs/contributors" rel="noreferrer"> |
104 | 104 | <img src="https://camo.githubusercontent.com/c2d6e18c0cf67d82e51738442d4082326b7cf63a1552e9d27f773eafe0d3d3be/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f736f6c69642f636f6e7472696275746f72732e7376673f77696474683d38393026627574746f6e3d66616c7365" /> |
105 | 105 | </a> |
106 | 106 | </div> |
@@ -130,7 +130,7 @@ const Contributors: Component<{ data: ContributorsDataProps }> = (props) => { |
130 | 130 | <a |
131 | 131 | target="_blank" |
132 | 132 | class="text-solid-default dark:text-solid-darkdefault " |
133 | | - href="https://opencollective.com/solid" |
| 133 | + href="https://opencollective.com/solid" rel="noreferrer" |
134 | 134 | > |
135 | 135 | Contribute today » |
136 | 136 | </a> |
|
0 commit comments