Skip to content

Commit

Permalink
Merge pull request #7 from praveen-klaytn/dev
Browse files Browse the repository at this point in the history
Updated Banner Details
  • Loading branch information
praveen-kaia authored Jun 24, 2024
2 parents 025450b + 7415eb2 commit eaf590c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 15 deletions.
6 changes: 3 additions & 3 deletions src/components/common/Banner/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const responsive = {
const BANNER_API = process.env.NEXT_PUBLIC_BANNER_API
const BANNER_BASE_PATH = BANNER_API + '/klaytnsafe/web'
export default function Banner(): ReactElement {
const [banners, setBanners] = useState([])
const [banners, setBanners] = useState<any>([])
useEffect(() => {
if (BANNER_API) {
const fetchData = async () => {
Expand All @@ -39,8 +39,8 @@ export default function Banner(): ReactElement {
return (
<>
{banners.length > 0 && (
<Carousel responsive={responsive}>
{banners.map((_banner, index) => (
<Carousel responsive={responsive} autoPlay={true} autoPlaySpeed={4000} infinite={true}>
{banners.map((_banner: any, index: any) => (
<a key={index} href={_banner['url']} target="_blank">
<img width="100%" alt="Banner" src={BANNER_BASE_PATH + _banner['path']} />
</a>
Expand Down
18 changes: 8 additions & 10 deletions src/pages/api-reference.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,33 +30,31 @@ const SafeAPIs = () => (
<TableRow>
<TableCell>Safe Gateway service</TableCell>
<TableCell>
<ExternalLink href="https://safe-gateway.klaytn.foundation/cgw/api">
https://safe-gateway.klaytn.foundation/cgw/api
<ExternalLink href="https://safe-gateway.kaia.io/cgw/api">
https://safe-gateway.kaia.io/cgw/api
</ExternalLink>
</TableCell>
</TableRow>
<TableRow>
<TableCell>Safe Cypress Transaction service</TableCell>
<TableCell>
<ExternalLink href="https://docs-safe.klaytn.foundation/txs-cypress/">
https://docs-safe.klaytn.foundation/txs-cypress/
<ExternalLink href="https://docs-safe.kaia.io/txs-cypress/">
https://docs-safe.kaia.io/txs-cypress/
</ExternalLink>
</TableCell>
</TableRow>
<TableRow>
<TableCell>Safe Baobab Transaction service</TableCell>
<TableCell>Safe Kairos Transaction service</TableCell>
<TableCell>
<ExternalLink href="https://docs-safe.klaytn.foundation/txs-baobab/">
https://docs-safe.klaytn.foundation/txs-baobab/
<ExternalLink href="https://docs-safe.kaia.io/txs-baobab/">
https://docs-safe.kaia.io/txs-baobab/
</ExternalLink>
</TableCell>
</TableRow>
<TableRow>
<TableCell>Safe Config service</TableCell>
<TableCell>
<ExternalLink href="https://docs-safe.klaytn.foundation/cfg/">
https://docs-safe.klaytn.foundation/cfg/
</ExternalLink>
<ExternalLink href="https://docs-safe.kaia.io/cfg/">https://docs-safe.kaia.io/cfg/</ExternalLink>
</TableCell>
</TableRow>
</TableBody>
Expand Down
4 changes: 2 additions & 2 deletions src/pages/terms.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const SafeTerms = () => (
The following are the benefits of Kaia Safe.
<ol start={1}>
<li>
<b>Store and Transfer KLAY, KCTs (KIP7, KIP13):</b> Users can deposit your virtual assets such as KLAY and Kaia
<b>Store and Transfer KAIA, KCTs (KIP7, KIP13):</b> Users can deposit your virtual assets such as KAIA and Kaia
Compatible Tokens (KCTs, fungible or non-fungible) to a KaiaSafe address and also transfer to a destination
address.
</li>
Expand Down Expand Up @@ -331,7 +331,7 @@ const SafeTerms = () => (
<ol start={1}>
<li>
To the fullest extent permitted by applicable laws, in no event shall we be liable for any losses, including any
loss of your asset (including without limitation, KLAY, KCTs or any other virtual assets either tangible or
loss of your asset (including without limitation, KAIA, KCTs or any other virtual assets either tangible or
intangible) or any indirect or consequential losses, or for any loss of profit, revenue, contracts, data,
goodwill or other similar losses.
</li>
Expand Down

0 comments on commit eaf590c

Please sign in to comment.