mirror of
https://github.com/uetchy/namae.git
synced 2025-03-18 04:50:32 +09:00
22 lines
541 B
JavaScript
22 lines
541 B
JavaScript
import React from 'react'
|
|
import { FaJsSquare } from 'react-icons/fa'
|
|
import { Card } from '../Cards'
|
|
import { DedicatedAvailability } from '../Availability'
|
|
|
|
export default function JsOrgCard({ name }) {
|
|
const lowerCase = name.toLowerCase()
|
|
|
|
return (
|
|
<Card title="js.org" key={lowerCase} nameList={[lowerCase]}>
|
|
{(name) => (
|
|
<DedicatedAvailability
|
|
name={`${name}.js.org`}
|
|
service="dns"
|
|
link={`https://${name}.js.org`}
|
|
icon={<FaJsSquare />}
|
|
/>
|
|
)}
|
|
</Card>
|
|
)
|
|
}
|