-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #331 from P4-Games/develop
Deploy 20240127
- Loading branch information
Showing
5 changed files
with
51 additions
and
16 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -1,16 +1,21 @@ | ||
import React from 'react' | ||
import PropTypes from 'prop-types' | ||
import Link from 'next/link' | ||
|
||
function NofTown() { | ||
function NofTown({ defaultClassName = 'navbar__center__li__noftown' }) { | ||
return ( | ||
<Link | ||
href='https://app.gather.town/app/YzUVkrf98XW8wz4a/Number%20One%20Fan' | ||
target='_blank' | ||
rel='noreferrer' | ||
> | ||
<button className='navbar__center__li__noftown'>NoF Town</button> | ||
<button className={defaultClassName}>NoF Town</button> | ||
</Link> | ||
) | ||
} | ||
|
||
NofTown.propTypes = { | ||
defaultClassName: PropTypes.string | ||
} | ||
|
||
export default NofTown |
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 |
---|---|---|
@@ -1,20 +1,20 @@ | ||
import React from 'react' | ||
import PropTypes from 'prop-types' | ||
import Link from 'next/link' | ||
import { useTranslation } from 'next-i18next' | ||
|
||
function Whitepaper() { | ||
function Whitepaper({ defaultClassName = 'navbar__center__li__whitepaper' }) { | ||
const { t } = useTranslation() | ||
|
||
return ( | ||
<Link | ||
href='https://number-one-fan.gitbook.io/doc/' | ||
target='_blank' | ||
rel='noreferrer' | ||
// spy='true' | ||
> | ||
<button className='navbar__center__li__whitepaper'>{t('whitepaper')}</button> | ||
<Link href='https://number-one-fan.gitbook.io/doc/' target='_blank' rel='noreferrer'> | ||
<button className={defaultClassName}>{t('whitepaper')}</button> | ||
</Link> | ||
) | ||
} | ||
|
||
Whitepaper.propTypes = { | ||
defaultClassName: PropTypes.string | ||
} | ||
|
||
export default Whitepaper |
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