Updated for Matrix
Corrected copy to clipboard
This commit is contained in:
parent
b45268b2c5
commit
06cc898770
10 changed files with 18 additions and 7 deletions
|
|
@ -27,7 +27,7 @@ export default function BirthdaysPage() {
|
|||
dateFormat="dd/MM" />
|
||||
<Heading>Command to set your birthday: </Heading>
|
||||
<Paragraph>{`/set-birthday ${Intl.DateTimeFormat().resolvedOptions().timeZone} ${moment(date).format("MM/DD")}`}</Paragraph>
|
||||
<CopyToClipboard onCopy={() => setCopied("Copied!")} text={`bd!setup ${Intl.DateTimeFormat().resolvedOptions().timeZone} ${moment(date).format("MM/DD")}`}>
|
||||
<CopyToClipboard onCopy={() => setCopied("Copied!")} text={`/set-birthday ${Intl.DateTimeFormat().resolvedOptions().timeZone} ${moment(date).format("MM/DD")}`}>
|
||||
<button className="mx-4 px-4 dark:text-gray-300 dark:bg-gray-500 bg-white">{copied}</button>
|
||||
</CopyToClipboard>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -35,7 +35,8 @@ export default function Home() {
|
|||
<LinkCard link="https://vannerba.st/watch" title={`${t('watch.title')}`} sub={t('watch.desc')}/>
|
||||
<LinkCard link="https://vannerba.st/discord" title={`Discord`} sub={t('discord')}/>
|
||||
<LinkCard link="https://vannerba.st/reddit" title={`Reddit`} sub={t('reddit')}/>
|
||||
<LinkCard link="https://vannerba.st/learn" title={t('learn.title')} sub={t('learn.desc')}/>
|
||||
<LinkCard link="https://vannerba.st/learn" title={t('learn.title')} sub={t('learn.desc')} />
|
||||
<LinkCard link="https://vannerba.st/matrix" title={`Matrix`} sub={t('matrix')} />
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue