diff --git a/app.vue b/app.vue index 125fac6..41257e8 100644 --- a/app.vue +++ b/app.vue @@ -1,6 +1,9 @@ diff --git a/bun.lockb b/bun.lockb index ce76895..a688841 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/components/NodeCard.vue b/components/NodeCard.vue index 75dafe6..4894da2 100644 --- a/components/NodeCard.vue +++ b/components/NodeCard.vue @@ -1,5 +1,6 @@ diff --git a/nuxt.config.ts b/nuxt.config.ts index 8a3a08a..25dc591 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -29,4 +29,15 @@ Ya sea que desees desarrollar aplicaciones de sistemas, videojuegos, criptomoned ] } }, + content: { + highlight: { + langs: ['c', 'cpp', 'rs', 'java', 'js', 'cs', 'asm', 'toml', 'console', 'sh', 'bash', "vim"], + // Themes from https://github.com/shikijs/textmate-grammars-themes/tree/main/packages/tm-themes + theme: { + default: 'vitesse-dark', + dark: 'vitesse-dark', + sepia: 'monokai' + } + }, + }, }) diff --git a/package.json b/package.json index ce6d81f..26af826 100644 --- a/package.json +++ b/package.json @@ -15,12 +15,14 @@ "@vue-flow/core": "^1.33.6", "@vue-flow/minimap": "^1.4.0", "nuxt": "^3.11.2", + "v-dropdown": "^3.0.0", "vue": "^3.4.21", "vue-router": "^4.3.0" }, "devDependencies": { "@nuxtjs/seo": "^2.0.0-rc.10", "@nuxtjs/tailwindcss": "^6.12.0", + "@tailwindcss/typography": "^0.5.13", "@unocss/nuxt": "^0.60.0" }, "trustedDependencies": [ diff --git a/pages/[...slug].vue b/pages/[...slug].vue new file mode 100644 index 0000000..5b3ce41 --- /dev/null +++ b/pages/[...slug].vue @@ -0,0 +1,114 @@ + + + + + diff --git a/plugins/locally.js b/plugins/locally.js new file mode 100644 index 0000000..e8abeb8 --- /dev/null +++ b/plugins/locally.js @@ -0,0 +1,15 @@ +export default defineNuxtPlugin(() => { + return { + provide: { + locally: { + get(item) { + return localStorage.getItem(item) + }, + + set(item, value) { + return localStorage.setItem(item, value) + } + } + } + } +}) diff --git a/tailwind.config.js b/tailwind.config.js index 48f7bff..77f9d14 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -1,5 +1,8 @@ /** @type {import('tailwindcss').Config} */ module.exports = { + plugins: [ + require('@tailwindcss/typography'), + ], theme: { fontFamily: { "alfa-slab": ["Alfa Slab One", "sans-serif"],