Skip to content

Commit 49823d1

Browse files
committed
2nd-major-commit: starting changes in app component
1 parent 8a09522 commit 49823d1

File tree

6 files changed

+33
-22
lines changed

6 files changed

+33
-22
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
body{
2+
min-width: 320px;
3+
padding: 0%;
4+
margin: 0%;
5+
}
6+
7+
/* Main */
8+
main{
9+
margin-top: 100px;
10+
}
Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
1-
<!DOCTYPE html>
2-
<html lang="en">
3-
<head>
4-
<meta charset="UTF-8">
5-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7-
<title>To Do List</title>
8-
</head>
9-
<body class="container-fluid p-2 bg-primary">
10-
<header>
11-
<h1 class="text-white">To Do List</h1>
12-
</header>
13-
<main class="text-center text-white bg-danger m-1">
14-
<p>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Laudantium, nobis fuga ab doloribus itaque autem tempora quod vero accusantium eos repudiandae alias! Impedit nostrum nobis omnis. Fuga sapiente beatae ea ab. Vitae, ullam neque saepe reiciendis ea mollitia nostrum hic quasi adipisci delectus commodi dicta molestiae doloribus aut in voluptatibus.</p>
15-
</main>
16-
<footer class="bg-primary">
17-
<p class="text-white">This app has been made using Angular framework.</p>
18-
</footer>
19-
</body>
20-
</html>
1+
2+
<header>
3+
<!-- Fixed Navbar -->
4+
<nav class="navbar fixed-top navbar-expand-lg navbar-dark bg-primary">
5+
<a class="navbar-brand" href="#">
6+
&nbsp;<img src="./assets/images/todo_list_icon.png" width="30" height="30"
7+
class="d-inline-block align-top bg-white rounded" alt="ToDoList icon">
8+
<p class="text-white d-inline mt-0 font-weight-bold">&nbsp;&nbsp;{{title}}</p>
9+
</a>
10+
</nav>
11+
</header>
12+
<main class="p-1">
13+
<section class="p-1">
14+
<div class="text-center text-white bg-danger m-1">
15+
<p>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Laudantium, nobis fuga ab doloribus itaque autem tempora quod vero accusantium eos repudiandae alias! Impedit nostrum nobis omnis. Fuga sapiente beatae ea ab. Vitae, ullam neque saepe reiciendis ea mollitia nostrum hic quasi adipisci delectus commodi dicta molestiae doloribus aut in voluptatibus.</p>
16+
</div>
17+
</section>
18+
</main>
19+
<footer class="bg-primary fixed-bottom text-center pt-2">
20+
<p class="text-white">This app has been made using Angular framework. You can get its source code <a href="https://github.com/SidP919/Web-Development/tree/master/Angular/to_do_list" target="_blank" class="text-white">here</a></p>
21+
</footer>

Angular/to_do_list/src/app/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ import { Component } from '@angular/core';
66
styleUrls: ['./app.component.css']
77
})
88
export class AppComponent {
9-
title = 'to_do_list';
9+
title = 'To-Do-List';
1010
}
139 KB
Loading
18.5 KB
Loading

Angular/to_do_list/src/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<meta name="viewport" content="width=device-width, initial-scale=1">
88
<link rel="icon" type="image/x-icon" href="favicon.ico">
99
</head>
10-
<body>
10+
<body background="./assets/images/to-do-list-bg.jpg">
1111
<app-root></app-root>
1212
</body>
1313
</html>

0 commit comments

Comments
 (0)