2019-07-31 13:11:00 +09:00
|
|
|
import React from 'react'
|
|
|
|
import { FaJsSquare } from 'react-icons/fa'
|
2019-07-31 18:54:28 +09:00
|
|
|
import { Card } from '../Cards'
|
2019-07-31 13:11:00 +09:00
|
|
|
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`}
|
2019-07-31 13:40:16 +09:00
|
|
|
service="dns"
|
|
|
|
link={`https://${name}.js.org`}
|
2019-07-31 13:11:00 +09:00
|
|
|
icon={<FaJsSquare />}
|
|
|
|
/>
|
|
|
|
)}
|
|
|
|
</Card>
|
|
|
|
)
|
|
|
|
}
|