Skip to content

Commit

Permalink
#29 create brand icon and manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle Mitofsky authored and Kyle Mitofsky committed Sep 6, 2019
1 parent bdfe35d commit 6b81781
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 4 deletions.
10 changes: 10 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
{
"json.schemas": [
{
"fileMatch": [
"manifest.json"
],
"url": "http://json.schemastore.org/web-manifest"
}
]
"cSpell.words": [
"Balsamiq",
"Bitbucket",
Expand Down Expand Up @@ -55,11 +63,13 @@
"pptx",
"preconnect",
"prepended",
"scrollbar",
"sidenav",
"signup",
"slugify",
"taglist",
"unmark",
"unstyled",
"vdhwebapps",
"walkthroughs"
]
Expand Down
11 changes: 10 additions & 1 deletion resources.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ A stash for helpful articles, references, documentation looked up along the way

* [vs code - workspace recommended extensions](https://code.visualstudio.com/docs/editor/extension-gallery#_workspace-recommended-extensions)
* [vs code - debug on windows and mac](https://stackoverflow.com/a/42471528/1366033)

* [vs code - add json schema definition](https://code.visualstudio.com/docs/languages/json#_json-schemas-and-settings)

## Github

Expand Down Expand Up @@ -104,3 +104,12 @@ A stash for helpful articles, references, documentation looked up along the way
* [css - `break-inside`](https://developer.mozilla.org/en-US/docs/Web/CSS/break-inside)
* [css - Chrome “Save as PDF” is cutting off text](https://superuser.com/q/1477838/180163)

## Images

* [svg - How to scale SVG](https://css-tricks.com/scale-svg/)
* [svg - optimize svg](https://jakearchibald.github.io/svgomg/)

## PWA

* [pwa - generate icons from svg](http://cthedot.de/icongen/)
* [pwa - manifest schema definition](http://json.schemastore.org/web-manifest)
1 change: 1 addition & 0 deletions src/_includes/assets/images/vt-book-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 3 additions & 2 deletions src/_includes/assets/styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,8 @@ header.header {
color: hsla(148, 97%, 33%, 1);
}
.brand svg {
height: 40px;
height: 75px;
width: 75px;
margin: 0px 20px;
}
Expand Down Expand Up @@ -959,7 +960,7 @@ td svg {
transform: translateY(-8px)rotate(-45deg);
}

/* custom scrollbars */
/* custom scrollbar */

/* width */
::-webkit-scrollbar {
Expand Down
2 changes: 1 addition & 1 deletion src/_layouts/default.njk
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
</button>

<a href="/" aria-label="Home Page" class="brand" >
{% include "assets/images/vt-logo.svg" %}
{% include "assets/images/vt-book-logo.svg" %}
<span class="site-title">
{% set site_title_word = title_word or (renderData and renderData.title_word) %}
<span class="word">{{site_title_word}}</span>
Expand Down
9 changes: 9 additions & 0 deletions src/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"name": "Doc Gov",
"short_name": "Doc Gov",
"theme_color": "#03a64f",
"background_color": "#bfd3dc",
"display": "standalone",
"scope": "/",
"start_url": "/"
}

0 comments on commit 6b81781

Please sign in to comment.