Skip to content

Commit 4a66308

Browse files
authored
Fix (#130)
* Cleanup * More cleanup * Omorphia upgrade (downgrade?) as workaround
1 parent 0ed01f5 commit 4a66308

File tree

8 files changed

+5410
-5263
lines changed

8 files changed

+5410
-5263
lines changed

.github/workflows/publish.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ jobs:
99
steps:
1010
- name: Checkout Repository
1111
uses: actions/checkout@v4
12-
- name: Enable CorePack
13-
run: corepack enable pnpm
12+
- name: Prepare CorePack
13+
run: corepack prepare pnpm@8.6.1 --activate
1414
- name: Set up Node.js
1515
uses: actions/setup-node@v4
1616
with:

app.scss

+10
Original file line numberDiff line numberDiff line change
@@ -156,4 +156,14 @@ html.dark a {
156156

157157
a:hover {
158158
text-decoration: underline;
159+
}
160+
161+
// Workarounds for Omorphia 0.9.5
162+
163+
.light{
164+
--color-bg: #e5e7eb;
165+
}
166+
167+
html {
168+
background-color: var(--color-bg);
159169
}

nuxt.config.ts

-7
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,6 @@ function getName(lang) {
2727
export default defineNuxtConfig({
2828
devtools: { enabled: true },
2929
modules: ['@nuxtjs/color-mode', '@nuxtjs/i18n', "@nuxt/image"],
30-
ssr: true,
31-
plugins: [
32-
{ src: '~/plugins/floating-vue.client.js', mode: 'client' }
33-
],
34-
build: {
35-
transpile: ['floating-vue'],
36-
},
3730
nitro: {
3831
preset: 'github-pages',
3932
},

package.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
2-
"name": "fabulously-web",
2+
"name": "website",
33
"private": true,
4-
"type": "module",
54
"scripts": {
65
"build": "nuxt build",
76
"dev": "nuxt dev",
@@ -10,16 +9,17 @@
109
"postinstall": "nuxt prepare"
1110
},
1211
"devDependencies": {
13-
"@nuxt/devtools": "latest",
12+
"@nuxt/devtools": "^0.7.0",
1413
"@nuxt/image": "^1.7.0",
1514
"@nuxtjs/color-mode": "^3.4.1",
1615
"@nuxtjs/i18n": "8.1.1",
17-
"nuxt": "^3.11.2",
18-
"vue": "^3.4.27",
16+
"nuxt": "^3.5.3",
17+
"vue": "^3.4.8",
1918
"vue-router": "^4.3.2"
2019
},
2120
"dependencies": {
22-
"omorphia": "^0.7.3",
23-
"sass": "^1.77.4"
24-
}
21+
"omorphia": "^0.9.5",
22+
"sass": "^1.58.0"
23+
},
24+
"packageManager": "[email protected]"
2525
}

pages/index.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ h3 {
251251
}
252252
253253
.bg-div {
254-
background-image: url('/background.webp');
254+
//background-image: url('/background.webp');
255255
}
256256
257257
.features {

plugins/floating-vue.client.js

-9
This file was deleted.

0 commit comments

Comments
 (0)