Update version, gemini models, and new progress dialoge, and charxjpeg
This commit is contained in:
@@ -1,27 +1,43 @@
|
||||
<script lang="ts">
|
||||
import { onMount } from "svelte";
|
||||
|
||||
export let className: string = "";
|
||||
interface Props {
|
||||
className?: string;
|
||||
}
|
||||
|
||||
let { className = $bindable() }:Props = $props();
|
||||
|
||||
onMount(() => {
|
||||
if(!import.meta.env.VITE_AD_CLIENT){
|
||||
return
|
||||
}
|
||||
//@ts-ignore
|
||||
(window.adsbygoogle = window.adsbygoogle || []).push({});
|
||||
try{
|
||||
//@ts-ignore
|
||||
(window.adsbygoogle = window.adsbygoogle || []).push({});
|
||||
}catch{}
|
||||
});
|
||||
</script>
|
||||
|
||||
{#if !import.meta.env.VITE_AD_CLIENT}
|
||||
<div
|
||||
class={className}
|
||||
>
|
||||
<ins
|
||||
class="adsbygoogle"
|
||||
style="display:block"
|
||||
data-ad-client={import.meta.env.VITE_AD_CLIENT}
|
||||
data-ad-slot={import.meta.env.VITE_AD_SLOT}
|
||||
data-ad-format="auto"
|
||||
data-full-width-responsive="true"
|
||||
></ins>
|
||||
</div>
|
||||
{#if import.meta.env.VITE_AD_CLIENT}
|
||||
{#if import.meta.env.VITE_AD_CLIENT === 'TEST'}
|
||||
<div
|
||||
class={className}
|
||||
>
|
||||
<div
|
||||
class="bg-slate-500"
|
||||
style={window.innerWidth > 728 ? "display:block !important;width:728px;height:90px" : "display:block !important;width:300px;height:100px"}
|
||||
>TEST</div>
|
||||
</div>
|
||||
{:else}
|
||||
<div
|
||||
class={className}
|
||||
>
|
||||
<ins
|
||||
class="adsbygoogle"
|
||||
style={window.innerWidth > 728 ? "display:block !important;width:728px;height:90px" : "display:block !important;width:300px;height:100px"}
|
||||
data-ad-client={window.innerWidth > 728 ? import.meta.env.VITE_AD_CLIENT : import.meta.env.VITE_AD_CLIENT_MOBILE}
|
||||
data-ad-slot={window.innerWidth > 728 ? import.meta.env.VITE_AD_SLOT : import.meta.env.VITE_AD_SLOT_MOBILE}
|
||||
></ins>
|
||||
</div>
|
||||
{/if}
|
||||
{/if}
|
||||
@@ -8,6 +8,7 @@
|
||||
import RealmLicense from "./RealmLicense.svelte";
|
||||
import MultiLangDisplay from "../GUI/MultiLangDisplay.svelte";
|
||||
import { tooltip } from "src/ts/gui/tooltip";
|
||||
import Googli from "../Googli.svelte";
|
||||
|
||||
interface Props {
|
||||
openedData: hubType;
|
||||
@@ -50,6 +51,7 @@
|
||||
<span class="text-textcolor2" use:tooltip={language.popularityLevelDesc}>
|
||||
{language.popularityLevel.replace('{}', openedData.download.toString())}
|
||||
</span>
|
||||
|
||||
<div class="border-l-selected border-l ml-1 mr-1"></div>
|
||||
{#if openedData.hasEmotion}
|
||||
<button class="text-textcolor2 hover:text-green-500 transition-colors" onclick={((e) => {
|
||||
@@ -69,6 +71,9 @@
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<Googli />
|
||||
|
||||
<div class="flex flex-row-reverse gap-2">
|
||||
<button class="text-textcolor2 hover:text-red-500" onclick={(async (e) => {
|
||||
e.stopPropagation()
|
||||
|
||||
Reference in New Issue
Block a user