Skip to content

Commit

Permalink
react-app, deploy: Add github url to footerlinks config
Browse files Browse the repository at this point in the history
  • Loading branch information
hochiw committed Jul 29, 2022
1 parent e791776 commit 3e06030
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions deploy/likedao/templates/react-app.config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ data:
{{- end}}
],
footerLinks: {
githubLink: {{ .Values.reactApp.githubLink | quote }},
tokenLinks: [
{{- range .Values.reactApp.footerLinks.tokenLinks }}
{{- with .}}
Expand Down
1 change: 1 addition & 0 deletions deploy/likedao/values.sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ reactApp:
- chainId: likecoin-mainnet-2
link: http://localhost:3000
footerLinks:
githubLink: https://github.com/likecoin/likedao
tokenLinks:
- name: osmosis
link: https://app.osmosis.zone/?from=ATOM&to=LIKE
Expand Down
1 change: 1 addition & 0 deletions react-app/config/config.template.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ window.appConfig = {
authEndpoint: "http://localhost:8080/auth",
chainLinks: [],
footerLinks: {
githubLink: "https://github.com/likecoin/likedao",
tokenLinks: [
{
name: "osmosis",
Expand Down
2 changes: 2 additions & 0 deletions react-app/src/config/Config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ export interface ChainInfo {
}

interface FooterLinks {
githubLink: string;
tokenLinks: TokenLink[];
contactSupport?: string;
}
Expand Down Expand Up @@ -74,6 +75,7 @@ const defaultConfig: IConfig = {
authEndpoint: "http://localhost:8080/auth",
chainLinks: [],
footerLinks: {
githubLink: "https://github.com/likecoin/likedao",
tokenLinks: [
{
name: "osmosis",
Expand Down

0 comments on commit 3e06030

Please sign in to comment.