Skip to content

Commit

Permalink
[fix] Header & Footer navigator links
Browse files Browse the repository at this point in the history
[optimize] update Upstream packages
  • Loading branch information
TechQuery committed Aug 6, 2024
1 parent 651bc4e commit 037a118
Show file tree
Hide file tree
Showing 4 changed files with 138 additions and 140 deletions.
4 changes: 0 additions & 4 deletions components/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@ export const MainRoutes: () => Link[] = () => [
title: 'Git Pager',
path: '/article/editor',
},
{
title: t('source_code'),
path: 'https://github.com/kaiyuanshe/OSS-toolbox',
},
{
title: t('volunteer'),
path: '/volunteer',
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"@mdx-js/loader": "^3.0.1",
"@mdx-js/react": "^3.0.1",
"@next/mdx": "^14.2.5",
"@sentry/nextjs": "^8.23.0",
"@sentry/nextjs": "^8.24.0",
"classnames": "^2.5.1",
"copy-webpack-plugin": "^12.0.2",
"file-type": "^19.4.0",
Expand All @@ -32,7 +32,7 @@
"next-pwa": "~5.6.0",
"next-ssr-middleware": "^0.8.2",
"next-with-less": "^3.0.1",
"primereact": "^10.7.0",
"primereact": "^10.8.2",
"react": "^18.3.1",
"react-bootstrap": "^2.10.4",
"react-bootstrap-editor": "^2.0.4",
Expand All @@ -44,7 +44,7 @@
"turndown-plugin-gfm": "^1.0.2",
"web-utility": "^4.4.0",
"webpack": "^5.93.0",
"yaml": "^2.4.5"
"yaml": "^2.5.0"
},
"devDependencies": {
"@babel/plugin-proposal-decorators": "^7.24.7",
Expand All @@ -53,7 +53,7 @@
"@types/lodash": "^4.17.7",
"@types/node": "^18.19.43",
"@types/react": "^18.3.3",
"@types/turndown": "^5.0.4",
"@types/turndown": "^5.0.5",
"eslint": "^8.57.0",
"eslint-config-next": "^14.2.5",
"eslint-config-prettier": "^9.1.0",
Expand Down
13 changes: 11 additions & 2 deletions pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const AppShell: FC<AppProps> = observer(({ Component, pageProps, router }) => (
<footer className="border-top bg-light text-secondary py-5">
<Container>
<Row className="align-items-center small text-center g-2">
<Col xs={12} sm={8}>
<Col xs={12} sm={6}>
<a
className="flex-fill d-flex justify-content-center align-items-center"
href="https://vercel.com?utm_source=create-next-app&amp;utm_medium=default-template&amp;utm_campaign=create-next-app"
Expand All @@ -59,7 +59,16 @@ const AppShell: FC<AppProps> = observer(({ Component, pageProps, router }) => (
</span>
</a>
</Col>
<Col xs={12} sm={1}>
<Col xs={6} sm={3}>
<a
target="_blank"
href="https://github.com/kaiyuanshe/OSS-toolbox"
rel="noreferrer"
>
{t('source_code')}
</a>
</Col>
<Col xs={6} sm={3} className="position-relative">
<a
className="stretched-link"
target="_blank"
Expand Down
Loading

1 comment on commit 037a118

@github-actions
Copy link

Choose a reason for hiding this comment

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

Deploy preview for oss-toolbox ready!

✅ Preview
https://oss-toolbox-kolm4x1hk-techquerys-projects.vercel.app

Built with commit 037a118.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.