@@ -1,10 +1,14 @@
-<div id="app-base-container">
- <h1>Tutorial Angular</h1>
- <h4>By Asmen</h4>
- <p>Part 2</p>
- <ul>
- <li>
- Sesuaikan letak Component yang telah dibuat
- </li>
- </ul>
+<div class="pure-g">
+ <div id="app-header" class="pure-u-24-24">
+ <app-header></app-header>
+ </div>
+ <div id="app-side-bar" class="pure-u-1-5">
+ <app-side-bar></app-side-bar>
+ <div id="app-main" class="pure-u-4-5">
+ <app-main></app-main>
</div>
+<div id="app-footer">
+ <app-footer></app-footer>
+</div>
@@ -1,3 +0,0 @@
-#app-base-container{
- padding: 30px;
-}
@@ -1 +1 @@
-<p>footer works!</p>
+<span>Tutorial angular by Asmen © 2019</span>
-<p>header works!</p>
+<h1>Tutorial Angular <span>By Asmen</span></h1>
@@ -1 +1,8 @@
-<p>main works!</p>
+<div id="app-base-container">
+ <p>Part 3</p>
+ <ul>
+ <li>
+ Keluarkan semua konten di app component dengan <code>ng-content</code>
+ </li>
+ </ul>
@@ -0,0 +1,3 @@
+#app-base-container{
+ padding: 30px;
+}
@@ -1,2 +1,26 @@
/* You can add global styles to this file, and also import other style files */
-@import "../node_modules/purecss/build/pure-min.css";
+@import "../node_modules/purecss/build/pure-min.css";
+
+#app-footer{
+ width: 100%;
+ position: fixed;
+ bottom: 0;
+ background-color: black;
+ color: silver;
+ display: block;
+ text-align: center;
+ font-size: 80%;
+ padding: 5px;
+#app-header{
+ background-color: aqua;
+#app-header h1{
+ font-size: 120%;
+#app-side-bar{
+ background-color: #ccc;