diff options
Diffstat (limited to 'layouts')
| -rw-r--r-- | layouts/404.html | 0 | ||||
| -rw-r--r-- | layouts/_default/baseof.html | 11 | ||||
| -rw-r--r-- | layouts/_default/list.html | 0 | ||||
| -rw-r--r-- | layouts/_default/single.html | 0 | ||||
| -rw-r--r-- | layouts/index.html | 153 | ||||
| -rw-r--r-- | layouts/partials/footer.html | 11 | ||||
| -rw-r--r-- | layouts/partials/head.html | 17 | ||||
| -rw-r--r-- | layouts/partials/header.html | 17 |
8 files changed, 209 insertions, 0 deletions
diff --git a/layouts/404.html b/layouts/404.html new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/layouts/404.html diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html new file mode 100644 index 0000000..5f8e2ec --- /dev/null +++ b/layouts/_default/baseof.html @@ -0,0 +1,11 @@ +<!DOCTYPE html> +<html> + {{- partial "head.html" . -}} + <body> + {{- partial "header.html" . -}} + <div id="content"> + {{- block "main" . }}{{- end }} + </div> + {{- partial "footer.html" . -}} + </body> +</html> diff --git a/layouts/_default/list.html b/layouts/_default/list.html new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/layouts/_default/list.html diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/layouts/_default/single.html diff --git a/layouts/index.html b/layouts/index.html new file mode 100644 index 0000000..0c222ff --- /dev/null +++ b/layouts/index.html @@ -0,0 +1,153 @@ +<!DOCTYPE html> +<html lang="en"> +{{- partial "head.html" . -}} +<body id="page-top"> +{{- partial "header.html" . -}} + <!-- Masthead--> + <header class="masthead"> + <div class="container px-4 px-lg-5 d-flex h-100 align-items-center justify-content-center"> + <div class="d-flex justify-content-center"> + <div class="text-center"> + {{ with site.Data.homepage.main }} + <h1 class="mx-auto my-0 text-uppercase">{{ .header.title }}</h1> + <h2 class="text-white-50 mx-auto mt-2 mb-5">{{ .header.description }}</h2> + <a class="btn btn-primary" href="{{ .header.button.url }}">{{ .header.button.text }}</a> + {{ end }} + </div> + </div> + </div> + </header> + <!-- About--> + {{ with site.Data.homepage.about }} + <section class="about-section text-center" id="about"> + <div class="container px-4 px-lg-5"> + <div class="row gx-4 gx-lg-5 justify-content-center"> + <div class="col-lg-8"> + <h2 class="text-white mb-4">{{ .title }}</h2> + <p class="text-white-50">{{ .desc }}</p> + {{ if .button.enable }} + <a class="btn btn-primary about-btn" href="{{ .button.url }}">{{ .button.text }}</a> + {{ end }} + </div> + </div> + <img class="img-fluid" src="{{ .image }}" alt="..." /> + </div> + </section> + {{ end }} + <!-- Projects--> + {{ with site.Data.homepage.projects }} + <section class="projects-section bg-light" id="projects"> + <div class="container px-4 px-lg-5"> + <!-- Featured Project Row--> + <div class="row gx-0 mb-4 mb-lg-5 align-items-center"> + <div class="col-xl-8 col-lg-7"><img class="img-fluid mb-3 mb-lg-0" src="{{ .card1.img }}" alt="..." /></div> + <div class="col-xl-4 col-lg-5"> + <div class="featured-text text-center text-lg-left"> + <h4>{{ .card1.title }}</h4> + <p class="text-black-50 mb-0">{{ .card1.text }}</p> + </div> + </div> + </div> + <!-- Project One Row--> + <div class="row gx-0 mb-5 mb-lg-0 justify-content-center"> + <div class="col-lg-6"><img class="img-fluid" src="{{ .card2.img }}" alt="..." /></div> + <div class="col-lg-6"> + <div class="bg-black text-center h-100 project"> + <div class="d-flex h-100"> + <div class="project-text w-100 my-auto text-center text-lg-left"> + <h4 class="text-white">{{ .card2.title }}</h4> + <p class="mb-0 text-white-50">{{ .card2.text }}</p> + <hr class="d-none d-lg-block mb-0 ms-0" /> + </div> + </div> + </div> + </div> + </div> + <!-- Project Two Row--> + <div class="row gx-0 justify-content-center"> + <div class="col-lg-6"><img class="img-fluid" src="{{ .card3.img }}" alt="..." /></div> + <div class="col-lg-6 order-lg-first"> + <div class="bg-black text-center h-100 project"> + <div class="d-flex h-100"> + <div class="project-text w-100 my-auto text-center text-lg-right"> + <h4 class="text-white">{{ .card3.title }}</h4> + <p class="mb-0 text-white-50">{{ .card3.text }}</p> + <hr class="d-none d-lg-block mb-0 me-0" /> + </div> + </div> + </div> + </div> + </div> + </div> + </section> + {{ end }} + <!-- Signup--> + <section class="signup-section" id="signup"> + <div class="container px-4 px-lg-5"> + <div class="row gx-4 gx-lg-5"> + <div class="col-md-10 col-lg-8 mx-auto text-center"> + <i class="far fa-paper-plane fa-2x mb-2 text-white"></i> + <h2 class="text-white mb-5">Subscribe to receive updates!</h2> + <form class="form-signup" id="contactForm" data-sb-form-api-token="{{ site.Params.sbtoken }}"> + <div class="row input-group-newsletter"> + <div class="col"><input class="form-control" id="emailAddress" type="email" placeholder="Enter email address..." aria-label="Enter email address..." data-sb-validations="required,email" /></div> + <div class="col-auto"><button class="btn btn-primary disabled" id="submitButton" type="submit">Notify Me!</button></div> + </div> + <div class="invalid-feedback mt-2" data-sb-feedback="emailAddress:required">An email is required.</div> + <div class="invalid-feedback mt-2" data-sb-feedback="emailAddress:email">Email is not valid.</div> + <div class="d-none" id="submitSuccessMessage"> + <div class="text-center mb-3 mt-2 text-white"> + <div class="fw-bolder">Form submission successful!</div> + </div> + </div> + <div class="d-none" id="submitErrorMessage"><div class="text-center text-danger mb-3 mt-2">Error sending message!</div></div> + </form> + </div> + </div> + </div> + </section> + <!-- Contact--> + <section class="contact-section bg-black"> + <div class="container px-4 px-lg-5"> + <div class="row gx-4 gx-lg-5"> + <div class="col-md-4 mb-3 mb-md-0"> + <div class="card py-4 h-100"> + <div class="card-body text-center"> + <i class="fas fa-map-marked-alt text-primary mb-2"></i> + <h4 class="text-uppercase m-0">Address</h4> + <hr class="my-4 mx-auto" /> + <div class="small text-black-50">{{ site.Params.address }}</div> + </div> + </div> + </div> + <div class="col-md-4 mb-3 mb-md-0"> + <div class="card py-4 h-100"> + <div class="card-body text-center"> + <i class="fas fa-envelope text-primary mb-2"></i> + <h4 class="text-uppercase m-0">Email</h4> + <hr class="my-4 mx-auto" /> + <div class="small text-black-50"><a href="#!">{{ site.Params.email }}</a></div> + </div> + </div> + </div> + <div class="col-md-4 mb-3 mb-md-0"> + <div class="card py-4 h-100"> + <div class="card-body text-center"> + <i class="fas fa-mobile-alt text-primary mb-2"></i> + <h4 class="text-uppercase m-0">Phone</h4> + <hr class="my-4 mx-auto" /> + <div class="small text-black-50">{{ site.Params.phone }}</div> + </div> + </div> + </div> + </div> + <div class="social d-flex justify-content-center"> + <a class="mx-2" href="{{ site.Params.twitter }}"><i class="fab fa-twitter"></i></a> + <a class="mx-2" href="{{ site.Params.facebook }}"><i class="fab fa-facebook-f"></i></a> + <a class="mx-2" href="{{ site.Params.github }}"><i class="fab fa-github"></i></a> + </div> + </div> + </section> +{{- partial "footer.html" . -}} +</body> +</html>
\ No newline at end of file diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100644 index 0000000..f4d5ef5 --- /dev/null +++ b/layouts/partials/footer.html @@ -0,0 +1,11 @@ +<!-- Footer--> +<footer class="footer bg-black small text-center text-white-50"><div class="container px-4 px-lg-5">Copyright © {{ .Name }} {{ now.Format "2006"}}</div></footer> +<!-- Bootstrap core JS--> +<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"></script> +<!-- Core theme JS--> +<script src="js/scripts.js"></script> +<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *--> +<!-- * * SB Forms JS * *--> +<!-- * * Activate your form at https://startbootstrap.com/solution/contact-forms * *--> +<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *--> +<script src="https://cdn.startbootstrap.com/sb-forms-latest.js"></script>
\ No newline at end of file diff --git a/layouts/partials/head.html b/layouts/partials/head.html new file mode 100644 index 0000000..ed7800a --- /dev/null +++ b/layouts/partials/head.html @@ -0,0 +1,17 @@ +<head> + <meta charset="utf-8" /> + <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" /> + <meta name="description" content="" /> + <meta name="author" content="" /> + <link rel="icon" href="{{ site.Params.favicon }}" /> + <!-- Font Awesome icons (free version)--> + <script src="https://use.fontawesome.com/releases/v6.1.0/js/all.js" crossorigin="anonymous"></script> + <!-- Google fonts--> + <link href="https://fonts.googleapis.com/css?family=Varela+Round" rel="stylesheet" /> + <link href="https://fonts.googleapis.com/css?family=Nunito:200,200i,300,300i,400,400i,600,600i,700,700i,800,800i,900,900i" rel="stylesheet" /> + <!-- Core theme CSS (includes Bootstrap)--> + <link href="css/styles.css" rel="stylesheet" /> + {{ $title := print .Site.Title " | " .Title }} + {{ if .IsHome }}{{ $title = .Site.Title }}{{ end }} + <title>{{ $title }}</title> +</head>
\ No newline at end of file diff --git a/layouts/partials/header.html b/layouts/partials/header.html new file mode 100644 index 0000000..203d04f --- /dev/null +++ b/layouts/partials/header.html @@ -0,0 +1,17 @@ +<!-- Navigation--> +<nav class="navbar navbar-expand-lg navbar-light fixed-top" id="mainNav"> + <div class="container px-4 px-lg-5"> + <a class="navbar-brand" href="#page-top"><img src="{{ .Site.Params.logo }}"></a> + <button class="navbar-toggler navbar-toggler-right" type="button" data-bs-toggle="collapse" data-bs-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation"> + Menu + <i class="fas fa-bars"></i> + </button> + <div class="collapse navbar-collapse" id="navbarResponsive"> + <ul class="navbar-nav ms-auto"> + {{ range site.Menus.main }} + <li class="nav-item"><a class="nav-link" href="{{ .URL }}">{{ .Name }}</a></li> + {{ end }} + </ul> + </div> + </div> +</nav>
\ No newline at end of file |
