@@ -32,7 +32,6 @@ import 'filepond/dist/filepond.min.css';
32
32
import 'filepond-plugin-image-preview/dist/filepond-plugin-image-preview.css' ;
33
33
34
34
import { CustomLink } from "./settings/common" ;
35
- import isTauri from "@/utils/isTauri" ;
36
35
import { t } from "i18next" ;
37
36
import Link from "next/dist/client/link" ;
38
37
@@ -239,8 +238,8 @@ export const ShareModal = ({
239
238
className = "absolute top-0 left-0 w-full h-full bg-violet-700 opacity-10 z-index-50"
240
239
> </ div >
241
240
< div className = "h-screen overflow-auto opacity-95 backdrop-blur" >
242
- < div className = "mx-auto max-w-3xl py-16 text-text1 " >
243
- < div className = "mt-16" >
241
+ < div className = "mx-auto max-w-2xl py-16" >
242
+ < div >
244
243
< TextButton
245
244
className = "rounded-b-none text-lg ml-4 px-8 shadow-sm"
246
245
onClick = { ( ) => {
@@ -254,19 +253,12 @@ export const ShareModal = ({
254
253
</ TextButton >
255
254
256
255
< div className = "bg-white flex-col justify-center p-7 rounded-xl" >
257
- < div className = "col-span-3 max-w-md rounded-xl mt-4 bg-white" >
258
- < h1 className = "text-lg" > { t ( "Character Creator" ) } </ h1 >
259
- { isTauri ( ) && (
260
- < p className = "text-sm mt-2" >
261
- { t ( "Wrong place?" ) }
262
- { ' ' }
263
- < Link href = "/" className = "text-cyan-600 hover:text-cyan-700" > { t ( 'Go home' ) } </ Link >
264
- </ p >
265
- ) }
266
- </ div >
267
-
268
256
< div className = "flex justify-center" >
269
257
< div >
258
+ < div className = "sm:col-span-3 max-w-md rounded-xl mt-4" >
259
+ < h1 className = "text-lg" > { t ( "Character Creator" ) } </ h1 >
260
+ </ div >
261
+
270
262
< div className = "sm:col-span-3 max-w-md rounded-xl mt-4" >
271
263
< label className = "block text-sm font-medium leading-6 text-gray-900" >
272
264
{ t ( "Description" ) }
@@ -634,18 +626,12 @@ export const ShareModal = ({
634
626
{ ' ' }
635
627
< Link
636
628
href = { `https://amica.arbius.ai/import/${ sqid } ` }
637
- target = { isTauri ( ) ? "_blank" : '' }
629
+ target = "_blank"
638
630
className = "text-cyan-600 hover:text-cyan-700"
639
631
>
640
632
https://amica.arbius.ai/import/{ sqid }
641
633
</ Link >
642
634
</ p >
643
-
644
- < button
645
- className = "mt-6 inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-emerald-500 hover:bg-emerald-600 focus:outline-none disabled:opacity-50 disabled:hover:bg-emerald-500 disabled:cursor-not-allowed"
646
- onClick = { onClickClose } >
647
- { t ( "Return Home" ) }
648
- </ button >
649
635
</ div >
650
636
) }
651
637
</ div >
0 commit comments