Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default IQ Dashboard to dark theme, update URLs, and implement translation #291

Merged
merged 27 commits into from
Jan 13, 2025
Merged
Show file tree
Hide file tree
Changes from 20 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
0a72440
update default theme to dark
Yomzy2223 Jan 8, 2025
882bd7e
update braindoa text and link to iq and new link respectively
Yomzy2223 Jan 8, 2025
cfdaebe
implement translation and update logo
Yomzy2223 Jan 8, 2025
35dd5b0
update locale switch compoenent to include other languages
Yomzy2223 Jan 8, 2025
2f02de8
implement next-intl with i18n routing and translations for metadata
Yomzy2223 Jan 8, 2025
9a99261
lint
Yomzy2223 Jan 8, 2025
03eae3f
update metadata and remove braindao images
Yomzy2223 Jan 8, 2025
5bb75e6
update favicon
Yomzy2223 Jan 8, 2025
54e8bc9
rename BrainDao to IQLogo
Yomzy2223 Jan 8, 2025
2e4f7a9
update metadata translations and BraindaoLogo3 to IQLogo3
Yomzy2223 Jan 9, 2025
50531ce
complete translating dashboard page
Yomzy2223 Jan 9, 2025
5c90422
implement swap page translation
Yomzy2223 Jan 9, 2025
9366e9a
add translations for stake page and all it's components and sub compo…
Yomzy2223 Jan 9, 2025
971e6cc
add translations for voting page
Yomzy2223 Jan 9, 2025
0c6b0eb
add translations for stats page
Yomzy2223 Jan 9, 2025
b2b7ba4
add translations for treasury page
Yomzy2223 Jan 9, 2025
781dbce
add sidebar translations
Yomzy2223 Jan 9, 2025
62038bf
update links to the link from i18n
Yomzy2223 Jan 9, 2025
1121fc2
add translations for header
Yomzy2223 Jan 9, 2025
bb8b358
update kr and zh translations
Yomzy2223 Jan 9, 2025
74f9c4c
remove iqlogo3 component
Yomzy2223 Jan 9, 2025
b44bb60
fix iq logo svg issue and rename locale layout
Yomzy2223 Jan 10, 2025
b6a4184
add all missing translations
Yomzy2223 Jan 10, 2025
fb939cc
resolve svgs duplicate path issue
Yomzy2223 Jan 10, 2025
7725c1a
fix sidebar active item issue
Yomzy2223 Jan 10, 2025
a661eb5
update og image ref url
Yomzy2223 Jan 13, 2025
040e6ca
add missing translations
Yomzy2223 Jan 13, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion next.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
const createNextIntlPlugin = require('next-intl/plugin')

const withNextIntl = createNextIntlPlugin()

/** @type {import('next').NextConfig} */

const nextConfig = {
Expand Down Expand Up @@ -57,4 +61,4 @@ const nextConfig = {
skipTrailingSlashRedirect: true,
}

module.exports = nextConfig
module.exports = withNextIntl(nextConfig)
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"lodash": "^4.17.21",
"lucide-react": "^0.456.0",
"next": "^13.2.3",
"next-intl": "^3.26.3",
"next-redux-wrapper": "^7.0.5",
"next-seo": "^5.5.0",
"nextjs-progressbar": "^0.0.14",
Expand Down
16 changes: 16 additions & 0 deletions public/KR.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 27 additions & 0 deletions public/US.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions public/ZH.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/favicon.ico
Binary file not shown.
Binary file removed public/images/braindao-logo-4.png
Binary file not shown.
Binary file removed public/images/braindao-logo-dark.png
Binary file not shown.
Binary file removed public/images/braindao-logo-light.png
Binary file not shown.
4 changes: 2 additions & 2 deletions public/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "BrainDAO",
"short_name": "BrainDAO",
"name": "IQ",
"short_name": "IQ",
"icons": [
{
"src": "/android-chrome-192x192.png",
Expand Down
Binary file modified public/og_image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 0 additions & 5 deletions public/svgs/braindao-logo-dark.svg

This file was deleted.

8 changes: 0 additions & 8 deletions public/svgs/braindao-logo-light.svg

This file was deleted.

21 changes: 21 additions & 0 deletions public/svgs/iq-logo-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading