diff options
| author | Rubén Beltrán del Río <ben@nsovocal.com> | 2017-01-19 00:25:01 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-01-19 00:25:01 -0600 |
| commit | 287fa13b3e600b2340895a5463a288bf08101bb5 (patch) | |
| tree | 68b35cdd1bea40a6d51665ac7ed6dc4044eeda49 /static | |
| parent | cc69fef4b7e1587a91a0603d4bd1a46d0b133dd5 (diff) | |
Add Login (#2)
* Add dependencies
* Add barebones app
* Ignore .DS_Store
* Add base static assets
* Expose port on docker
* Ignore env files
* Add instructions to use env.dist
* Add twitter configs
* Use latest node version
* Read env file properly
* Add dependencies to start parsing twitter
* Add helper for twitter login operations
* Add handler for titter login routes
* Use twitter handler
* Add JWT related keys
* Add jwt dependencies
* Move index static file
* Rename twitter handler to auth, add jwt support
* Add new yarn lock
* Add instructions for twitter
* Remove twitter image
* Fix return value lint errors
* Ignore require-yield errors in linter
Diffstat (limited to 'static')
| -rw-r--r-- | static/css/app.css | 42 | ||||
| -rw-r--r-- | static/favicon.ico | bin | 0 -> 5430 bytes | |||
| -rw-r--r-- | static/windex.html | 36 |
3 files changed, 78 insertions, 0 deletions
diff --git a/static/css/app.css b/static/css/app.css new file mode 100644 index 0000000..956a281 --- /dev/null +++ b/static/css/app.css @@ -0,0 +1,42 @@ +* { + margin: 0; + padding: 0; +} + +/* General styles */ + +body { + font-family: "VT323", sans-serif; +} + +a { + color: #00e; +} + +a:active { + color: #e00; +} + +a:visited { + color: #551a8b; +} + +h1 { + font-size: 48px; +} + +section { + padding: 24px; +} + +/* Header */ + +#dasein .dasein-header { + text-align: center; +} + +#dasein .dasein-header a { + font-size: 96px; +} + +/* The stream */ diff --git a/static/favicon.ico b/static/favicon.ico Binary files differnew file mode 100644 index 0000000..24318f3 --- /dev/null +++ b/static/favicon.ico diff --git a/static/windex.html b/static/windex.html new file mode 100644 index 0000000..f4a6ac5 --- /dev/null +++ b/static/windex.html @@ -0,0 +1,36 @@ +<!doctype html> +<html> + <head> + <meta charset="utf-8"> + <meta name="description" content="A social network."> + + <title>✨ dasein ✨</title> + + <link href='https://fonts.googleapis.com/css?family=VT323' rel='stylesheet' > + <link href="/css/app.css" rel="stylesheet"> + + </head> + <body> + <div id="dasein"> + <header class="dasein-header"> + <a href="/">Dasein</a> + </header> + <section class="dasein-login"> + <h1>Login.</h1> + </section> + <section class="dasein-stream"> + <h1>@rbdr</h1> + <article class="dasein-post"> + <aside> + <img + src="https://pbs.twimg.com/profile_images/795825767649132544/tHHYHC3-_mini.jpg" + alt="Avatar for @rbdr"> + <a href="/@rbdr">@rbdr</a> on <time datetime="2016-12-17T18:16">2016-12-17 18:16</time> + </aside> + <div>Hi, this is a test. 💸</div> + </article> + </section> + </div> + </body> +</html> + |