Skip to content

Commit ebc40cd

Browse files
authored
Restore state + error page (#124)
* Another fix attempt * Update deps * Restore state + error page
1 parent d1f3c2f commit ebc40cd

File tree

4 files changed

+13
-20
lines changed

4 files changed

+13
-20
lines changed

.github/workflows/publish.yml

+2-12
Original file line numberDiff line numberDiff line change
@@ -9,23 +9,13 @@ jobs:
99
steps:
1010
- name: Checkout Repository
1111
uses: actions/checkout@v4
12-
- name: Disable CorePack for yarn
13-
run: corepack disable yarn
14-
- name: Enable CorePack for pnpm
15-
run: corepack enable pnpm
12+
- name: Enable CorePack
13+
run: corepack enable
1614
- name: Set up Node.js
1715
uses: actions/setup-node@v4
1816
with:
1917
node-version: "18"
2018
check-latest: true
21-
- name: Clear Corepack Cache
22-
run: corepack prepare pnpm@latest --activate
23-
- name: Install pnpm
24-
run: npm install -g pnpm
25-
- name: Ensure Clean Slate
26-
run: |
27-
if [ -d "node_modules" ]; then rm -rf node_modules; fi
28-
if [ -f "pnpm-lock.yaml" ]; then rm pnpm-lock.yaml; fi
2919
- name: Install dependencies
3020
run: pnpm install
3121
- name: Build using pnpm

index.html

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>Fabulously Optimized</title>
7+
</head>
8+
<body>
9+
Sorry, Fabulously Optimized website is currently down. <a href="https://fabulously-web-git-test1-madis0s-projects.vercel.app/">Click here for a cached copy.</a>
10+
</body>
11+
</html>

nuxt.config.ts

-3
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ function getName(lang) {
2626

2727
export default defineNuxtConfig({
2828
devtools: { enabled: true },
29-
plugins: [
30-
{ src: '~/plugins/floating-vue', mode: 'client' } // Load plugin only on client-side
31-
],
3229
modules: ['@nuxtjs/color-mode', '@nuxtjs/i18n', "@nuxt/image"],
3330
nitro: {
3431
preset: 'github-pages',

plugins/floating-vue.js

-5
This file was deleted.

0 commit comments

Comments
 (0)