Skip to content

Commit 99b3fba

Browse files
committed
feat: add new big logo and update references in config and styles
1 parent 23aaa35 commit 99b3fba

3 files changed

Lines changed: 215 additions & 217 deletions

File tree

docs/.vitepress/theme/components/HomeHero.vue

Lines changed: 14 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
<script setup lang="ts">
2-
import InstallNavButton from "./InstallNavButton.vue";
2+
import { computed } from 'vue'
3+
import { useData } from 'vitepress'
4+
import InstallNavButton from './InstallNavButton.vue'
5+
6+
const { isDark } = useData()
7+
8+
const screenshotSrc = computed(() => (isDark.value ? '/screenshot.png' : '/screenshot-light.png'))
9+
const logoOutlineSrc = computed(() =>
10+
isDark.value ? '/logo-part-outline.svg' : '/logo-part-outline-dark.svg',
11+
)
312
</script>
413
<template>
514
<div class="flex flex-col items-center py-20 lg:py-30">
@@ -14,38 +23,23 @@ import InstallNavButton from "./InstallNavButton.vue";
1423
<div class="relative w-full -mt-20 -mb-40">
1524
<div class="flex flex-col items-center select-none pointer-events-none">
1625
<div
17-
class="relative animate-[spin_60s_linear_infinite] select-none opacity-20 hidden dark:block w-full"
18-
>
19-
<img
20-
src="/logo-part-outline.svg"
21-
class="h-full w-full relative"
22-
style="animation: first-star 10s; transform: rotate(106deg)"
23-
/>
24-
<img
25-
src="/logo-part-outline.svg"
26-
class="h-full w-full absolute top-0"
27-
style="animation: second-star 10s"
28-
/>
29-
</div>
30-
<div
31-
class="relative animate-[spin_60s_linear_infinite] select-none opacity-20 block dark:hidden w-full"
26+
class="relative animate-[spin_60s_linear_infinite] select-none opacity-20 w-full"
3227
>
3328
<img
34-
src="/logo-part-outline-dark.svg"
29+
:src="logoOutlineSrc"
3530
class="h-full w-full relative"
3631
style="animation: first-star 10s; transform: rotate(106deg)"
3732
/>
3833
<img
39-
src="/logo-part-outline-dark.svg"
34+
:src="logoOutlineSrc"
4035
class="h-full w-full absolute top-0"
4136
style="animation: second-star 10s"
4237
/>
4338
</div>
4439
</div>
4540

4641
<div class="absolute h-full w-full flex items-center justify-center top-0">
47-
<img class="!hidden !dark:block w-full !max-w-100%" src="/screenshot.png" />
48-
<img class="!block !dark:hidden w-full !max-w-100%" src="/screenshot-light.png" />
42+
<img class="w-full !max-w-100%" :src="screenshotSrc" alt="StarQuery app screenshot" />
4943
</div>
5044

5145

docs/.vitepress/theme/components/HomeScreenshotShowcase.vue

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<template>
22
<section class="mt-10 grid items-center gap-8 pt-2 md:grid-cols-[minmax(0,1fr)_minmax(0,1.15fr)]">
33
<div>
4-
<div class="mb-4 text-[0.78rem] font-bold uppercase tracking-[0.16em] text-[var(--vp-c-default-2)]">
4+
<div class="mb-4 text-[0.78rem] font-bold uppercase tracking-[0.16em] ">
55
Product Preview
66
</div>
7-
<h2 class="mb-4 text-[clamp(1.9rem,3vw,3rem)] leading-[1.02] tracking-[-0.05em] text-[var(--vp-c-default-1)]">
7+
<h2 class="mb-4 text-[clamp(1.9rem,3vw,3rem)] leading-[1.02] tracking-[-0.05em] ">
88
Built for real data work, without looking like a generic admin panel.
99
</h2>
10-
<p class="m-0 text-[var(--vp-c-default-2)]">
10+
<p class="m-0 ">
1111
StarQuery combines dense operational workflows with a calmer interface language. The goal
1212
is not just capability, but capability that still feels considered.
1313
</p>
@@ -16,20 +16,20 @@
1616
<div
1717
class="grid gap-1 rounded-[18px] border border-[var(--vp-c-border)] bg-[linear-gradient(180deg,var(--vp-c-bg),var(--vp-c-bg-soft))] px-4 py-4"
1818
>
19-
<strong class="text-[0.98rem] tracking-[-0.02em] text-[var(--vp-c-default-1)]">One consistent workspace</strong>
20-
<span class="text-[var(--vp-c-default-2)]">Queries, browsers, editors, exports and admin workflows follow the same design logic.</span>
19+
<strong class="text-[0.98rem] tracking-[-0.02em] ">One consistent workspace</strong>
20+
<span>Queries, browsers, editors, exports and admin workflows follow the same design logic.</span>
2121
</div>
2222
<div
2323
class="grid gap-1 rounded-[18px] border border-[var(--vp-c-border)] bg-[linear-gradient(180deg,var(--vp-c-bg),var(--vp-c-bg-soft))] px-4 py-4"
2424
>
25-
<strong class="text-[0.98rem] tracking-[-0.02em] text-[var(--vp-c-default-1)]">Dense, but readable</strong>
26-
<span class="text-[var(--vp-c-default-2)]">Power features stay accessible without collapsing into noisy, cramped tooling.</span>
25+
<strong class="text-[0.98rem] tracking-[-0.02em] ">Dense, but readable</strong>
26+
<span>Power features stay accessible without collapsing into noisy, cramped tooling.</span>
2727
</div>
2828
<div
2929
class="grid gap-1 rounded-[18px] border border-[var(--vp-c-border)] bg-[linear-gradient(180deg,var(--vp-c-bg),var(--vp-c-bg-soft))] px-4 py-4"
3030
>
31-
<strong class="text-[0.98rem] tracking-[-0.02em] text-[var(--vp-c-default-1)]">Use it solo or with a team</strong>
32-
<span class="text-[var(--vp-c-default-2)]">The same experience works for quick local sessions and for shared, browser-based deployments.</span>
31+
<strong class="text-[0.98rem] tracking-[-0.02em] ">Use it solo or with a team</strong>
32+
<span>The same experience works for quick local sessions and for shared, browser-based deployments.</span>
3333
</div>
3434
</div>
3535
</div>

0 commit comments

Comments
 (0)