Skip to content

Commit

Permalink
release v1.3.0-granska.1
Browse files Browse the repository at this point in the history
- Add alternate image sources for the home page banner image.
  • Loading branch information
SebastianKohler committed Feb 16, 2024
1 parent b56d1de commit 5b9bd3e
Show file tree
Hide file tree
Showing 15 changed files with 35 additions and 11 deletions.
17 changes: 15 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,15 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/), and this



## [1.2.3-granska.1] – 2024-01-31
## [1.3.0-granska.1] – 2024-02-16

### Added

- Alternate image sources for the home page banner image.

### Changed

- Merge release [`v1.2.3`](https://github.com/slsfi/digital-edition-frontend-ng/releases/tag/1.2.3) from upstream, original repository into `granska` branch. ([1d35457](https://github.com/slsfi/topelius-frontend/commit/1d35457b4cede12429b7052510cf8e527c938092))
- Merge release [`v1.3.0`](https://github.com/slsfi/digital-edition-frontend-ng/releases/tag/1.3.0) from upstream, original repository into `granska` branch. ([b56d1de](https://github.com/slsfi/topelius-frontend/commit/b56d1de91b7e78fb3d9eb9bdee49e3601359232a))



Expand Down Expand Up @@ -55,6 +59,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/), and this



## [1.2.3-granska.1] – 2024-01-31

### Changed

- Merge release [`v1.2.3`](https://github.com/slsfi/digital-edition-frontend-ng/releases/tag/1.2.3) from upstream, original repository into `granska` branch. ([1d35457](https://github.com/slsfi/topelius-frontend/commit/1d35457b4cede12429b7052510cf8e527c938092))



## [1.2.3] – 2024-01-26

### Fixed
Expand Down Expand Up @@ -328,6 +340,7 @@ siteLogoDimensions: {
[1.0.1]: https://github.com/slsfi/digital-edition-frontend-ng/compare/v1.0.0...v1.0.1
[1.0.0]: https://github.com/slsfi/digital-edition-frontend-ng/releases/tag/v1.0.0

[1.3.0-granska.1]: https://github.com/slsfi/topelius-frontend/compare/1.2.3-granska.1...1.3.0-granska.1
[1.2.3-granska.1]: https://github.com/slsfi/topelius-frontend/compare/1.2.2-granska.1...1.2.3-granska.1
[1.2.2-granska.1]: https://github.com/slsfi/topelius-frontend/compare/1.2.1-granska.1...1.2.2-granska.1
[1.2.1-granska.1]: https://github.com/slsfi/topelius-frontend/compare/1.2.0-granska.1...1.2.1-granska.1
Expand Down
2 changes: 1 addition & 1 deletion compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ services:
- "api.sls.fi:172.16.2.136"
- "granska-api.sls.fi:172.16.2.136"
- "testa-vonwright.sls.fi:172.16.2.136"
image: ghcr.io/slsfi/digital-edition-frontend-ng:main
image: ghcr.io/slsfi/topelius-frontend:1.3.0-granska.1
restart: unless-stopped
volumes:
- browser-static:/digital-edition-frontend-ng/dist/app/browser
Expand Down
8 changes: 4 additions & 4 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": "granska-topelius.sls.fi",
"version": "1.2.3-granska.1",
"version": "1.3.0-granska.1",
"description": "Frontend of granska-topelius.sls.fi based on the Angular web app for the SLS Digital Edition Platform",
"homepage": "https://github.com/slsfi/topelius-frontend/tree/granska#readme",
"license": "MIT",
Expand Down
17 changes: 14 additions & 3 deletions src/assets/config/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,11 +164,22 @@ export const config: Config = {
fi: "Zacharias Topeliuksen muotokuva"
},
intrinsicSize: {
height: null,
width: null
height: 1408,
width: 1056
},
orientationPortrait: true,
alternateSources: [],
alternateSources: [
{
srcset: "assets/images/home-page-banner-portrait_396w.avif 396w, assets/images/home-page-banner-portrait_528w.avif 528w, assets/images/home-page-banner-portrait_704w.avif 704w, assets/images/home-page-banner-portrait_900w.avif 900w, assets/images/home-page-banner-portrait.avif 1056w",
sizes: "(max-width: 900px) 100vw, 27.5vw",
type: "image/avif"
},
{
srcset: "assets/images/home-page-banner-portrait_396w.jpg 396w, assets/images/home-page-banner-portrait_528w.jpg 528w, assets/images/home-page-banner-portrait_704w.jpg 704w, assets/images/home-page-banner-portrait_900w.jpg 900w, assets/images/home-page-banner-portrait.jpg 1056w",
sizes: "(max-width: 900px) 100vw, 27.5vw",
type: "image/jpeg"
}
],
URL: "assets/images/home-page-banner-portrait.jpg"
},
portraitOrientationSettings: {
Expand Down
Binary file not shown.
Binary file modified src/assets/images/home-page-banner-portrait.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5b9bd3e

Please sign in to comment.