Skip to content

Commit

Permalink
fix: add local versions of SVG images in header/footer (#836)
Browse files Browse the repository at this point in the history
* fix: add local versions of SVG images in header/footer
  • Loading branch information
SteelWagstaff authored May 12, 2023
1 parent 4a91f18 commit 1fa939b
Show file tree
Hide file tree
Showing 12 changed files with 41 additions and 43 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pressbooks-directory",
"version": "2.7.0",
"version": "2.7.1",
"type": "module",
"engines": {
"node": ">=16.0.0"
Expand Down
11 changes: 11 additions & 0 deletions public/assets/images/icon_linkedin.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions public/assets/images/icon_twitter.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions public/assets/images/icon_youtube.svg
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 public/assets/images/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file removed public/assets/images/pressbooks-logo.jpeg
Binary file not shown.
34 changes: 0 additions & 34 deletions public/assets/logo-pressbooks-directory.svg

This file was deleted.

8 changes: 4 additions & 4 deletions src/components/PbFooter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@
rel="noopener noreferrer"
>
<img
src="https://pressbooks.com/wp-content/themes/pressbooks/dist/images/svg/icons/icon_twitter.svg"
src="/assets/images/icon_twitter.svg"
alt="twitter icon"
>
</a>
Expand All @@ -237,7 +237,7 @@
rel="noopener noreferrer"
>
<img
src="https://pressbooks.com/wp-content/themes/pressbooks/dist/images/svg/icons/icon_linkedin.svg"
src="/assets/images/icon_linkedin.svg"
alt="linkedin icon"
>
</a>
Expand All @@ -249,7 +249,7 @@
rel="noopener noreferrer"
>
<img
src="https://pressbooks.com/wp-content/themes/pressbooks/dist/images/svg/icons/icon_youtube.svg"
src="/assets/images/icon_youtube.svg"
alt="youtube icon"
>
</a>
Expand All @@ -263,7 +263,7 @@
>
<div class="footer-logo__wrap">
<img
src="https://pressbooks.com/wp-content/themes/pressbooks/dist/images/png/logos/[email protected]"
src="/assets/images/[email protected]"
alt="IMS global logo"
class="w-[65px]"
>
Expand Down
2 changes: 1 addition & 1 deletion src/components/PbNavbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
class="flex items-center"
>
<img
src="https://pressbooks.com/wp-content/themes/pressbooks/dist/images/svg/logos/pressbooks_logo.svg"
src="/assets/images/logo-color.svg"
alt="Pressbooks logo"
class="logo h-[27px] w-auto mr-3"
>
Expand Down
1 change: 0 additions & 1 deletion src/store/modules/config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
let config = {
imagesPath: 'assets/images/',
logo: 'pressbooks-logo.jpeg',
urls: {
guide: 'https://guide.pressbooks.com/chapter/find-books-on-the-pressbooks-directory/',
linkedin: 'https://www.linkedin.com/company/pressbooks',
Expand Down

0 comments on commit 1fa939b

Please sign in to comment.