Rebrand Hipstershop as OnlineBoutique (#328)

* update productcatalog, frontend, readme

* revert productcatalog

* restore currency logic and ad display

* footer cleanup

* Resize header image

* screenshots

* Center align header image in readme

* Show platform flag on every page

* style fixes

* fix currency in UI, remove extra USD

* cart bug, fixing

* attempt to fix breaking build

* fix cart size in handler

* replace images

* # items in cart is total quantity

* Add link to 0.1.4 manifests in readme
This commit is contained in:
Megan O'Keefe 2020-04-23 17:12:30 -04:00 committed by GitHub
parent 5aa38ad5d6
commit 814088f788
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
47 changed files with 1618 additions and 249 deletions

10
src/frontend/templates/error.html Normal file → Executable file
View file

@ -1,12 +1,16 @@
{{ define "error" }}
{{ template "header" . }}
<div {{ with $.platform_css }} class="{{.}}" {{ end }}>
<span class="platform-flag">
{{$.platform_name}}
</span>
</div>
<main role="main">
<div class="py-5">
<div class="container bg-light py-3 px-lg-5 py-lg-5">
<h1>Uh, oh!</h1>
<p>Something has failed. Below are some details for debugging.</p>
<p><strong>HTTP Status:</strong> {{.status_code}} {{.status}}</p>
<pre class="border border-danger p-3"
style="white-space: pre-wrap; word-break: keep-all;">
@ -17,4 +21,4 @@
</main>
{{ template "footer" . }}
{{ end }}
{{ end }}