Skip to content

Commit

Permalink
Added Basic Search
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Billington authored and Tom Billington committed Jun 26, 2021
1 parent e2c3e80 commit be456fd
Show file tree
Hide file tree
Showing 9 changed files with 144 additions and 5 deletions.
1 change: 1 addition & 0 deletions _includes/header-home.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<div class="container-full">
<div class="header ">
{% include nav.html %}
{% include search-box.html %}
<header class="container grid-xl landing-header">
<div class="columns pt-12 pb-8">
<div class="column col-11 col-mx-auto text-center">
Expand Down
1 change: 1 addition & 0 deletions _includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<div class="container-full">
<div class="header ">
{% include nav.html %}
{% include search-box.html %}
<header class="container grid-xl landing-header">
<div class="pb-16"></div>
</header>
Expand Down
7 changes: 7 additions & 0 deletions _includes/search-box.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<div class="container grid-xl">
<form action="/search.html">
<label for="search_box" class="text-light mb-2">Search:</label>
<input type="text" id="search_box" name="query" style="margin: 0 15px">
<input type="submit" class="btn" value="Search">
</form>
</div>
3 changes: 0 additions & 3 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
{{ content }}

{% include footer.html %}

<script async defer src="https://cdn.simpleanalytics.io/hello.js"></script>
<noscript><img src="https://api.simpleanalytics.io/hello.gif" alt=""></noscript>

</body>
</html>
28 changes: 28 additions & 0 deletions _layouts/search.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
layout: default
---
{% include header.html %}

<div class="container-full">
<div class="container grid-xl">
<div class="mt-12 show-md"></div>
<div class="mt-8"></div>
<div class="columns negative-m-xl">
<div class="column col-12">
<ul class="breadcrumb">
<li class="breadcrumb-item">
<a href="{{ site.url }}{{ site.baseurl }}">Help Center Home</a>
</li>
<li class="breadcrumb-item">
<a href="#">Search Results</a>
</li>
</ul>
<h2 class="text-light text-bold">Search Results</h2>
</div>
{{ content }}
</div>
</div>
</div>



3 changes: 1 addition & 2 deletions _posts/account/2020-06-30-delete-account.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

---
layout: post
title: "How do I delete my account?"
Expand All @@ -14,4 +13,4 @@ short-description: Find out how to delete your account.

If you wish to delete your account [submit a support ticket](https://www.earndoing.com/sites/contact.aspx) and a member of our team will assist you.

Once your account has been removed from Earn Doing, there is no way to recover it, and all balances will be lost.
Once your account has been removed from Earn Doing, there is no way to recover it, and all balances will be lost.
6 changes: 6 additions & 0 deletions assets/js/lunr.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit be456fd

Please sign in to comment.