Add placeholders for correctly-sized social share images

This commit is contained in:
Kevin MacMartin 2024-04-09 23:05:07 -04:00
parent 2f5ed84e2b
commit 031aca199c
4 changed files with 5 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

View file

@ -111,6 +111,9 @@ The following list of files and directories are where various pieces of the publ
* `resources/sass/partials`: Stylessheets for partial-specific styles wrapped in the respective partial component class * `resources/sass/partials`: Stylessheets for partial-specific styles wrapped in the respective partial component class
* `resources/sass/classes`: General stylesheets for classes that can be used anywhere * `resources/sass/classes`: General stylesheets for classes that can be used anywhere
* `resources/sass/mixins`: Stylesheets declaring SCSS mixins for use in other stylesheets * `resources/sass/mixins`: Stylesheets declaring SCSS mixins for use in other stylesheets
* `public/favicon.ico` and `public/favicon.png`: Placeholders for the favicon files
* `public/img/logo.png`: Placeholder for the website logo
* `public/img/social-image-card.jpg` and `public/img/social-image-opengraph.jpg`: Placeholders for images that will show up in social shares
Dependencies can be included with npm and loaded either into the `jsPublicLibs` array in the gulpfile or imported in the javascript. Dependencies can be included with npm and loaded either into the `jsPublicLibs` array in the gulpfile or imported in the javascript.

View file

@ -30,12 +30,12 @@
<meta property="og:title" content="{{ $meta['title'] }}" /> <meta property="og:title" content="{{ $meta['title'] }}" />
<meta property="og:description" content="{{ $meta['description'] }}" /> <meta property="og:description" content="{{ $meta['description'] }}" />
<meta property="og:url" content="{{ Request::url() }}" /> <meta property="og:url" content="{{ Request::url() }}" />
<meta property="og:image" content="{{ asset('/img/logo.png') }}" /> <meta property="og:image" content="{{ asset('/img/social-image-opengraph.jpg') }}" />
<meta name="twitter:card" content="summary" /> <meta name="twitter:card" content="summary" />
<meta name="twitter:title" content="{{ $meta['title'] }}" /> <meta name="twitter:title" content="{{ $meta['title'] }}" />
<meta name="twitter:description" content="{{ $meta['description'] }}" /> <meta name="twitter:description" content="{{ $meta['description'] }}" />
<meta name="twitter:image" content="{{ asset('/img/logo.png') }}" /> <meta name="twitter:image" content="{{ asset('/img/social-image-card.jpg') }}" />
<link rel="shortcut icon" href="{{ URL::to('/') }}/favicon.ico?version={{ Version::get() }}" /> <link rel="shortcut icon" href="{{ URL::to('/') }}/favicon.ico?version={{ Version::get() }}" />
<link rel="icon" href="{{ URL::to('/') }}/favicon.ico?version={{ Version::get() }}" type="image/x-icon" /> <link rel="icon" href="{{ URL::to('/') }}/favicon.ico?version={{ Version::get() }}" type="image/x-icon" />