-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.jade
executable file
·39 lines (35 loc) · 2.11 KB
/
index.jade
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<!DOCTYPE html>
html(lang="en")
head
meta(charset="UTF-8")
meta(name="viewport", content="width=device-width, initial-scale=1.0")
meta(http-equiv="X-UA-Compatible", content="ie=edge")
link(rel="stylesheet", href="assets/css/main.css")
title My Wikipedia Viewer App
body
.container
h1 Wikipedia Viewer
form#searchForm
input#searchInput(type="text" placeholder="Enter what you are looking for here..." autofocus)
input#submitForm(type="submit" value="Search")
#formResult
.or Or...
a#randomSearch(href="https://en.wikipedia.org/wiki/Special:Random")
svg(xmlns='http://www.w3.org/2000/svg', viewbox='0 0 40 40')
style(type='text/css').
.st1{clip-path:url(#SVGID_2_);}
circle.st0(cx='20.1', cy='20', r='18.3')
g
defs
rect#SVGID_1_(x='6.3', y='10.9', width='27.8', height='19')
clippath#SVGID_2_
use(xlink:href='#SVGID_1_', style='overflow:visible;')
g.st1
path(d='M9.1 26c-0.6 0-1-0.4-1-1s0.4-1 1-1c2 0 4-0.8 5.4-2.2 0.4-0.4 1-0.4 1.4 0s0.4 1 0 1.4C14.1 25 11.6 26 9.1 26z')
g.st1
path(d='M20 0C9 0 0 9 0 20s9 20 20 20 20-9 20-20S31 0 20 0zM20 38c-9.9 0-18-8.1-18-18S10.1 2 20 2s18 8.1 18 18S29.9 38 20 38z')
path(d='M31.8 25.8L29 28.6c-0.2 0.2-0.5 0.3-0.7 0.3 -0.3 0-0.5-0.1-0.7-0.3 -0.4-0.4-0.4-1 0-1.4l1.1-1.1h-2.3c-2.6 0-5-1-6.8-2.8l-5-5c-1.4-1.4-3.4-2.2-5.4-2.2 -0.6 0-1-0.4-1-1s0.4-1 1-1c2.5 0 5 1 6.8 2.8l5 5c1.5 1.4 3.4 2.2 5.4 2.2h2.3L27.6 23c-0.4-0.4-0.4-1 0-1.4s1-0.4 1.4 0l2.8 2.8C32.2 24.7 32.2 25.4 31.8 25.8z')
path(d='M31.8 15.7L29 18.5c-0.2 0.2-0.5 0.3-0.7 0.3 -0.3 0-0.5-0.1-0.7-0.3 -0.4-0.4-0.4-1 0-1.4l1.1-1.1h-2.3c-2 0-4 0.8-5.4 2.2 -0.2 0.2-0.5 0.3-0.7 0.3 -0.3 0-0.5-0.1-0.7-0.3 -0.4-0.4-0.4-1 0-1.4 1.8-1.8 4.2-2.8 6.8-2.8h2.3l-1.1-1.1c-0.4-0.4-0.4-1 0-1.4s1-0.4 1.4 0l2.8 2.8C32.2 14.6 32.2 15.3 31.8 15.7z')
span Get a random article
script(src="https://code.jquery.com/jquery-3.1.1.min.js" integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8=" crossorigin="anonymous")
script(src="assets/js/functions.js")