-
-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update trf bca and add mandiri
- Loading branch information
1 parent
2d5b022
commit f56ae81
Showing
3 changed files
with
68 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
import * as React from 'react'; | ||
import CopyToClipboard from 'react-copy-to-clipboard'; | ||
|
||
import Accent from '@/components/Accent'; | ||
import Button from '@/components/buttons/Button'; | ||
import Layout from '@/components/layout/Layout'; | ||
import Seo from '@/components/Seo'; | ||
|
||
const copyText = { | ||
idle: 'Copy Nomor Rekening', | ||
success: 'Copied to clipboard 🥳', | ||
}; | ||
|
||
export default function TrfPage() { | ||
const [copyStatus, setCopyStatus] = React.useState<string>(copyText.idle); | ||
|
||
return ( | ||
<Layout> | ||
<Seo | ||
templateTitle='Rekening Mandiri Clarence' | ||
description='Buka untuk melihat Nomor Rekening Clarence' | ||
robots='noindex,nofollow' | ||
/> | ||
|
||
<main> | ||
<section className=''> | ||
<div className='layout flex flex-col items-center py-12 text-center'> | ||
<h1>Rekening Mandiri</h1> | ||
<p className='mt-8 text-xs font-medium uppercase tracking-wider text-gray-500 dark:text-gray-400'> | ||
Atas Nama | ||
</p> | ||
<p className='mt-1 text-lg font-bold tracking-wide'> | ||
<Accent>CLARENCE</Accent> | ||
</p> | ||
<div className='mt-2 flex flex-col items-center space-y-4'> | ||
<code className='px-4 py-2 text-lg font-bold'> | ||
<Accent>1420019966695</Accent> | ||
</code> | ||
<CopyToClipboard | ||
text='1420019966695' | ||
onCopy={() => { | ||
setCopyStatus(copyText.success); | ||
setTimeout(() => setCopyStatus(copyText.idle), 1500); | ||
}} | ||
> | ||
<Button>{copyStatus}</Button> | ||
</CopyToClipboard> | ||
</div> | ||
</div> | ||
</section> | ||
</main> | ||
</Layout> | ||
); | ||
} |
f56ae81
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
theodorusclarence – ./
theodorusclarence-git-main-theodorusclarence.vercel.app
theodorusclarence.com
theodorusclarence-theodorusclarence.vercel.app