diff --git a/package.json b/package.json index 29df3f53..00ce3888 100644 --- a/package.json +++ b/package.json @@ -27,6 +27,7 @@ "@rollup/plugin-replace": "^2.3.4", "@rollup/plugin-url": "^5.0.0", "autoprefixer": "^10.0.1", + "dayjs": "^1.9.4", "dotenv": "^8.2.0", "postcss": "^8.1.2", "postcss-load-config": "^3.0.0", @@ -37,6 +38,7 @@ "sapper": "^0.28.0", "svelte": "^3.17.3", "svelte-preprocess": "^4.5.1", + "svelte-simple-modal": "^0.6.1", "tailwindcss": "^1.9.5" } } diff --git a/src/components/DataSync.svelte b/src/components/DataSync.svelte index 0c59db10..e018af04 100644 --- a/src/components/DataSync.svelte +++ b/src/components/DataSync.svelte @@ -1,12 +1,22 @@ + +
+ Your local data is conflicting with the ones stored in the Google Drive! +
+
+
Last modified: {remoteFormatted}
+ +OR
+
+
Last modified: {localFormatted}
+ +
Paimon.moe is not affiliated with miHoYo.
Genshin Impact, game content and materials are trademarks and copyrights of miHoYo.
+ Paimon.moe use Application Data Directory on your Google Drive to save and sync your wish counter and todo list. +
+Paimon.moe can only read and write file that this site create.
{#if $driveLoading}Drive signed in: {$driveSignedIn}
- {#if !$driveSignedIn} - - {:else} - - {/if} + +
+ Sync Status:
+
+ {$synced ? 'Synced' : 'Syncing...'}
+ {#if $synced}
+