summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Burwell <ben@benburwell.com>2019-08-27 15:11:56 -0400
committerBen Burwell <ben@benburwell.com>2019-08-27 15:11:56 -0400
commit0dc04812456434b475fda80858fcffeed1232a8a (patch)
treec7c368e82cc7e7543da8fa2e470600a6ab6ba333
parentc46084fb9d8cc738d9eecad144c1767bc21a6bfb (diff)
un-jekyllify
-rw-r--r--.build.yml12
-rw-r--r--CNAME1
-rw-r--r--_config.yml18
-rw-r--r--_layouts/master.html44
-rw-r--r--bootstrap-override.scss18
-rw-r--r--index.html73
-rw-r--r--medicmate.scss86
7 files changed, 85 insertions, 167 deletions
diff --git a/.build.yml b/.build.yml
index 085b3f0..3b5f959 100644
--- a/.build.yml
+++ b/.build.yml
@@ -1,9 +1,4 @@
image: debian/stretch
-packages:
-- rsync
-- ruby
-- ruby-dev
-- zlib1g-dev
sources:
- https://git.sr.ht/~benburwell/medicmate.io
secrets:
@@ -15,11 +10,6 @@ triggers:
condition: always
to: Ben Burwell <ben@benburwell.com>
tasks:
-- setup: |
- sudo gem install github-pages
-- build: |
- cd medicmate.io
- jekyll build
- deploy: |
sshopts="-o StrictHostKeyChecking=no"
- rsync --delete --rsh="ssh $sshopts" -rP $site/_site/ deploy@vela.asnull.net:$site
+ rsync --delete --rsh="ssh $sshopts" -rP $site deploy@$site:$site
diff --git a/CNAME b/CNAME
deleted file mode 100644
index ed76afa..0000000
--- a/CNAME
+++ /dev/null
@@ -1 +0,0 @@
-www.medicmate.io
diff --git a/_config.yml b/_config.yml
deleted file mode 100644
index 0d49752..0000000
--- a/_config.yml
+++ /dev/null
@@ -1,18 +0,0 @@
-title: MedicMate -
-email: info@medicmate.io
-description: >
- MedicMate is the mobile reference solution for EMS agencies. Get
- real-time hospital divert status updates and see current travel times.
- Agency administrators can customize the SOPs/SOGs available on devices,
- as well as choosing from a selection of state-wide medical and MCI
- protocols.
-keywords:
- - ems field guide
- - ems protocol
- - ems software
-
-# Build settings
-markdown: kramdown
-exclude:
- - Gemfile
- - Gemfile.lock
diff --git a/_layouts/master.html b/_layouts/master.html
deleted file mode 100644
index 93216cf..0000000
--- a/_layouts/master.html
+++ /dev/null
@@ -1,44 +0,0 @@
-<!doctype html>
-<html>
- <head>
- <meta charset="UTF-8">
- <title>{{ page.title }}</title>
- <link href="https://fonts.googleapis.com/css?family=Roboto:300,300i" rel="stylesheet">
- <link rel="stylesheet" type="text/css" href="/medicmate.css">
- <meta name="viewport" content="width=device-width,initial-scale=1">
- {% if page.description %}
- <meta name="description" content="{{ page.description }}">
- <meta property="og:description" content="{{ page.description }}">
- {% else %}
- <meta name="description" content="{{ site.description }}">
- <meta property="og:description" content="{{ site.description }}">
- {% endif %}
- <meta name="keywords" content="{{ site.keywords | join: ', ' }}">
-
- <meta property="og:title" content="{{ page.title }}">
- <meta property="og:site_name" content="MedicMate">
- </head>
- <body class="medicmate-www">
- <header>
- <h1>Introducing MedicMate</h1>
- <p><em>The EMS field reference you&rsquo;ve been waiting for</em></p>
- </header>
-
- <main>
- {{ content }}
- </main>
-
- <footer>
- <p>&copy; 2017</p>
- <p>MedicMate is built by and for EMS professionals.</p>
- </footer>
- <script>
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
- })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
- ga('create', 'UA-90532913-1', 'auto');
- ga('send', 'pageview');
- </script>
- </body>
-</html>
diff --git a/bootstrap-override.scss b/bootstrap-override.scss
deleted file mode 100644
index 199ed95..0000000
--- a/bootstrap-override.scss
+++ /dev/null
@@ -1,18 +0,0 @@
----
----
-
-$orange: #dd8800;
-$link-color: #00e;
-$light: #999;
-$extra-light: #ddd;
-$ultra-light: #eee;
-$dark: #333;
-
-$horizontal-break: 600px;
-$vertical-break: 800px;
-
-body {
- font-family: 'Roboto', sans-serif;
- font-weight: 300;
-}
-
diff --git a/index.html b/index.html
index 221a7c1..b388b39 100644
--- a/index.html
+++ b/index.html
@@ -1,27 +1,46 @@
----
-title: MedicMate - Digital EMS field guide with real-time hospital status
-layout: master
----
-
-<p>MedicMate is a mobile app that turns smartphones and tablets into a field reference tailored to your agency that&rsquo;s always up-to-date.</p>
-
-<h2>Features</h2>
-
-<ul>
- <li>Real-time hospital divert status pushed to field units</li>
- <li>Completely customizable SOP/SOG references</li>
- <li>Pre-loaded state medical and MCI protocols</li>
- <li>Agency contact list</li>
- <li>Assorted tools: unit conversion, calculators, vital sign ranges, assessment tools</li>
-</ul>
-
-<h2>Reliability</h2>
-
-<p>MedicMate is designed to work with intermittent Internet connectivity. All content is saved to each device so it&rsquo;s always available. When you connect to the Internet, your latest content is downloaded.</p>
-
-<h2>Get Started</h2>
-
-<p>The first step in your journey to a better field reference is to create your agency&rsquo;s MedicMate account.</p>
-
-<p>Contact <a href="mailto:sales@medicmate.io">sales@medicmate.io</a> to get started today!</p>
-
+<!doctype html>
+<html>
+ <head>
+ <meta charset="UTF-8">
+ <title>MedicMate - Digital EMS field guide with real-time hospital status</title>
+ <link href="https://fonts.googleapis.com/css?family=Roboto:300,300i" rel="stylesheet">
+ <link rel="stylesheet" type="text/css" href="/medicmate.css">
+ <meta name="viewport" content="width=device-width,initial-scale=1">
+ <meta name="description" content="MedicMate is the mobile reference solution for EMS agencies. Get real-time hospital divert status updates and see current travel times. Agency administrators can customize the SOPs/SOGs available on devices, as well as choosing from a selection of state-wide medical and MCI protocols.">
+ </head>
+ <body class="medicmate-www">
+ <header>
+ <h1>Introducing MedicMate</h1>
+ <p><em>The EMS field reference you&rsquo;ve been waiting for</em></p>
+ </header>
+
+ <main>
+ <p>MedicMate is a mobile app that turns smartphones and tablets into a field reference tailored to your agency that&rsquo;s always up-to-date.</p>
+
+ <h2>Features</h2>
+
+ <ul>
+ <li>Real-time hospital divert status pushed to field units</li>
+ <li>Completely customizable SOP/SOG references</li>
+ <li>Pre-loaded state medical and MCI protocols</li>
+ <li>Agency contact list</li>
+ <li>Assorted tools: unit conversion, calculators, vital sign ranges, assessment tools</li>
+ </ul>
+
+ <h2>Reliability</h2>
+
+ <p>MedicMate is designed to work with intermittent Internet connectivity. All content is saved to each device so it&rsquo;s always available. When you connect to the Internet, your latest content is downloaded.</p>
+
+ <h2>Get Started</h2>
+
+ <p>The first step in your journey to a better field reference is to create your agency&rsquo;s MedicMate account.</p>
+
+ <p>Contact <a href="mailto:sales@medicmate.io">sales@medicmate.io</a> to get started today!</p>
+ </main>
+
+ <footer>
+ <p>&copy; 2019</p>
+ <p>MedicMate is built by and for EMS professionals.</p>
+ </footer>
+ </body>
+</html>
diff --git a/medicmate.scss b/medicmate.scss
index 41b244e..54174fc 100644
--- a/medicmate.scss
+++ b/medicmate.scss
@@ -1,81 +1,71 @@
----
----
-
-$orange: #dd8800;
-$link-color: #00e;
-$light: #999;
-$dark: #333;
-
-$horizontal-break: 600px;
-$vertical-break: 800px;
-
body {
- font-size: 16px;
- font-family: 'Roboto', sans-serif;
- font-weight: 300;
- padding: 0;
- margin: 0;
- color: $dark;
+ font-size: 16px;
+ font-family: 'Roboto', sans-serif;
+ font-weight: 300;
+ padding: 0;
+ margin: 0;
+ color: #333;
}
h1 {
- margin: 0;
- font-size: 2em;
- font-weight: 300;
- color: $orange;
+ margin: 0;
+ font-size: 2em;
+ font-weight: 300;
+ color: #dd8800;
}
h2 {
- font-size: 1.2em;
- font-weight: 300;
- color: $orange;
+ font-size: 1.2em;
+ font-weight: 300;
+ color: #dd8800;
}
header {
- margin: 0;
- background-color: $orange;
- color: white;
- text-align: center;
- padding: 1em;
+ margin: 0;
+ background-color: #dd8800;
+ color: white;
+ text-align: center;
+ padding: 1em;
+
+}
- h1 {
- color: white;
- }
+header h1 {
+ color: white;
}
main {
- padding: 1em;
- margin-left: auto;
- margin-right: auto;
- max-width: $horizontal-break;
+ padding: 1em;
+ margin-left: auto;
+ margin-right: auto;
+ max-width: 600px;
}
footer {
- text-align: center;
- color: $light;
+ text-align: center;
+ color: #999;
}
li {
- padding: 0.5em;
+ padding: 0.5em;
}
p {
- margin-top: 1em;
- margin-bottom: 0;
+ margin-top: 1em;
+ margin-bottom: 0;
}
a {
- color: $link-color;
- text-decoration: none;
+ color: #00e;
+ text-decoration: none;
}
a:hover {
- text-decoration: underline;
+ text-decoration: underline;
}
-@media (min-width: $horizontal-break) {
- header {
- padding: 3em;
- }
+@media (min-width: 600px) {
+ header {
+ padding: 3em;
+ }
}