Skip to content

Commit

Permalink
Merge pull request #313 from Magickbase/develop
Browse files Browse the repository at this point in the history
Deploy to production
  • Loading branch information
Keith-CY authored Aug 16, 2023
2 parents 5668c0d + b14a508 commit 1d22d57
Show file tree
Hide file tree
Showing 10 changed files with 312 additions and 274 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/check-spell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,4 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- id: changed-files
uses: tj-actions/changed-files@v37

- uses: crate-ci/typos@master
with:
files: ${{ steps.changed-files.outputs.all_changed_files }}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"@typescript-eslint/parser": "^5.53.0",
"eslint": "^8.34.0",
"eslint-config-next": "^13.2.1",
"eslint-config-prettier": "^8.6.0",
"eslint-config-prettier": "^9.0.0",
"husky": "^8.0.3",
"lint-staged": "^13.1.2",
"postcss": "^8.4.21",
Expand Down
2 changes: 1 addition & 1 deletion public/locales/en/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"youtube": "Youtube",
"discover": "Discover",
"wiki": "Wiki",
"press_kit": "Press Kit",
"media_kit": "Media Kit",
"documentation": "Documentation",
"ecosystem": "Ecosystem",
"cryptape": "Cryptape",
Expand Down
2 changes: 1 addition & 1 deletion public/locales/es/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"youtube": "Youtube",
"discover": "Descubre",
"wiki": "Wiki",
"press_kit": "Kit de Prensa",
"media_kit": "Kit de Medios",
"documentation": "Documentación",
"ecosystem": "Ecosistema",
"cryptape": "Cryptape",
Expand Down
2 changes: 1 addition & 1 deletion public/locales/fr/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"youtube": "Youtube",
"discover": "Découvrir",
"wiki": "Wiki",
"press_kit": "Dossier de presse",
"media_kit": "Kit média",
"documentation": "Documentation",
"ecosystem": "Écosystème",
"cryptape": "Cryptape",
Expand Down
2 changes: 1 addition & 1 deletion public/locales/pt/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"youtube": "Youtube",
"discover": "Descobrir",
"wiki": "Wiki",
"press_kit": "Kit de Imprensa",
"media_kit": "Kit de Mídia",
"documentation": "Documentação",
"ecosystem": "Ecossistema",
"cryptape": "Cryptape",
Expand Down
2 changes: 1 addition & 1 deletion public/locales/zh/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"youtube": "Youtube",
"discover": "发现",
"wiki": "Wiki",
"press_kit": "Press Kit",
"media_kit": "Media Kit",
"documentation": "文档",
"ecosystem": "生态系统",
"cryptape": "Cryptape",
Expand Down
5 changes: 4 additions & 1 deletion src/components/Footer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ export const Footer: FC<FooterProps> = props => {
{ label: t('mining'), url: '/mining' },
{ label: t('wallets'), url: '/wallets' },
{ label: t('wiki'), url: 'https://www.wikiwand.com/en/Nervos_Network' },
{ label: t('press_kit'), url: 'https://projects.invisionapp.com/boards/WK3VAZJUYCM/' },
{
label: t('media_kit'),
url: 'https://www.figma.com/proto/PbqKEC0DvJBp4eT4jgv8EN/Nervos-Brand-Kit?page-id=0%3A1&type=design&node-id=1-35&viewport=662%2C31%2C0.74&t=4nViQP5esfOcPCoM-1&scaling=min-zoom&mode=design',
},
],
},
{
Expand Down
6 changes: 5 additions & 1 deletion src/pages/knowledge-base/[slug].page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,11 @@ const Post = ({ post, recents, categories }: Props) => {
<TOCItem id="post_title" className={styles.title} titleInTOC={post.title}>
{post.title}
</TOCItem>
<div className={styles.subtitle}>{post.subtitle}</div>
<div className={styles.subtitle}>
<ReactMarkdown remarkPlugins={[remarkGfm]} rehypePlugins={[rehypeRaw, rehypeSanitize]}>
{post.subtitle || ''}
</ReactMarkdown>
</div>

{post.coverImage && (
<Image
Expand Down
Loading

1 comment on commit 1d22d57

@vercel
Copy link

@vercel vercel bot commented on 1d22d57 Aug 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.