Skip to content

Commit

Permalink
footer and page title
Browse files Browse the repository at this point in the history
  • Loading branch information
Pomog committed Jan 18, 2024
1 parent c4c2daf commit 60f2220
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 28 deletions.
4 changes: 2 additions & 2 deletions cmd/web/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ func run() (*driver.DB, error) {
gob.Register(map[string]int{})

// read flags
inProduction := flag.Bool("production", true, "Application is in production")
useCashe := flag.Bool("cashe", true, "Use templates cache")
inProduction := flag.Bool("production", false, "Application is in production")
useCashe := flag.Bool("cashe", false, "Use templates cache")
dbHost := flag.String("dbhost", "localhost", "Database HOST")
dbName := flag.String("dbname", "bookings", "Database Name")
dbUser := flag.String("dbuser", "thoryur", "Database user name")
Expand Down
18 changes: 9 additions & 9 deletions static/css/styles.css
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
.my-footer {
height: 5em;
background-color: #163b65;
margin-top: 1.5em;
padding: 1em;
color: rgba(192, 213, 0, 0.815);
font-size: 80%;
height: 7rem;
background-color: #163b65;
margin-top: 1em;
padding: 1em;
color: rgba(192, 213, 0, 0.815);
font-size: 80%;
}

.notie-container {
box-shadow: none;
box-shadow: none;
}

.datepicker {
z-index: 10000;
}
z-index: 10000;
}
33 changes: 19 additions & 14 deletions templates/base.layout.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

<title>My Nice Page</title>
<title>Bead and Breakfast</title>

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/css/bootstrap.min.css"
integrity="sha384-B0vP5xmATw1+K9KRQjQERJvTumQW0nPEzvF6L/Z6nronJ3oUOFUFpCjEUQouq2+l" crossorigin="anonymous">
Expand Down Expand Up @@ -84,20 +84,25 @@



<footer class="my-footer">
<div class="row">
<div class="col">
left
</div>

<div class="col">
center
</div>
<footer class="row my-footer">
<div class="col text-left">
Welcome to Bead & Breakfast, your home away from home.
<br>Explore the charm of our cozy rooms
<br>and exceptional hospitality.
</div>

<div class="col">
right
</div>
</div>
<div class="col text-center">
<strong>Bead &amp; Breakfast</strong>
<br> 221B Baker Street
<br> London
<br> United Kingdom
</div>

<div class="col text-right">
Discover the beauty of London with us.
<br>Our central location provides easy access to
<br>iconic landmarks and cultural experiences.
</div>
</footer>

<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"
Expand Down
7 changes: 4 additions & 3 deletions templates/home.page.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@


<div class="container">
<div class="row">
<!-- <div class="row">
<div class="col">
<h1> Column1 </h1>
</div>
Expand All @@ -60,11 +60,12 @@
<div class="col">
<h1> Column4 </h1>
</div>
</div>
</div> -->
<div class="row">
<div class="col">
<h1 class="text-center mt-4"> Welcome </h1>
<p> Some text. Some text. Some text. Some text. </p>
<p> Indulge in comfort with our exquisite range of rooms. From elegant suites to charming single rooms, we have the perfect
accommodation for every traveler. </p>
</div>
</div>
<div class="row">
Expand Down

0 comments on commit 60f2220

Please sign in to comment.