Skip to content

Commit

Permalink
📝 Add minimalist companion website.
Browse files Browse the repository at this point in the history
  • Loading branch information
elbywan committed Oct 9, 2017
1 parent 7f8ea0f commit 10f2197
Show file tree
Hide file tree
Showing 2 changed files with 87 additions and 0 deletions.
59 changes: 59 additions & 0 deletions docs/index.css
@@ -0,0 +1,59 @@
body {
margin: 0;
padding: 0;
font-family: 'Raleway', sans-serif;
}

a {
text-decoration: none;
color: inherit;
}

section.front-section {
width: 90%;
padding: 0% 5%;
height: 100vh;
color: #eaeaea;
background: black;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
section.front-section > * {
max-width: 100%;
}

div.logo {
height: 30vh;
}
div.logo img {
height: 100%;
filter: brightness(2);
}
div.logo-name {
font-family: 'Josefin Sans', sans-serif;
font-size: 3em;
margin: 20px;
border-bottom: 2px solid #c397d8;
}
div.shortdesc {
text-align: center;
}
a.github {
margin: 20px;
display: block;
font-size: 1.2em;
line-height: 1.5em;
border-bottom: 2px solid #e78c45;
transition: all 0.25s;
}
a.github:hover {
color: #e78c45;
}
pre.npm {
border-bottom: 2px solid #d54e53;
}
pre.unpkg {
border-bottom: 2px solid #b9ca4a;
}
28 changes: 28 additions & 0 deletions docs/index.html
@@ -0,0 +1,28 @@
<!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 href="https://fonts.googleapis.com/css?family=Raleway|Josefin+Sans" rel="stylesheet">
<link href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/tomorrow-night-bright.min.css" rel="stylesheet">
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
<link href="./index.css" rel="stylesheet">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"></script>
<title>Wretch - The fetch wrapper</title>
</head>
<body>
<section class="front-section">
<div class="logo">
<img src="https://cdn.rawgit.com/elbywan/wretch/08831345/wretch.svg" alt="wretch-logo">
</div>
<div class="logo-name">Wretch</div>
<div class="shortdesc"><p>A tiny (&lt; 2.2Kb g-zipped) wrapper built around fetch with an intuitive syntax.</p></div>
<a class="github" href="https://github.com/elbywan/wretch"><i class="fa fa-github" aria-hidden="true"></i> Github</a>
<a href="https://www.npmjs.com/package/wretch"><pre class="npm"><code class="bash">npm i wretch</code></pre></a>
<a href="https://unpkg.com/wretch"><pre class="unpkg"><code class="html">&lt;script src="https://unpkg.com/wretch">&lt;/script></code></pre></a>
</section>

<script>hljs.initHighlightingOnLoad()</script>
</body>
</html>

0 comments on commit 10f2197

Please sign in to comment.