From 5f364a5ef49c6ace597399442ba3556be2cfee89 Mon Sep 17 00:00:00 2001 From: Mantas <11616378+mistermantas@users.noreply.github.com> Date: Fri, 25 Jan 2019 18:14:35 +0200 Subject: Misc. changes --- exampleSite/config.yml | 4 ++-- exampleSite/netlify.toml | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'exampleSite') diff --git a/exampleSite/config.yml b/exampleSite/config.yml index 85c5e26..5015890 100644 --- a/exampleSite/config.yml +++ b/exampleSite/config.yml @@ -83,14 +83,14 @@ defaultContentLanguage: en # What is the hostname or path to the root? # Where is the site hosted? # -# đ„ cState & Hugo donât support / in +# đ„ cState & Hugo donât support '/' in # production use. It will break RSS # feeds and breaks permalinks since # version 3. If you are just testing, # localhost should automatically work. # # Example: https://status.example.com/ -baseURL: https://status.example.com +baseURL: https://cstate.mnts.lt ############################################################ # +------------------------------------------------------+ # diff --git a/exampleSite/netlify.toml b/exampleSite/netlify.toml index e387e8c..d649777 100644 --- a/exampleSite/netlify.toml +++ b/exampleSite/netlify.toml @@ -11,4 +11,7 @@ NODE_ENV = "production" [context.deploy-preview] - command = "hugo" + command = "hugo -b $DEPLOY_PRIME_URL" + +[context.branch-deploy] + command = "hugo -b $DEPLOY_PRIME_URL" \ No newline at end of file -- cgit v1.2.3-70-g09d2 From 8dd25fab185f5e1d7dc2db10a833b4977f801cd5 Mon Sep 17 00:00:00 2001 From: Mantas <11616378+mistermantas@users.noreply.github.com> Date: Sun, 27 Jan 2019 10:43:29 +0200 Subject: Fixing a11y, colors, UX, minor cleanup --- exampleSite/config.yml | 20 +++++++++---------- .../issues/2018-05-25-us-east-conn-issues.md | 2 +- .../issues/2018-06-13-maintenance-window.md | 2 +- layouts/partials/index/announcements.html | 18 +++++++++++++---- layouts/partials/index/components.html | 6 +++--- layouts/partials/meta.html | 23 +++++----------------- 6 files changed, 34 insertions(+), 37 deletions(-) (limited to 'exampleSite') diff --git a/exampleSite/config.yml b/exampleSite/config.yml index 5015890..f06609b 100644 --- a/exampleSite/config.yml +++ b/exampleSite/config.yml @@ -182,16 +182,16 @@ params: # # Defaults: # - # brand: #181818 - # ok: 228B22 - # warning: EE7600 - # down: DC143C - # notice: 708090 - brand: 181818 - ok: 228B22 - disrupted: EE7600 - down: DC143C - notice: 708090 + # brand: 080d11 + # ok: 008000 // EXCEPT IT'S BROKEN LOL + # warning: d33c0d + # down: e60000 + # notice: 3a5978 + brand: 080d11 + ok: 118000 + disrupted: d33c0d + down: e60000 + notice: 3a5978 # If the status page shows that # there are disruptions or outages diff --git a/exampleSite/content/issues/2018-05-25-us-east-conn-issues.md b/exampleSite/content/issues/2018-05-25-us-east-conn-issues.md index 96c228c..524035b 100644 --- a/exampleSite/content/issues/2018-05-25-us-east-conn-issues.md +++ b/exampleSite/content/issues/2018-05-25-us-east-conn-issues.md @@ -4,7 +4,7 @@ date: 2018-05-25 04:13:00 resolved: true resolvedWhen: 2018-05-25 04:13:59 # Possible severity levels: down, disrupted, notice -severity: disrupted +severity: down affected: - API - Media Proxy diff --git a/exampleSite/content/issues/2018-06-13-maintenance-window.md b/exampleSite/content/issues/2018-06-13-maintenance-window.md index e21ae4d..0610928 100644 --- a/exampleSite/content/issues/2018-06-13-maintenance-window.md +++ b/exampleSite/content/issues/2018-06-13-maintenance-window.md @@ -4,7 +4,7 @@ date: 2018-06-13 15:54:00 resolved: false resolvedWhen: 2018-06-13 17:30:00 # Possible severity levels: down, disrupted, notice -severity: notice +severity: disrupted affected: - API section: issue diff --git a/layouts/partials/index/announcements.html b/layouts/partials/index/announcements.html index a02045e..0be3835 100644 --- a/layouts/partials/index/announcements.html +++ b/layouts/partials/index/announcements.html @@ -2,13 +2,23 @@ {{ $active := where $incidents "Params.resolved" "=" false }} {{ if $active }} -
{{ .Title }}
++ {{ .Title }} â +
+ ++ {{ range .Params.Affected }} + {{ . }} + {{ end }} +
+ {{ .Content | safeHTML | truncate 500 "âŠ" }} - +