mirror of
https://github.com/uetchy/namae.git
synced 2025-08-21 10:18:12 +09:00
chore: rename props
This commit is contained in:
@@ -11,8 +11,8 @@ export default function CratesioCard({ name }) {
|
||||
{(name) => (
|
||||
<DedicatedAvailability
|
||||
name={name}
|
||||
provider="cratesio"
|
||||
url={`https://crates.io/crates/${name}`}
|
||||
service="cratesio"
|
||||
link={`https://crates.io/crates/${name}`}
|
||||
icon={<DiRust />}
|
||||
/>
|
||||
)}
|
||||
|
@@ -19,8 +19,8 @@ export default function DomainCard({ name }) {
|
||||
{(name) => (
|
||||
<DedicatedAvailability
|
||||
name={name}
|
||||
provider="domain"
|
||||
url={`https://domainr.com/?q=${name}`}
|
||||
service="domain"
|
||||
link={`https://domainr.com/?q=${name}`}
|
||||
icon={<FaMapSigns />}
|
||||
/>
|
||||
)}
|
||||
|
@@ -19,8 +19,8 @@ export default function GithubCard({ name }) {
|
||||
{(name) => (
|
||||
<DedicatedAvailability
|
||||
name={name}
|
||||
provider="github"
|
||||
url={`https://github.com/${name}`}
|
||||
service="github"
|
||||
link={`https://github.com/${name}`}
|
||||
prefix="github.com/"
|
||||
icon={<FaGithub />}
|
||||
/>
|
||||
|
@@ -13,13 +13,13 @@ export default function HomebrewCard({ name }) {
|
||||
<ExistentialAvailability
|
||||
name={name}
|
||||
target={`https://formulae.brew.sh/api/formula/${name}.json`}
|
||||
url={`https://formulae.brew.sh/formula/${name}`}
|
||||
link={`https://formulae.brew.sh/formula/${name}`}
|
||||
icon={<IoIosBeer />}
|
||||
/>
|
||||
<ExistentialAvailability
|
||||
name={name}
|
||||
target={`https://formulae.brew.sh/api/cask/${name}.json`}
|
||||
url={`https://formulae.brew.sh/cask/${name}`}
|
||||
link={`https://formulae.brew.sh/cask/${name}`}
|
||||
suffix=" (Cask)"
|
||||
icon={<IoIosBeer />}
|
||||
/>
|
||||
|
@@ -11,8 +11,8 @@ export default function JsOrgCard({ name }) {
|
||||
{(name) => (
|
||||
<DedicatedAvailability
|
||||
name={`${name}.js.org`}
|
||||
provider="dns"
|
||||
url={`https://${name}.js.org`}
|
||||
service="dns"
|
||||
link={`https://${name}.js.org`}
|
||||
icon={<FaJsSquare />}
|
||||
/>
|
||||
)}
|
||||
|
@@ -12,15 +12,15 @@ export default function NpmCard({ name }) {
|
||||
<>
|
||||
<DedicatedAvailability
|
||||
name={name}
|
||||
provider="npm"
|
||||
url={`https://www.npmjs.com/package/${name}`}
|
||||
service="npm"
|
||||
link={`https://www.npmjs.com/package/${name}`}
|
||||
prefix="npmjs.com/"
|
||||
icon={<FaNpm />}
|
||||
/>
|
||||
<DedicatedAvailability
|
||||
name={name}
|
||||
provider="npm-org"
|
||||
url={`https://www.npmjs.com/org/${name}`}
|
||||
service="npm-org"
|
||||
link={`https://www.npmjs.com/org/${name}`}
|
||||
prefix="npmjs.com/~"
|
||||
suffix=" (Org)"
|
||||
icon={<FaNpm />}
|
||||
|
@@ -9,8 +9,8 @@ export default function PypiCard({ name }) {
|
||||
{(name) => (
|
||||
<DedicatedAvailability
|
||||
name={name}
|
||||
provider="pypi"
|
||||
url={`https://pypi.org/project/${name}`}
|
||||
service="pypi"
|
||||
link={`https://pypi.org/project/${name}`}
|
||||
icon={<FaPython />}
|
||||
/>
|
||||
)}
|
||||
|
@@ -11,8 +11,8 @@ export default function S3Card({ name }) {
|
||||
{(name) => (
|
||||
<DedicatedAvailability
|
||||
name={name}
|
||||
provider="s3"
|
||||
url={`https://${name}.s3.amazonaws.com`}
|
||||
service="s3"
|
||||
link={`https://${name}.s3.amazonaws.com`}
|
||||
suffix=".s3.amazonaws.com"
|
||||
icon={<FaAws />}
|
||||
/>
|
||||
|
@@ -11,8 +11,8 @@ export default function SlackCard({ name }) {
|
||||
{(name) => (
|
||||
<DedicatedAvailability
|
||||
name={name}
|
||||
provider="slack"
|
||||
url={`https://${name}.slack.com`}
|
||||
service="slack"
|
||||
link={`https://${name}.slack.com`}
|
||||
suffix=".slack.com"
|
||||
icon={<FaSlack />}
|
||||
/>
|
||||
|
@@ -19,8 +19,8 @@ export default function TwitterCard({ name }) {
|
||||
{(name) => (
|
||||
<DedicatedAvailability
|
||||
name={name}
|
||||
provider="twitter"
|
||||
url={`https://twitter.com/${name}`}
|
||||
service="twitter"
|
||||
link={`https://twitter.com/${name}`}
|
||||
prefix="twitter.com/"
|
||||
icon={<FaTwitter />}
|
||||
/>
|
||||
|
Reference in New Issue
Block a user