-
-
-
- TheGolem.cz
-
-
- One server to host them all!
-
-
+
+
+
+
+
+
+ TheGolem.cz
+
+
+ One server to host them all!
+
+
+
+
+
-
diff --git a/server/index.js b/server/index.js
deleted file mode 100644
index 8f8ac52..0000000
--- a/server/index.js
+++ /dev/null
@@ -1,34 +0,0 @@
-const express = require('express')
-const consola = require('consola')
-const { Nuxt, Builder } = require('nuxt')
-const app = express()
-
-// Import and Set Nuxt.js options
-const config = require('../nuxt.config.js')
-config.dev = process.env.NODE_ENV !== 'production'
-
-async function start() {
- // Init Nuxt.js
- const nuxt = new Nuxt(config)
-
- const { host, port } = nuxt.options.server
-
- await nuxt.ready()
- // Build only in dev mode
- if (config.dev) {
- const builder = new Builder(nuxt)
- await builder.build()
- }
-
- // Give nuxt middleware to express
- app.use(nuxt.render)
-
- // Listen the server
- app.listen(port, host)
- consola.ready({
- message: `Server listening on http://${host}:${port}`,
- badge: true
- })
-}
-
-start()
diff --git a/static/favicon.ico b/static/favicon.ico
deleted file mode 100644
index 3632d0c..0000000
Binary files a/static/favicon.ico and /dev/null differ
diff --git a/static/favicon.png b/static/favicon.png
new file mode 100644
index 0000000..865cbf6
Binary files /dev/null and b/static/favicon.png differ
diff --git a/static/icon/golem-white.svg b/static/icon/golem-white.svg
new file mode 100644
index 0000000..3d02218
--- /dev/null
+++ b/static/icon/golem-white.svg
@@ -0,0 +1,45 @@
+
+
+
+
diff --git a/static/icon/golem.svg b/static/icon/golem.svg
new file mode 100644
index 0000000..9406686
--- /dev/null
+++ b/static/icon/golem.svg
@@ -0,0 +1,212 @@
+
+
+
+
diff --git a/static/icon/moon-white.svg b/static/icon/moon-white.svg
new file mode 100644
index 0000000..fda9283
--- /dev/null
+++ b/static/icon/moon-white.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/icon/moon.svg b/static/icon/moon.svg
new file mode 100644
index 0000000..d65cec0
--- /dev/null
+++ b/static/icon/moon.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/icon/sun-white.svg b/static/icon/sun-white.svg
new file mode 100644
index 0000000..02bbac4
--- /dev/null
+++ b/static/icon/sun-white.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/icon/sun.svg b/static/icon/sun.svg
new file mode 100644
index 0000000..c626f1b
--- /dev/null
+++ b/static/icon/sun.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/static/icon_golem.png b/static/icon_golem.png
deleted file mode 100644
index 883d098..0000000
Binary files a/static/icon_golem.png and /dev/null differ
diff --git a/tailwind.config.js b/tailwind.config.js
new file mode 100644
index 0000000..777eb6c
--- /dev/null
+++ b/tailwind.config.js
@@ -0,0 +1,39 @@
+module.exports = {
+ darkMode: 'media',
+ experimental: {
+ darkModeVariant: true
+ },
+ purge: [
+ './components/**/*.{vue,js}',
+ './layouts/**/*.vue',
+ './pages/**/*.vue',
+ './plugins/**/*.{js,ts}',
+ './nuxt.config.{js,ts}'
+ ],
+ theme: {
+ extend: {},
+ colors: {
+ transparent: 'transparent',
+ current: 'currentColor',
+ gray: {
+ darkest: '#181818',
+ dark: '#202020',
+ DEFAULT: '#4f4f4f',
+ light: '#c0c0c0',
+ lightest: '#efefef'
+ }
+ }
+ },
+ variants: {
+ extend: {
+ backgroundColor: ['checked'],
+ borderColor: ['checked'],
+ inset: ['checked'],
+ zIndex: ['hover', 'active']
+ }
+ },
+ plugins: [require('tailwindcss-dark-mode')()],
+ future: {
+ purgeLayersByDefault: true
+ }
+}
diff --git a/test/Logo.spec.js b/test/Logo.spec.js
deleted file mode 100644
index 257dcd8..0000000
--- a/test/Logo.spec.js
+++ /dev/null
@@ -1,9 +0,0 @@
-import { mount } from '@vue/test-utils'
-import Logo from '@/components/Logo.vue'
-
-describe('Logo', () => {
- test('is a Vue instance', () => {
- const wrapper = mount(Logo)
- expect(wrapper.isVueInstance()).toBeTruthy()
- })
-})
diff --git a/tsconfig.json b/tsconfig.json
deleted file mode 100644
index f3227b9..0000000
--- a/tsconfig.json
+++ /dev/null
@@ -1,36 +0,0 @@
-{
- "compilerOptions": {
- "target": "es2018",
- "module": "esnext",
- "moduleResolution": "node",
- "lib": [
- "esnext",
- "esnext.asynciterable",
- "dom"
- ],
- "esModuleInterop": true,
- "allowJs": true,
- "sourceMap": true,
- "strict": true,
- "noEmit": true,
- "experimentalDecorators": true,
- "baseUrl": ".",
- "paths": {
- "~/*": [
- "./*"
- ],
- "@/*": [
- "./*"
- ]
- },
- "types": [
- "@types/node",
- "@nuxt/types"
- ]
- },
- "exclude": [
- "node_modules",
- ".nuxt",
- "dist"
- ]
-}