Skip to content

Commit

Permalink
refactor: 🔥 Remove old code
Browse files Browse the repository at this point in the history
  • Loading branch information
CPlusPatch committed Dec 16, 2024
1 parent 4a33a5d commit 569666f
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 191 deletions.
5 changes: 0 additions & 5 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ export default defineNuxtConfig({
"@nuxtjs/color-mode",
],
ssr: false,
vue: {
compilerOptions: {
isCustomElement: (tag) => tag === "iconify-icon",
},
},
components: {
dirs: [],
},
Expand Down
42 changes: 0 additions & 42 deletions packages/ui/components/buttons/button.vue

This file was deleted.

11 changes: 0 additions & 11 deletions packages/ui/components/icons/icon.vue

This file was deleted.

68 changes: 0 additions & 68 deletions packages/ui/demo/buttons-demo.vue

This file was deleted.

52 changes: 0 additions & 52 deletions packages/ui/package.json

This file was deleted.

15 changes: 2 additions & 13 deletions pages/notifications.vue
Original file line number Diff line number Diff line change
@@ -1,17 +1,6 @@
<template>
<div class="mx-auto max-w-2xl w-full">
<div class="shrink-0 p-10 h-dvh" v-if="!identity">
<button type="button"
class="relative block h-full w-full rounded-lg border-2 border-dashed border-dark-300 p-12 text-center">
<iconify-icon name="tabler:notification" width="3rem" height="3rem" class="mx-auto text-gray-400" />
<span class="mt-3 block text-sm font-semibold text-gray-200 max-w-56 mx-auto">Notifications
will
appear here
when you
sign in</span>
</button>
</div>
<TimelineScroller v-else>
<TimelineScroller>
<div class="rounded overflow-hidden">
<Notifications />
</div>
Expand All @@ -38,4 +27,4 @@ definePageMeta({
],
requiresAuth: true,
});
</script>
</script>

0 comments on commit 569666f

Please sign in to comment.