initial commit
This commit is contained in:
commit
15fc415301
30 changed files with 4359 additions and 0 deletions
10
public/templates/404.html
Normal file
10
public/templates/404.html
Normal file
|
@ -0,0 +1,10 @@
|
|||
{{>header}}
|
||||
<main class="error_container">
|
||||
<img src="images/robot-404.svg" alt="Image of broken robot." />
|
||||
<div class="error_content">
|
||||
<h1>Aw! snap</h1>
|
||||
<h2>404 Page Not Found!</h2>
|
||||
<p>Go to <a href="/">search page</a></p>
|
||||
</div>
|
||||
</main>
|
||||
{{>footer}}
|
20
public/templates/about.html
Normal file
20
public/templates/about.html
Normal file
|
@ -0,0 +1,20 @@
|
|||
{{>header}}
|
||||
<main class="about-container">
|
||||
<h1>Websurfx</h1>
|
||||
<small
|
||||
>a lightening fast, privacy respecting, secure meta search engine</small
|
||||
>
|
||||
<article>
|
||||
Lorem ipsum dolor sit amet, officia excepteur ex fugiat reprehenderit enim
|
||||
labore culpa sint ad nisi Lorem pariatur mollit ex esse exercitation amet.
|
||||
Nisi anim cupidatat excepteur officia. Reprehenderit nostrud nostrud ipsum
|
||||
Lorem est aliquip amet voluptate voluptate dolor minim nulla est proident.
|
||||
Nostrud officia pariatur ut officia. Sit irure elit esse ea nulla sunt ex
|
||||
occaecat reprehenderit commodo officia dolor Lorem duis laboris cupidatat
|
||||
officia voluptate. Culpa proident adipisicing id nulla nisi laboris ex in
|
||||
Lorem sunt duis officia eiusmod. Aliqua reprehenderit commodo ex non
|
||||
excepteur duis sunt velit enim. Voluptate laboris sint cupidatat ullamco ut
|
||||
ea consectetur et est culpa et culpa duis.
|
||||
</article>
|
||||
</main>
|
||||
{{>footer}}
|
15
public/templates/footer.html
Normal file
15
public/templates/footer.html
Normal file
|
@ -0,0 +1,15 @@
|
|||
<footer>
|
||||
<div>
|
||||
<span>Powered By <b>Websurfx</b></span><span>-</span><span>a lightening fast, privacy respecting, secure meta
|
||||
search engine</span>
|
||||
</div>
|
||||
<div>
|
||||
<ul>
|
||||
<li><a href="#">Source Code</a></li>
|
||||
<li><a href="#">Issues/Bugs</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
|
||||
</html>
|
11
public/templates/header.html
Normal file
11
public/templates/header.html
Normal file
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title></title>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<link href="static/style.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<header>{{>navbar}}</header>
|
7
public/templates/index.html
Normal file
7
public/templates/index.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
{{>header}}
|
||||
<main class="search-container">
|
||||
<img src="images/fps_logo.png" alt="Websurfx meta-search engine logo" />
|
||||
{{>search_bar}}
|
||||
</main>
|
||||
<script src="static/index.js"></script>
|
||||
{{>footer}}
|
6
public/templates/navbar.html
Normal file
6
public/templates/navbar.html
Normal file
|
@ -0,0 +1,6 @@
|
|||
<nav>
|
||||
<ul>
|
||||
<li><a href="about">about</a></li>
|
||||
<li><a href="settings">settings</a></li>
|
||||
</ul>
|
||||
</nav>
|
20
public/templates/search.html
Normal file
20
public/templates/search.html
Normal file
|
@ -0,0 +1,20 @@
|
|||
{{>header}}
|
||||
<main class="results">
|
||||
{{>search_bar}}
|
||||
<div class="results_aggregated">
|
||||
{{#each results}}
|
||||
<div class="result">
|
||||
<h1><a href="{{this.visitingUrl}}">{{{this.title}}}</a></h1>
|
||||
<small>{{this.url}}</small>
|
||||
<p>{{{this.description}}}</p>
|
||||
<div class="upstream_engines">
|
||||
{{#each engine}}
|
||||
<span>{{this}}</span>
|
||||
{{/each}}
|
||||
</div>
|
||||
</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
</main>
|
||||
<script src="static/index.js"></script>
|
||||
{{>footer}}
|
9
public/templates/search_bar.html
Normal file
9
public/templates/search_bar.html
Normal file
|
@ -0,0 +1,9 @@
|
|||
<div class="search_bar">
|
||||
<input
|
||||
type="search"
|
||||
name="search-box"
|
||||
value="{{this.pageQuery}}"
|
||||
placeholder="Type to search"
|
||||
/>
|
||||
<button type="submit" onclick="search_web()">search</button>
|
||||
</div>
|
5
public/templates/settings.html
Normal file
5
public/templates/settings.html
Normal file
|
@ -0,0 +1,5 @@
|
|||
{{>header}}
|
||||
<main class="settings">
|
||||
<h1>Page is under construction</h1>
|
||||
</main>
|
||||
{{>footer}}
|
Loading…
Add table
Add a link
Reference in a new issue