-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8968b40
commit eaf231e
Showing
4 changed files
with
16 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export {default as Default} from "../default"; | ||
export {default as Concert} from "../concert"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export {default as Default} from "../default"; | ||
export {default as Concert} from "../concert"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,10 @@ | ||
import Abstract from './Abstract'; | ||
|
||
import defaultCfg from '../configs/default';// <-- Change config file | ||
import concertCfg from '../configs/concert'; | ||
import * as Configs from "../configs/modules/production" | ||
|
||
export function Default() {// <-- Change function name | ||
return (<Abstract conf={defaultCfg}/>);// <-- Match config import | ||
}; | ||
|
||
export function Concert() { | ||
return (<Abstract conf={concertCfg}/>); | ||
}; | ||
export const Pages = Object.entries(Configs).map((cfg)=>{ | ||
return { | ||
name: cfg[0], | ||
func: ()=>{return (<Abstract conf={cfg[1]}/>);} | ||
} | ||
}); |