diff --git a/src/packages/@app/pages/Auth/entry-point/EntryPoint.svelte b/src/packages/@app/pages/Auth/entry-point/EntryPoint.svelte index 758ecfcba..ae677c5a1 100644 --- a/src/packages/@app/pages/Auth/entry-point/EntryPoint.svelte +++ b/src/packages/@app/pages/Auth/entry-point/EntryPoint.svelte @@ -5,6 +5,8 @@ import constants from "$lib/utils/constants"; import Header from "$lib/components/header/Header.svelte"; import star from "$lib/assets/star.svg"; + import StarIcon from "../../../../@library/icons/Star.svelte"; + import StarFilled from "@library/icons/StarFilled.svelte"; import copyToClipBoard from "$lib/utils/copyToClipboard"; import { open } from "@tauri-apps/plugin-shell"; import { version } from "../../../../../../src-tauri/tauri.conf.json"; @@ -14,6 +16,7 @@ import BgContainer from "./BgContainer.svelte"; let isEntry = false; + let isHover = false; let redirectRules = { title: "Opening Web Browser...", description: "", @@ -102,22 +105,48 @@ >
-

{ await open(externalSparrowGithub); }} > - - Star us on GitHub -

+
{ + isHover = true; + }} + on:mouseleave={() => { + isHover = false; + }} + > +
+ {#if isHover} + + {:else} + + {/if} +
+ +

+ Star us on GitHub +

+
+
-

+

Version {version}

-

+

Check for Update

@@ -175,4 +204,8 @@ background-clip: text; color: transparent; } + .star-text-hover { + color: var(--primary-btn-color); + text-decoration: underline; + } diff --git a/src/packages/@app/pages/Auth/redirect/Redirect.svelte b/src/packages/@app/pages/Auth/redirect/Redirect.svelte index 031b67c83..a0d0ed1fe 100644 --- a/src/packages/@app/pages/Auth/redirect/Redirect.svelte +++ b/src/packages/@app/pages/Auth/redirect/Redirect.svelte @@ -95,10 +95,16 @@ class="px-2 sparrow-fs-12 text-secondary-250">Report Issue
-

- Version {version} -

-

Check for Update

+
+

+ Version {version} +

+

+ Check for Update +

+
@@ -135,6 +141,10 @@ a { text-decoration: none; } + a:hover { + color: var(--primary-btn-color); + text-decoration: underline; + } .cursor-pointer { cursor: pointer; } diff --git a/src/packages/@library/icons/Star.svelte b/src/packages/@library/icons/Star.svelte new file mode 100644 index 000000000..9e8ae2e46 --- /dev/null +++ b/src/packages/@library/icons/Star.svelte @@ -0,0 +1,18 @@ + + + + + diff --git a/src/packages/@library/icons/StarFilled.svelte b/src/packages/@library/icons/StarFilled.svelte new file mode 100644 index 000000000..fcb3d2aff --- /dev/null +++ b/src/packages/@library/icons/StarFilled.svelte @@ -0,0 +1,3 @@ + + + diff --git a/src/packages/@library/icons/index.ts b/src/packages/@library/icons/index.ts index a3005c37b..94a47a9d1 100644 --- a/src/packages/@library/icons/index.ts +++ b/src/packages/@library/icons/index.ts @@ -23,4 +23,6 @@ export { default as UploadIcon } from "./Upload.svelte"; export { default as InfoIcon } from "./Info.svelte"; export { default as FolderPlusIcon } from "./FolderPlus.svelte"; export { default as RequestIcon } from "./Request.svelte"; -export { default as ArrowUnfilledIcon} from "./ArrowUnfilled.svelte"; +export { default as ArrowUnfilledIcon } from "./ArrowUnfilled.svelte"; +export { default as StarIcon } from "./Star.svelte"; +export { default as StarFilledIcon } from "./StarFilled.svelte"; diff --git a/src/packages/@workspaces/common/components/environment-picker/EnvironmentPicker.svelte b/src/packages/@workspaces/common/components/environment-picker/EnvironmentPicker.svelte index c46bf8ab7..c2257ece2 100644 --- a/src/packages/@workspaces/common/components/environment-picker/EnvironmentPicker.svelte +++ b/src/packages/@workspaces/common/components/environment-picker/EnvironmentPicker.svelte @@ -69,7 +69,7 @@

{mock.key}

{#if mock.value} -

+

{mock.value}

{/if}
- {/if} {/each} @@ -167,11 +168,15 @@ style="height: 33px;" class="p-0 d-flex flex-column justify-content-center w-100 ps-2" > -

+

{mock.key}

{#if mock.value} -

+

{mock.value}

{/if} @@ -212,4 +217,7 @@ .env-item:hover { background-color: var(--bg-tertiary-400); } + .word-break { + word-break: break-all; + }