Skip to content

Commit

Permalink
chore: styleguide changes
Browse files Browse the repository at this point in the history
  • Loading branch information
rajasegar committed Oct 29, 2020
1 parent 554c550 commit da4eb0d
Show file tree
Hide file tree
Showing 6 changed files with 46 additions and 228 deletions.
12 changes: 0 additions & 12 deletions app/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,3 @@ export const bootstrap = emberLifecycles.bootstrap;
export const mount = emberLifecycles.mount;
export const unmount = emberLifecycles.unmount;

/*
export const unmount = () => {
return emberLifecycles.unmount().then(() => {
const app = Array.from(document.querySelectorAll('script')).filter(s => s.src.endsWith('/navbar/assets/navbar.js'))
document.head.removeChild(app[0]);
const vendor = Array.from(document.querySelectorAll('script')).filter(s => s.src.endsWith('/navbar/assets/vendor.js'))
document.head.removeChild(vendor[0]);
});
}
*/
1 change: 1 addition & 0 deletions app/styles/app.css
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

3 changes: 2 additions & 1 deletion app/templates/application.hbs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<div class="h-16 flex items-center justify-between px-6 bg-primary text-white">
<div id="nav-wrapper" class="h-16 flex items-center justify-between px-6 bg-burnt-ember text-white">
<div class="flex items-center justify-between">
<span class="px-6 font-bold">Ember Micro-Frontends</span>
<LinkTo @route="index" class="p-6">Home</LinkTo>
<LinkTo @route="people" class="p-6">People</LinkTo>
<LinkTo @route="planets" class="p-6">Planets</LinkTo>
Expand Down
1 change: 1 addition & 0 deletions app/templates/loading.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<h1>Loading...</h1>
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"start": "ember serve --port 4200",
"test": "npm-run-all lint:* test:*",
"test:ember": "ember test",
"deploy": "npm run build && gh-pages -d dist"
"deploy": "git push && run build && gh-pages -d dist"
},
"devDependencies": {
"@ember/optional-features": "^1.3.0",
Expand Down Expand Up @@ -59,6 +59,7 @@
"edition": "octane"
},
"dependencies": {
"csz": "^1.2.0",
"single-spa": "^5.8.0",
"single-spa-ember": "^0.2.0"
}
Expand Down
Loading

0 comments on commit da4eb0d

Please sign in to comment.