Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
iamgergo committed Oct 22, 2023
1 parent 8a59bdd commit 8ea4350
Show file tree
Hide file tree
Showing 14 changed files with 15 additions and 15 deletions.
1 change: 0 additions & 1 deletion public/build/assets/app-584e3628.js

This file was deleted.

1 change: 1 addition & 0 deletions public/build/assets/app-5cfcf402.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import{a as f}from"./app-c6af0dee.js";export{f as default};

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions public/build/assets/dropdown-7dc1f3ea.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import"./app-c6af0dee.js";
1 change: 0 additions & 1 deletion public/build/assets/dropdown-b8b60ec8.js

This file was deleted.

1 change: 1 addition & 0 deletions public/build/assets/editor-7dc1f3ea.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import"./app-c6af0dee.js";
1 change: 0 additions & 1 deletion public/build/assets/editor-b8b60ec8.js

This file was deleted.

1 change: 1 addition & 0 deletions public/build/assets/media-manager-7dc1f3ea.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import"./app-c6af0dee.js";
1 change: 0 additions & 1 deletion public/build/assets/media-manager-b8b60ec8.js

This file was deleted.

1 change: 1 addition & 0 deletions public/build/assets/repeater-7dc1f3ea.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import"./app-c6af0dee.js";
1 change: 0 additions & 1 deletion public/build/assets/repeater-b8b60ec8.js

This file was deleted.

12 changes: 6 additions & 6 deletions public/build/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,44 +7,44 @@
"css": [
"assets/app-4d04387c.css"
],
"file": "assets/app-ef45e7b6.js",
"file": "assets/app-c6af0dee.js",
"isEntry": true,
"src": "resources/js/app.js"
},
"resources/js/dropdown.js": {
"file": "assets/dropdown-b8b60ec8.js",
"file": "assets/dropdown-7dc1f3ea.js",
"imports": [
"resources/js/app.js"
],
"isEntry": true,
"src": "resources/js/dropdown.js"
},
"resources/js/editor.js": {
"file": "assets/editor-b8b60ec8.js",
"file": "assets/editor-7dc1f3ea.js",
"imports": [
"resources/js/app.js"
],
"isEntry": true,
"src": "resources/js/editor.js"
},
"resources/js/media-manager.js": {
"file": "assets/media-manager-b8b60ec8.js",
"file": "assets/media-manager-7dc1f3ea.js",
"imports": [
"resources/js/app.js"
],
"isEntry": true,
"src": "resources/js/media-manager.js"
},
"resources/js/repeater.js": {
"file": "assets/repeater-b8b60ec8.js",
"file": "assets/repeater-7dc1f3ea.js",
"imports": [
"resources/js/app.js"
],
"isEntry": true,
"src": "resources/js/repeater.js"
},
"resources/sass/app.scss": {
"file": "assets/app-584e3628.js",
"file": "assets/app-5cfcf402.js",
"imports": [
"resources/js/app.js"
],
Expand Down
2 changes: 1 addition & 1 deletion resources/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ window.$http = Axios.create({
});

// Cookie
window.$cookie = new Cookie();
window.$cookie = new Cookie('__root_');
4 changes: 2 additions & 2 deletions resources/js/theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ document.addEventListener('alpine:init', () => {
window.Alpine.data('theme', () => {
return {
systemMode: window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light',
theme: window.$cookie.get('__root_theme', 'system'),
theme: window.$cookie.get('theme', 'system'),
init() {
window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', (event) => {
if (this.theme === 'system') {
Expand All @@ -23,7 +23,7 @@ document.addEventListener('alpine:init', () => {
change(theme) {
document.documentElement.classList.add('no-transition');

window.$cookie.set('__root_theme', theme);
window.$cookie.set('theme', theme);

this.theme = theme;

Expand Down

0 comments on commit 8ea4350

Please sign in to comment.