diff --git a/nuxt.config.ts b/nuxt.config.ts index ab05cb2..aa8badd 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -36,8 +36,6 @@ export default defineNuxtConfig({ css: ['~/assets/main.css'], - plugins: ['~/plugins/twemoji'], - modules: ['@nuxtjs/tailwindcss', '@nuxtjs/sitemap', '@nuxt/eslint'], sitemap: { diff --git a/package.json b/package.json index 7ef5f2b..90d8509 100644 --- a/package.json +++ b/package.json @@ -16,9 +16,6 @@ "prettier-fix": "prettier --write src/", "postinstall": "nuxt prepare" }, - "dependencies": { - "twemoji": "^14.0.2" - }, "devDependencies": { "@antfu/eslint-config": "^2.22.0", "@mdi/js": "^7.4.47", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index fdc5ab5..e08c5e7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -7,10 +7,6 @@ settings: importers: .: - dependencies: - twemoji: - specifier: ^14.0.2 - version: 14.0.2 devDependencies: '@antfu/eslint-config': specifier: ^2.22.0 @@ -2887,10 +2883,6 @@ packages: resolution: {integrity: sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==} engines: {node: '>=14.14'} - fs-extra@8.1.0: - resolution: {integrity: sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==} - engines: {node: '>=6 <7 || >=8'} - fs-extra@9.1.0: resolution: {integrity: sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==} engines: {node: '>=10'} @@ -3364,12 +3356,6 @@ packages: resolution: {integrity: sha512-WYDyuc/uFcGp6YtM2H0uKmUwieOuzeE/5YocFJLnLfclZ4inf3mRn8ZVy1s7Hxji7Jxm6Ss8gqpexD/GlKoGgg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - jsonfile@4.0.0: - resolution: {integrity: sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==} - - jsonfile@5.0.0: - resolution: {integrity: sha512-NQRZ5CRo74MhMMC3/3r5g2k4fjodJ/wh8MxjFbCViWKFjxrnudWSY5vomh+23ZaXzAS7J3fBZIR2dV6WbmfM0w==} - jsonfile@6.1.0: resolution: {integrity: sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==} @@ -4792,12 +4778,6 @@ packages: resolution: {integrity: sha512-LxhtAkPDTkVCMQjt2h6eBVY28KCjikZqZfMcC15YBeNjkgUpdCfBu5HoiOTDu86v6smE8yOjyEktJ8hlbANHQA==} engines: {node: '>=0.6.x'} - twemoji-parser@14.0.0: - resolution: {integrity: sha512-9DUOTGLOWs0pFWnh1p6NF+C3CkQ96PWmEFwhOVmT3WbecRC+68AIqpsnJXygfkFcp4aXbOp8Dwbhh/HQgvoRxA==} - - twemoji@14.0.2: - resolution: {integrity: sha512-BzOoXIe1QVdmsUmZ54xbEH+8AgtOKUiG53zO5vVP2iUu6h5u9lN15NcuS6te4OY96qx0H7JK9vjjl9WQbkTRuA==} - type-check@0.4.0: resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==} engines: {node: '>= 0.8.0'} @@ -4881,10 +4861,6 @@ packages: unist-util-stringify-position@2.0.3: resolution: {integrity: sha512-3faScn5I+hy9VleOq/qNbAd6pAx7iH5jYBMS9I1HgQVijz/4mv5Bvw5iw1sC/90CODiKo81G/ps8AJrISn687g==} - universalify@0.1.2: - resolution: {integrity: sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==} - engines: {node: '>= 4.0.0'} - universalify@2.0.1: resolution: {integrity: sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==} engines: {node: '>= 10.0.0'} @@ -8834,12 +8810,6 @@ snapshots: jsonfile: 6.1.0 universalify: 2.0.1 - fs-extra@8.1.0: - dependencies: - graceful-fs: 4.2.11 - jsonfile: 4.0.0 - universalify: 0.1.2 - fs-extra@9.1.0: dependencies: at-least-node: 1.0.0 @@ -9305,16 +9275,6 @@ snapshots: espree: 9.6.1 semver: 7.6.2 - jsonfile@4.0.0: - optionalDependencies: - graceful-fs: 4.2.11 - - jsonfile@5.0.0: - dependencies: - universalify: 0.1.2 - optionalDependencies: - graceful-fs: 4.2.11 - jsonfile@6.1.0: dependencies: universalify: 2.0.1 @@ -11008,15 +10968,6 @@ snapshots: tsscmp@1.0.6: {} - twemoji-parser@14.0.0: {} - - twemoji@14.0.2: - dependencies: - fs-extra: 8.1.0 - jsonfile: 5.0.0 - twemoji-parser: 14.0.0 - universalify: 0.1.2 - type-check@0.4.0: dependencies: prelude-ls: 1.2.1 @@ -11112,8 +11063,6 @@ snapshots: dependencies: '@types/unist': 2.0.10 - universalify@0.1.2: {} - universalify@2.0.1: {} unocss@0.61.0(@unocss/webpack@0.61.0(rollup@4.18.0)(webpack@5.92.1(esbuild@0.21.5)))(postcss@8.4.39)(rollup@4.18.0)(vite@5.3.2(@types/node@20.14.9)(terser@5.31.1)): diff --git a/src/components/LikeLists.vue b/src/components/LikeLists.vue index 8c4f58a..4199ce6 100644 --- a/src/components/LikeLists.vue +++ b/src/components/LikeLists.vue @@ -6,7 +6,7 @@ const likes = [ text: 'I code almost every day.', }, { - icon: '🗺', + icon: '🗺️', title: 'Travel', text: 'Seeking beautiful landscapes.', }, @@ -31,10 +31,7 @@ const likes = [ :key="like.title" class="flex flex-col rounded-2xl border border-slate-200/20 bg-slate-700/30 p-4 text-center shadow-lg shadow-gray-900/20" > -
+
{{ p.text }}
diff --git a/src/pages/about.vue b/src/pages/about.vue index acc1fdd..52742b1 100644 --- a/src/pages/about.vue +++ b/src/pages/about.vue @@ -24,7 +24,7 @@ useHead({
-Hi there👋 I'm K.
@@ -47,12 +47,13 @@ useHead({+
Note: 😅It may seem a bit silly to describe one's own skills in this way.
And, of course, there are things not written here!
I love to travel as much as I love programming✈
diff --git a/src/plugins/twemoji.ts b/src/plugins/twemoji.ts deleted file mode 100644 index 32dec1e..0000000 --- a/src/plugins/twemoji.ts +++ /dev/null @@ -1,9 +0,0 @@ -import twemoji from 'twemoji'; - -export default defineNuxtPlugin((nuxt) => { - nuxt.vueApp.directive('twemoji', { - mounted(el) { - el.innerHTML = twemoji.parse(el.innerHTML); - }, - }); -});