Skip to content

Commit

Permalink
Adding basic website for TTL (TTLApp#451)
Browse files Browse the repository at this point in the history
  • Loading branch information
thamara committed Oct 17, 2020
1 parent f003667 commit 4c4e155
Show file tree
Hide file tree
Showing 19 changed files with 202 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"debug:main": "electron --inspect=5858 .",
"debug:render": "electron --remote-debugging-port=9222 .",
"lint": "npx npm-run-all lint:*",
"lint:css": "stylelint **/*.css",
"lint:css": "stylelint **/*.css website/styles/*.css",
"lint:eslint": "eslint . ",
"lint:markdown": "prettier docs/*.md *.md -c",
"lint:standard": "standard . ",
Expand Down
39 changes: 39 additions & 0 deletions website/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<!DOCTYPE html>

<html lang="en">

<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<meta name="description" content="Log work hours and get notifies when it's time to leave" />

<title>Time to Leave</title>

<link rel="stylesheet" type="text/css" href="styles/styles.css" />
<script src="js/index.js"></script>

<!-- Favicons (generated using https://realfavicongenerator.net/) -->
<link rel="apple-touch-icon" sizes="180x180" href="resources/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="resources/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="resources/favicon-16x16.png">
<link rel="manifest" href="resources/site.webmanifest">
<link rel="mask-icon" href="resources/safari-pinned-tab.svg" color="#5bbad5">
<link rel="shortcut icon" href="resources/favicon.ico">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-config" content="resources/browserconfig.xml">
<meta name="theme-color" content="#9a93c6">

<!-- TODO: Include Google Analytics -->
</head>

<body>
<div class="container">
<img src="resources/timer.svg" alt="App icon" width="150" />
<h1>Time to Leave</h1>
<p>Log work hours and get notified when it's time to leave the office and start to live</p>
<p><a href="https://github.com/thamara/time-to-leave">Source Code</a> | <a
href="https://github.com/thamara/time-to-leave/releases/latest">Download</a></p>
</div>
</body>

</html>
Empty file added website/js/index.js
Empty file.
Binary file added website/resources/android-chrome-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added website/resources/android-chrome-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added website/resources/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions website/resources/browserconfig.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="resources/mstile-150x150.png"/>
<TileColor>#ffffff</TileColor>
</tile>
</msapplication>
</browserconfig>
Binary file added website/resources/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added website/resources/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added website/resources/favicon.ico
Binary file not shown.
Binary file added website/resources/mstile-144x144.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added website/resources/mstile-150x150.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added website/resources/mstile-310x150.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added website/resources/mstile-310x310.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added website/resources/mstile-70x70.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
47 changes: 47 additions & 0 deletions website/resources/safari-pinned-tab.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions website/resources/site.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "Time to Leave",
"short_name": "Time to Leave",
"icons": [
{
"src": "android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"theme_color": "#9a93c6",
"background_color": "#9a93c6",
"display": "standalone"
}
65 changes: 65 additions & 0 deletions website/resources/timer.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions website/styles/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,700');

html {
--page-bground: rgb(39, 39, 39);
--page-color: white;
--accent-color: rgb(164, 158, 207);
}

body {
background-color: var(--page-bground);
color: var(--page-color);
text-align: center;
font-family: 'Montserrat', sans-serif;
}

a {
color: var(--accent-color);
}

.container {
padding-top: 3em;
}

0 comments on commit 4c4e155

Please sign in to comment.