Skip to content

Commit

Permalink
Merge branch 'develop' into chore/issue-306-uprade-to-nextjs-9-4
Browse files Browse the repository at this point in the history
  • Loading branch information
rhyslbw committed Jul 3, 2020
2 parents 632f077 + b43dd8a commit 72ad736
Show file tree
Hide file tree
Showing 13 changed files with 18 additions and 23 deletions.
2 changes: 1 addition & 1 deletion next.config.js
Expand Up @@ -85,7 +85,7 @@ module.exports = withPlugins(
experimental: {
modern: true,
},
exportTrailingSlash: true,
exportTrailingSlash: false,
/**
* Generate language specific pages under /[locale]/... paths e.g:
* /de/ leads to the the German landing page
Expand Down
2 changes: 1 addition & 1 deletion source/features/address/config.ts
@@ -1 +1 @@
export const ADDRESS_SEARCH_RESULT_PATH = '/address/';
export const ADDRESS_SEARCH_RESULT_PATH = '/address';
2 changes: 1 addition & 1 deletion source/features/blocks/config.ts
Expand Up @@ -2,4 +2,4 @@ export const BLOCK_BROWSE_PATH = '/browse-blocks';
export const BLOCKS_PER_PAGE_DEFAULT = 20;
export const BLOCKS_PER_PAGE_MAXIMUM = 50;
export const BLOCKS_PER_PAGE_MINIMUM = 5;
export const BLOCK_SEARCH_RESULT_PATH = '/block/';
export const BLOCK_SEARCH_RESULT_PATH = '/block';
4 changes: 2 additions & 2 deletions source/features/epochs/config.ts
@@ -1,5 +1,5 @@
export const EPOCH_SEARCH_RESULT_PATH = '/epoch/';
export const EPOCH_BROWSE_PATH = '/browse-epochs/';
export const EPOCH_SEARCH_RESULT_PATH = '/epoch';
export const EPOCH_BROWSE_PATH = '/browse-epochs';
export const EPOCH_BLOCKS_PER_PAGE = 10;
export const EPOCHS_PER_PAGE_DEFAULT = 10;
export const EPOCHS_PER_PAGE_MINIMUM = 5;
Expand Down
2 changes: 1 addition & 1 deletion source/features/errors/PageNotFoundError.tsx
Expand Up @@ -35,7 +35,7 @@ export default (props: IErrorProps) => {
</div>
<p className={styles.bottomContainerText}>{notFoundText}</p>
<div className={styles.bottomContainerLinks}>
<LocalizedLink href="/">
<LocalizedLink href="">
<span className={styles.bottomContainerLink}>
{translate('404:error.explorerTitle')}
</span>
Expand Down
2 changes: 1 addition & 1 deletion source/features/i18n/translations/de.json
Expand Up @@ -73,7 +73,7 @@
"cardanoFoundationYoutube": "Cardano Foundation Youtube",
"cardanoReddit": "Cardano Reddit",
"cardanoText": "Cardano ist NUR eine Softwareplattform und führt keine unabhängige Prüfung oder inhaltliche Überprüfung von Blockchain, digitaler Währung, Kryptowährung oder zugehöriger Technologie durch. Die Nutzung dieser Website und Software erfolgt auf eigenes Risiko. Diese Website wird \"wie besehen\" und nur als Referenz bereitgestellt.",
"cardanoSL": "Cardano-SL Quellcode",
"cardanoSource": "Cardano Quellcode",
"documentation": "Dokumentation",
"iohk": "Unterstützt von IOHK",
"joinCommunity": "Werde Teil der Community",
Expand Down
2 changes: 1 addition & 1 deletion source/features/i18n/translations/en.json
Expand Up @@ -73,7 +73,7 @@
"cardanoFoundationYoutube": "Cardano Foundation Youtube",
"cardanoReddit": "Cardano Reddit",
"cardanoText": "Cardano is a software platform ONLY and does not conduct any independent diligence on or substantive review of any blockchain, digital currency, cryptocurrency or associated technology. Your use of this website and software is entirely at your own risk, and this website is provided on an \"as is\" basis and for reference only.",
"cardanoSL": "Cardano SL Source",
"cardanoSource": "Cardano Source",
"documentation": "Documentation",
"iohk": "IOHK Supported Project",
"joinCommunity": "Join the community",
Expand Down
2 changes: 1 addition & 1 deletion source/features/i18n/translations/ja.json
Expand Up @@ -73,7 +73,7 @@
"cardanoFoundationYoutube": "Cardano Foundation Youtube",
"cardanoReddit": "Cardano Reddit",
"cardanoText": "Cardanoはソフトウェアプラットフォームのみを提供します。いかなるブロックチェーン、デジタル通貨、暗号通貨または関連技術についても、独立したデューディリジェンスや実質的なレビューを行うことはありません。本ウェブサイトおよびソフトウェアの使用は完全にユーザー自身の責任で行われるものとし、本ウェブサイトは現状有り姿ベースで参照の便宜を目的としてのみ提供されます。",
"cardanoSL": "Cardano SLソース",
"cardanoSource": "Cardano ソース",
"documentation": "ドキュメンテーション",
"iohk": "IOHK サポートされているプロジェクト",
"joinCommunity": "コミュニティに参加する",
Expand Down
2 changes: 1 addition & 1 deletion source/features/search/config.ts
@@ -1 +1 @@
export const NO_SEARCH_RESULTS_PATH = '/no-search-results/';
export const NO_SEARCH_RESULTS_PATH = '/no-search-results';
Expand Up @@ -19,7 +19,7 @@ export default ({ onAcceptUnmoderatedData }: IUnmoderatedDataWarning) => {
<p>{translate('stakePools.unmoderatedContent')}</p>
</div>
<div className={styles.contentBottom}>
<LocalizedLink href="/">
<LocalizedLink href="">
<span>{translate('stakePools.unmoderatedLeave')}</span>
</LocalizedLink>
<button onClick={onAcceptUnmoderatedData}>
Expand Down
2 changes: 1 addition & 1 deletion source/features/transactions/config.ts
@@ -1 +1 @@
export const TRANSACTION_SEARCH_RESULT_PATH = '/transaction/';
export const TRANSACTION_SEARCH_RESULT_PATH = '/transaction';
11 changes: 3 additions & 8 deletions source/widgets/layout/Footer.tsx
Expand Up @@ -64,7 +64,7 @@ export const Footer = (props: IFooterProps) => {
{translate('footer.textTitle')}{' '}
<a
className={styles.highlightedLink}
href="https://github.com/input-output-hk/cardano-sl"
href="https://github.com/input-output-hk"
>
{translate('footer.openSource')}
</a>{' '}
Expand All @@ -80,11 +80,6 @@ export const Footer = (props: IFooterProps) => {
{translate('footer.moreAbout')}
</h5>
<ul className={styles.aboutCardanoMenu}>
<li>
<a href={'https://shelleyexplorer.cardano.org/'}>
{translate('footer.shellyExplorer')}
</a>
</li>
<li>
<a href={'https://cardanofoundation.org/'}>
{translate('footer.cardanoFoundation')}
Expand All @@ -96,8 +91,8 @@ export const Footer = (props: IFooterProps) => {
</a>
</li>
<li>
<a href={'https://github.com/input-output-hk/cardano-sl'}>
{translate('footer.cardanoSL')}
<a href={'https://github.com/input-output-hk'}>
{translate('footer.cardanoSource')}
</a>
</li>
<li>
Expand Down
6 changes: 3 additions & 3 deletions source/widgets/layout/Header.tsx
Expand Up @@ -52,12 +52,12 @@ export const Header = observer((props: IHeaderProps) => {
<div className={styles.contentContainer}>
<div className={styles.brandType}>
<div className={styles.logoContainer}>
<LocalizedLink href="/">
<LocalizedLink href="">
<CardanoLogo className={styles.logo} />
</LocalizedLink>
</div>
<div className={styles.titleContainer}>
<LocalizedLink href="/">
<LocalizedLink href="">
<span className={styles.cardanoTitle}>Cardano</span>
<span className={styles.explorerTitle}>
{translate('header.explorer')}
Expand All @@ -69,7 +69,7 @@ export const Header = observer((props: IHeaderProps) => {
<div className={styles.tabs}>
<div className={styles.tabLeftLine} />
<div className={styles.tabCircle} />
<LocalizedLink href="/">
<LocalizedLink href="">
<span className={indexClassName}>
{translate('header.epochsBlocks')}
</span>
Expand Down

0 comments on commit 72ad736

Please sign in to comment.