Skip to content

Commit

Permalink
Fix copyright time (#50)
Browse files Browse the repository at this point in the history
* Fix copyright time

* Fix slack_channel
  • Loading branch information
JayJay1024 authored Jun 17, 2024
1 parent 0f23893 commit f1a8265
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ jobs:
enable_cache: true
enable_notify_comment: true
enable_notify_slack: true
slack_channel: website
slack_channel: public-darwinia-websites-apps
slack_webhook: ${{ secrets.SLACK_INCOMING_WEBHOOK_URL }}
2 changes: 1 addition & 1 deletion .github/workflows/deploy-prd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ jobs:
prod_mode: true
enable_cache: true
enable_notify_slack: true
slack_channel: website
slack_channel: public-darwinia-websites-apps
slack_webhook: ${{ secrets.SLACK_INCOMING_WEBHOOK_URL }}

2 changes: 1 addition & 1 deletion .github/workflows/deploy-stg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ jobs:
project_name: home-io
enable_cache: true
enable_notify_slack: true
slack_channel: website
slack_channel: public-darwinia-websites-apps
slack_webhook: ${{ secrets.SLACK_INCOMING_WEBHOOK_URL }}

2 changes: 1 addition & 1 deletion src/components/PageFooter/PageFooter.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class PageFooter extends Component {
return (
<div className={`${styles.navFooter} ${className}`} style={style}>
<div className={`${styles.recordPC}`}>
<div className={styles.recordText}>{t('footer:record_1', {year: 2022})}</div>
<div className={styles.recordText}>{t('footer:record_1', {year: new Date().getFullYear()})}</div>
<div className={`${styles.social}`}>
<a href="https://github.com/itering" target="_blank" rel="noopener noreferrer">
<div className={styles.githubIcon}></div>
Expand Down
2 changes: 1 addition & 1 deletion src/locales/en-us.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"sample_lang": "中文"
},
"footer": {
"record_1": "©2018-{{year}} ITERING TECH PTE. LTD."
"record_1": "© {{year}} ITERING TECH PTE. LTD."
},

"home_page": {
Expand Down
2 changes: 1 addition & 1 deletion src/locales/zh-cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"sample_lang": "English"
},
"footer": {
"record_1": "©2018-{{year}} ITERING TECH PTE. LTD."
"record_1": "© {{year}} ITERING TECH PTE. LTD."
},

"home_page": {
Expand Down

0 comments on commit f1a8265

Please sign in to comment.