Last active
March 19, 2019 11:27
-
-
Save simoneb/a69a9d3a6a3733502e2bbf1d2373c3e7 to your computer and use it in GitHub Desktop.
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
import myCustomTheme from '@my-custom-theme' | |
import { MyCustomFooter, MyCustomHomepage } from '@my-component-library' | |
export default { | |
// overriding theme | |
theme: myCustomTheme, // OR | |
theme: originalTheme => myCustomTheme, | |
// component presence | |
componentPresence: { | |
homepage: { | |
editorPicks: false | |
}, | |
footer: false, // OR | |
footer: { | |
newsletter: false | |
} | |
}, | |
// component content | |
componentContent: { | |
footer: { | |
companyInfo: "company information, address", | |
links: { | |
support: ["link 1", "link 2"], | |
resources: ["link 1", "link 2"] | |
} | |
} | |
}, | |
// overriding components | |
components: { | |
// homepage: MyCustomHomepage, | |
footer: MyCustomFooter | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment