Skip to content

Commit e288b24

Browse files
committed
wip
1 parent ee955cb commit e288b24

4 files changed

Lines changed: 15 additions & 8 deletions

File tree

.github/workflows/build-and-push-modeling-commons.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,22 @@ jobs:
4343
username: ${{ github.actor }}
4444
password: ${{ secrets.GITHUB_TOKEN }}
4545

46+
- name: Sanitize repo slug
47+
uses: actions/github-script@v8
48+
id: repo_slug
49+
with:
50+
result-encoding: string
51+
script: return 'ghcr.io/${{ github.repository }}'.toLowerCase()
52+
4653
- name: Build and push backend image
4754
uses: docker/build-push-action@v5
4855
with:
4956
context: .
5057
file: ./apps/modeling-commons-backend/Dockerfile
5158
push: true
5259
tags: |
53-
ghcr.io/${{ github.repository }}/modeling-commons-backend:${{ github.sha }}
54-
ghcr.io/${{ github.repository }}/modeling-commons-backend:latest
60+
${{ steps.repo_slug.outputs.result }}/modeling-commons-backend:${{ github.sha }}
61+
${{ steps.repo_slug.outputs.result }}/modeling-commons-backend:latest
5562
cache-from: type=gha
5663
cache-to: type=gha,mode=max
5764

@@ -62,7 +69,7 @@ jobs:
6269
file: ./apps/modeling-commons-frontend/Dockerfile
6370
push: true
6471
tags: |
65-
ghcr.io/${{ github.repository }}/modeling-commons-frontend:${{ github.sha }}
66-
ghcr.io/${{ github.repository }}/modeling-commons-frontend:latest
72+
${{ steps.repo_slug.outputs.result }}/modeling-commons-frontend:${{ github.sha }}
73+
${{ steps.repo_slug.outputs.result }}/modeling-commons-frontend:latest
6774
cache-from: type=gha
6875
cache-to: type=gha,mode=max

apps/modeling-commons-frontend/app/app.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default defineAppConfig({
66
},
77

88
container: {
9-
base: "max-w-[150ch] px-4 lg:px-24 py-12 mx-auto",
9+
base: "max-w-[var(--max-width-ch)] px-4 py-12 mx-auto",
1010
},
1111

1212
input: {

apps/modeling-commons-frontend/app/components/ClientFooter.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<Footer :sections="3">
2+
<Footer :sections="3" class="md:px-[calc((100vw-var(--max-width-ch))/2)]!">
33
<FooterContainer>
44
<FooterBrandSection
55
:brand="WebsiteLogo"

apps/modeling-commons-frontend/app/components/ClientNavbar.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
<Navbar
33
id="main-navbar"
44
ref="navbar"
5-
class="backdrop-blur-lg! bg-white/80! border-b-2 border-primary lg:px-40!"
5+
class="backdrop-blur-lg! bg-white/80! border-b-2 border-secondary md:px-[calc((100vw-var(--max-width-ch))/2)]!"
66
:brand="brand"
77
brand-href="/"
88
:brand-attrs="brandAttrs"
99
>
10-
<NavbarLinksContainer class="flex-1">
10+
<NavbarLinksContainer class="flex-1 mx-auto">
1111
<NavbarItem
1212
v-for="link in navbarLinks"
1313
:key="link.title"

0 commit comments

Comments
 (0)