Created
February 6, 2020 16:37
-
-
Save oscarreno/8e0a1fe6a641839eafe2d5393efbe46a 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
<!doctype html> | |
<html> | |
<head> | |
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> | |
</head> | |
<body> | |
<div aurelia-app="src/configure"> | |
Loading... | |
</div> | |
<script src="https://rawgit.com/aurelia-ui-toolkits/demo-materialize/gh-pages/jspm_packages/system.js"></script> | |
<script src="https://rawgit.com/aurelia-ui-toolkits/demo-materialize/gh-pages/jspm.config.js"></script> | |
<script> | |
System.import("aurelia-bootstrapper"); | |
</script> | |
</body> | |
</html> |
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
<template> | |
<div> | |
<footer md-footer style="padding-left: 0;"> | |
<div class="container"> | |
<div class="row"> | |
<div class="col l6 s12"> | |
<h5 class="white-text">Footer Content</h5> | |
<p class="grey-text text-lighten-4">You can use rows and columns here to organize your footer content.</p> | |
</div> | |
<div class="col l4 offset-l2 s12"> | |
<h5 class="white-text">Links</h5> | |
<ul> | |
<li><a class="grey-text text-lighten-3" href="#!">Link 1</a></li> | |
<li><a class="grey-text text-lighten-3" href="#!">Link 2</a></li> | |
<li><a class="grey-text text-lighten-3" href="#!">Link 3</a></li> | |
<li><a class="grey-text text-lighten-3" href="#!">Link 4</a></li> | |
</ul> | |
</div> | |
</div> | |
</div> | |
<div class="footer-copyright"> | |
<div class="container"> | |
© 2016 Copyright Text | |
<a class="grey-text text-lighten-4 right" href="#!">More Links</a> | |
</div> | |
</div> | |
</footer> | |
</div> | |
</template> |
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
export class App { } |
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
export async function configure(aurelia) { | |
await aurelia.loader.loadModule("materialize-css"); | |
aurelia.use | |
.standardConfiguration() | |
.developmentLogging() | |
.plugin("aurelia-materialize-bridge", bridge => bridge.useAll()) | |
.plugin("aurelia-validation") | |
.globalResources("src/shared/logger"); | |
await aurelia.start(); | |
aurelia.setRoot("src/app"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment