Skip to content

Commit

Permalink
updated packages to latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
IAMSDR committed Aug 31, 2024
1 parent 3dcf24e commit 263b589
Show file tree
Hide file tree
Showing 8 changed files with 1,882 additions and 4,543 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@ NUXT_TELEGRAM_USERID="874962691"

- `NUXT_TELEGRAM_USERID`: This is your Telegram User ID used to identify you as a user of the bot. Obtain it from [@MissRose_bot](https://telegram.dog/MissRose_bot) using the `/info` command. Required for using this web app as a Telegram miniapp.

## Deploy to Cloudflare Pages
## Deploy 🚀

[![Deploy to NuxtHub](https://hub.nuxt.com/button.svg)](https://hub.nuxt.com/new?repo=IAMSDR/MyAuthenticator)

> [!NOTE]
> This project is currently under testing and improvements. Please back up your data before proceeding.
Expand Down
1 change: 0 additions & 1 deletion components/AccountIcon.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
:name="icon && `i-simple-icons-${icon}`"
:class="class"
class="text-gray-800 dark:text-gray-200"
dynamic
/>
</template>

Expand Down
6 changes: 3 additions & 3 deletions components/Edit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@
:isImg="!selectedSimpleIcons"
:icon="state.icon"
class="h-5 w-5"
imgclass="h-5 w-5"
imgclass="h-4 p-4"
/>
</template>
<template #option="{ option: icon }">
<AccountIcon
:isImg="!selectedSimpleIcons"
:icon="icon"
class="h-5 w-5 p-0.5"
imgclass="h-5 w-5 p-0.5"
class="h-4 w-4"
imgclass="h-4 w-4"
/>
<span class="truncate ml-2 capitalize">{{ icon }}</span>
</template>
Expand Down
6 changes: 3 additions & 3 deletions components/Form.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@
:isImg="!selectedSimpleIcons"
:icon="state.icon"
class="h-5 w-5"
imgclass="h-5 w-5"
imgclass="h-4 p-4"
/>
</template>
<template #option="{ option: icon }">
<AccountIcon
:isImg="!selectedSimpleIcons"
:icon="icon"
class="h-5 w-5 p-0.5"
imgclass="h-5 w-5 p-0.5"
class="h-4 w-4"
imgclass="h-4 w-4"
/>
<span class="truncate ml-2 capitalize">{{ icon }}</span>
</template>
Expand Down
3 changes: 2 additions & 1 deletion components/Tile.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
<AccountIcon
:isImg="account.icontype !== 'simple'"
:icon="account.icon"
class="h-full w-full p-1"
class="h-8 w-8"
imgclass="p-1"
/>
</div>
</div>
Expand Down
13 changes: 11 additions & 2 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,17 @@

export default defineNuxtConfig({
devtools: { enabled: false },

colorMode: {
preference: "dark",
},

modules: ["@nuxt/ui", "nuxt-auth-utils", "@nuxthub/core"],
ui: {
icons: ["heroicons", "material-symbols", "simple-icons"],

icon: {
serverBundle: {
collections: ["heroicons", "material-symbols", "simple-icons"],
},
},
runtimeConfig: {
AUTH_USERNAME: "",
Expand All @@ -16,9 +21,11 @@ export default defineNuxtConfig({
TELEGRAM_BOT_TOKEN: "",
TELEGRAM_USERID: "",
},

hub: {
database: true,
},

app: {
head: {
title: "MyAuthenticator",
Expand All @@ -27,4 +34,6 @@ export default defineNuxtConfig({
],
},
},

compatibilityDate: "2024-08-31",
});
Loading

0 comments on commit 263b589

Please sign in to comment.