Compare commits

..

No commits in common. "2b51545c6defdeeeb2032a140871aeb46f94be0c" and "745d922159d97d7c5cf2171cac6fe21f00fff90e" have entirely different histories.

5 changed files with 11 additions and 4 deletions

View file

@ -24,7 +24,14 @@ jobs:
with:
php-version: ${{ env.PHP_VERSION }}
- name: Check if composer.json exists
id: check_files
uses: andstor/file-existence-action@87d74d4732ddb824259d80c8a508c0124bf1c673
with:
files: 'composer.json'
- name: Run composer install if composer.json exists
if: steps.check_files.outputs.files_exists == 'true'
run: |
rm composer.lock
composer validate --no-check-publish

View file

@ -54,13 +54,13 @@ page {
# After that, the AssetCollector will handle publishing to _assets folder.
includeAssets {
hajimeSansTtf {
path = EXT:base/Resources/Public/Fonts/Hajime-Sans.woff2
path = EXT:base/Resources/Public/Fonts/Hajime-Sans.ttf
type = font
resourceType = font
preload = 1
as = font
attributes {
type = font/woff2
type = font/ttf
crossorigin = anonymous
}
}

View file

@ -44,7 +44,6 @@
<f:image
image="{data.image.0}"
treatIdAsReference="1"
fetchpriority="high"
cropVariant="default"
width="430c"
alt="Hero Image"

View file

@ -1,7 +1,8 @@
// Update font file names and ensure no spaces for better compatibility.
@font-face {
font-family: 'Hajime Sans';
src: url('../Fonts/Hajime-Sans.woff2') format('woff2');
src: url('../Fonts/Hajime-Sans.ttf') format('truetype'),
url('../Fonts/Hajime-Sans.otf') format('opentype');
font-weight: 400;
font-style: normal;
font-display: swap;