Skip to content

Commit

Permalink
Fix (#130)
Browse files Browse the repository at this point in the history
* Cleanup

* More cleanup

* Omorphia upgrade (downgrade?) as workaround
  • Loading branch information
Madis0 authored Jun 8, 2024
1 parent 0ed01f5 commit 4a66308
Show file tree
Hide file tree
Showing 8 changed files with 5,410 additions and 5,263 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ jobs:
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Enable CorePack
run: corepack enable pnpm
- name: Prepare CorePack
run: corepack prepare pnpm@8.6.1 --activate
- name: Set up Node.js
uses: actions/setup-node@v4
with:
Expand Down
10 changes: 10 additions & 0 deletions app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -156,4 +156,14 @@ html.dark a {

a:hover {
text-decoration: underline;
}

// Workarounds for Omorphia 0.9.5

.light{
--color-bg: #e5e7eb;
}

html {
background-color: var(--color-bg);
}
7 changes: 0 additions & 7 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,6 @@ function getName(lang) {
export default defineNuxtConfig({
devtools: { enabled: true },
modules: ['@nuxtjs/color-mode', '@nuxtjs/i18n', "@nuxt/image"],
ssr: true,
plugins: [
{ src: '~/plugins/floating-vue.client.js', mode: 'client' }
],
build: {
transpile: ['floating-vue'],
},
nitro: {
preset: 'github-pages',
},
Expand Down
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "fabulously-web",
"name": "website",
"private": true,
"type": "module",
"scripts": {
"build": "nuxt build",
"dev": "nuxt dev",
Expand All @@ -10,16 +9,17 @@
"postinstall": "nuxt prepare"
},
"devDependencies": {
"@nuxt/devtools": "latest",
"@nuxt/devtools": "^0.7.0",
"@nuxt/image": "^1.7.0",
"@nuxtjs/color-mode": "^3.4.1",
"@nuxtjs/i18n": "8.1.1",
"nuxt": "^3.11.2",
"vue": "^3.4.27",
"nuxt": "^3.5.3",
"vue": "^3.4.8",
"vue-router": "^4.3.2"
},
"dependencies": {
"omorphia": "^0.7.3",
"sass": "^1.77.4"
}
"omorphia": "^0.9.5",
"sass": "^1.58.0"
},
"packageManager": "[email protected]"
}
2 changes: 1 addition & 1 deletion pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ h3 {
}
.bg-div {
background-image: url('/background.webp');
//background-image: url('/background.webp');
}
.features {
Expand Down
9 changes: 0 additions & 9 deletions plugins/floating-vue.client.js

This file was deleted.

Loading

0 comments on commit 4a66308

Please sign in to comment.