Skip to content

Commit

Permalink
modify landing page
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahlet5 committed Sep 8, 2018
1 parent 2298741 commit eb5ba38
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 15 deletions.
9 changes: 2 additions & 7 deletions src/app/addis-map/addis-map.component.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
<!--The content below is only a placeholder and can be replaced.-->
<div class="jumbotron">
<h1 class="display-4">Welcome to {{ title }}!</h1>
<p class="lead">This is a simple game to help users to understand our city Addis.</p>
<hr class="my-4">

</div>

<div class="container" *ngIf ="!flag_gameover" >

<div style="height: 300px;" leaflet (leafletMapReady)="onMapReady($event)" [leafletOptions]="options">
Expand Down Expand Up @@ -37,6 +31,7 @@ <h1 class="display-4">Welcome to {{ title }}!</h1>
<div *ngIf = "flag_gameover" >
your point is {{ total_point }}

<button class="btn btn-primary"> Play Again</button>
<button href="home" class="btn btn-primary"> Play Again</button>


</div>
10 changes: 5 additions & 5 deletions src/app/app.component.html
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
<div class="cover-container d-flex h-100 p-3 mx-auto flex-column">
<header class="masthead mb-auto">
<div class="inner">
<h3 class="masthead-brand">Cover</h3>
<h3 class="masthead-brand">Ethio-Location</h3>
<nav class="nav nav-masthead justify-content-center">
<a class="nav-link active" href="#">Home</a>
<a class="nav-link" href="#">Features</a>
<a class="nav-link" href="#">Contact</a>
<a class="nav-link active" href="home">Home</a>
<a class="nav-link" href="#">Help</a>

</nav>
</div>
</header>
<router-outlet></router-outlet>
<footer class="mastfoot mt-auto">
<div class="inner">
<p>Cover template for <a href="https://getbootstrap.com/">Bootstrap</a>, by <a href="https://twitter.com/mdo">@mdo</a>.</p>
<p> ©Ethio-Location 2018</p>
</div>
</footer>
</div>
Binary file removed src/app/background.jpg
Binary file not shown.
Binary file removed src/app/home/background.jpg
Binary file not shown.
Binary file removed src/app/home/bg.jpg
Binary file not shown.
6 changes: 3 additions & 3 deletions src/app/home/home.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@


<main role="main" class="inner cover">
<h1 class="cover-heading">Cover your page.</h1>
<p class="lead">Cover is a one-page template for building simple and beautiful home pages. Download, edit the text, and add your own fullscreen background photo to make it your own.</p>
<h1 class="cover-heading">Let's Explore Ethiopia.</h1>
<p class="lead">This is a simple game to help users to understand our capital city Addis..</p>
<p class="lead">
<a href="#" class="btn btn-lg btn-secondary">Learn more</a>
<a href="addis-map" class="btn btn-lg btn-secondary">Play</a>
</p>
</main>

Expand Down

0 comments on commit eb5ba38

Please sign in to comment.