Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions apps/www/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,9 @@
"typecheck": "bun run check"
},
"dependencies": {
"@lisse/core": "0.7.2",
"@lucide/svelte": "1.45.0",
"@powermove/player": "workspace:*",
"@powermove/tokens": "workspace:*"
"@powermove/tokens": "workspace:*",
"@powermove/player": "workspace:*"
},
"devDependencies": {
"@sveltejs/adapter-static": "3.0.10",
Expand Down
6 changes: 1 addition & 5 deletions apps/www/src/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,13 @@ main{overflow:clip}
.cta.center{justify-content:center}

/* Small solid pills: white on the gradient, ink on paper, frosted for the secondary. */
.pill{display:inline-flex;align-items:center;justify-content:center;gap:7px;height:36px;padding:0 14px;border-radius:10px;font-size:15px;font-weight:500;letter-spacing:-.01em;white-space:nowrap;transition:background var(--dur-3),color var(--dur-3),scale var(--dur-2) var(--ease)}
.pill{display:inline-flex;align-items:center;justify-content:center;gap:7px;height:36px;padding:0 14px;border-radius:8px;font-size:15px;font-weight:500;letter-spacing:-.01em;white-space:nowrap;transition:background var(--dur-3),color var(--dur-3),scale var(--dur-2) var(--ease)}
.pill:active{scale:.98}
.pill.light{background:#fff;color:#16110E}
.pill.light:hover{background:rgb(255 255 255 / .86)}
.pill.glass{background:rgb(255 255 255 / .13);color:#fff;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
.pill.glass:hover{background:rgb(255 255 255 / .2)}
.pill.dark{background:#16110E;color:#fff}
/* Smoothed pills draw keyboard focus as a Lisse inner edge; a box-shadow ring would be clipped. */
.pill.light{--squircle-focus:var(--accent)}
.pill.glass{--squircle-focus:rgb(255 255 255 / .9)}
.pill[data-squircle]:focus-visible{box-shadow:none}

/* ---- header ---- */
.site-header{position:absolute;inset:0 0 auto;z-index:50;color:var(--tx)}
Expand Down
8 changes: 2 additions & 6 deletions apps/www/src/lib/Footer.svelte
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
<script lang="ts">
import { squircle } from '$lib/squircle';

// The site's marketing pills read flat at the app's 0.5 control smoothing.
const PILL = { smoothing: 0.8 };
import { GITHUB, RELEASES } from '$lib/links';
import { download, resolveDownload, stars } from '$lib/download.svelte';

Expand Down Expand Up @@ -50,8 +46,8 @@
<a class="foot-mark" href="/#top" aria-label="Powermove home"><span aria-hidden="true"></span></a>
<p class="foot-line">Powermove is free and open source, for Macs with Apple silicon.</p>
<div class="foot-cta">
<a class="pill light" use:squircle={PILL} href={download.href}>Download for Mac</a>
<a class="pill glass" use:squircle={PILL} href={GITHUB} target="_blank" rel="noopener">Star on GitHub{#if stars.label} <span class="pill-count tabular">{stars.label}</span>{/if}</a>
<a class="pill light" href={download.href}>Download for Mac</a>
<a class="pill glass" href={GITHUB} target="_blank" rel="noopener">Star on GitHub{#if stars.label} <span class="pill-count tabular">{stars.label}</span>{/if}</a>
</div>
</div>

Expand Down
8 changes: 2 additions & 6 deletions apps/www/src/lib/Hero.svelte
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
<script lang="ts">
import { squircle } from '$lib/squircle';

// The site's marketing pills read flat at the app's 0.5 control smoothing.
const PILL = { smoothing: 0.8 };
import { onMount, untrack } from 'svelte';
import { download, stars } from '$lib/download.svelte';
import { GITHUB } from '$lib/links';
Expand Down Expand Up @@ -176,6 +172,6 @@
</div>

<div class="hero-cta">
<a class="pill light" use:squircle={PILL} href={download.href}>Download for Mac</a>
<a class="pill glass" use:squircle={PILL} href={GITHUB} target="_blank" rel="noopener">Star on GitHub{#if stars.label} <span class="pill-count tabular">{stars.label}</span>{/if}</a>
<a class="pill light" href={download.href}>Download for Mac</a>
<a class="pill glass" href={GITHUB} target="_blank" rel="noopener">Star on GitHub{#if stars.label} <span class="pill-count tabular">{stars.label}</span>{/if}</a>
</div>
74 changes: 0 additions & 74 deletions apps/www/src/lib/squircle.ts

This file was deleted.

1 change: 0 additions & 1 deletion bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading