Compare commits
3
Commits
140ba10df6
..
v0.9.6
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d96a28f6cc | ||
|
|
5a6da7e507 | ||
|
|
b58640beb2 |
@@ -24,7 +24,7 @@ export default async function DevicesPage({
|
|||||||
</div>
|
</div>
|
||||||
<Card className="bp-glass">
|
<Card className="bp-glass">
|
||||||
<CardHeader>
|
<CardHeader>
|
||||||
<CardTitle className="text-base">Known devices</CardTitle>
|
<CardTitle className="text-sm">Known devices</CardTitle>
|
||||||
</CardHeader>
|
</CardHeader>
|
||||||
<CardContent className="flex flex-col gap-3">
|
<CardContent className="flex flex-col gap-3">
|
||||||
<DevicesTable devices={devices} />
|
<DevicesTable devices={devices} />
|
||||||
|
|||||||
+1
-1
@@ -56,7 +56,7 @@ export default async function DashboardPage() {
|
|||||||
|
|
||||||
<Card className="bp-glass">
|
<Card className="bp-glass">
|
||||||
<CardHeader>
|
<CardHeader>
|
||||||
<CardTitle className="text-base">Recent sessions</CardTitle>
|
<CardTitle className="text-sm">Recent sessions</CardTitle>
|
||||||
</CardHeader>
|
</CardHeader>
|
||||||
<CardContent className="flex flex-col gap-3">
|
<CardContent className="flex flex-col gap-3">
|
||||||
<SessionsTable sessions={recentSessions} />
|
<SessionsTable sessions={recentSessions} />
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ export default async function SessionDetailPage({ params }: { params: Promise<{
|
|||||||
|
|
||||||
<Card className="bp-glass">
|
<Card className="bp-glass">
|
||||||
<CardHeader>
|
<CardHeader>
|
||||||
<CardTitle className="text-base">Intensity timeline</CardTitle>
|
<CardTitle className="text-sm">Intensity timeline</CardTitle>
|
||||||
</CardHeader>
|
</CardHeader>
|
||||||
<CardContent>
|
<CardContent>
|
||||||
<SessionTimelineChart timeline={timeline} />
|
<SessionTimelineChart timeline={timeline} />
|
||||||
@@ -81,7 +81,7 @@ export default async function SessionDetailPage({ params }: { params: Promise<{
|
|||||||
|
|
||||||
<Card className="bp-glass">
|
<Card className="bp-glass">
|
||||||
<CardHeader>
|
<CardHeader>
|
||||||
<CardTitle className="text-base">Devices</CardTitle>
|
<CardTitle className="text-sm">Devices</CardTitle>
|
||||||
</CardHeader>
|
</CardHeader>
|
||||||
<CardContent className="flex flex-col gap-1">
|
<CardContent className="flex flex-col gap-1">
|
||||||
{detail.devices.map((d) => (
|
{detail.devices.map((d) => (
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ export default async function SessionsPage({
|
|||||||
</div>
|
</div>
|
||||||
<Card className="bp-glass">
|
<Card className="bp-glass">
|
||||||
<CardHeader>
|
<CardHeader>
|
||||||
<CardTitle className="text-base">History</CardTitle>
|
<CardTitle className="text-sm">History</CardTitle>
|
||||||
</CardHeader>
|
</CardHeader>
|
||||||
<CardContent className="flex flex-col gap-3">
|
<CardContent className="flex flex-col gap-3">
|
||||||
<SessionsTable sessions={sessions} />
|
<SessionsTable sessions={sessions} />
|
||||||
|
|||||||
@@ -134,6 +134,29 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Themed scrollbar - follows --border/--muted-foreground so it swaps with
|
||||||
|
light/dark like everything else, instead of the OS-default bar. */
|
||||||
|
* {
|
||||||
|
scrollbar-width: thin;
|
||||||
|
scrollbar-color: var(--muted-foreground) transparent;
|
||||||
|
}
|
||||||
|
*::-webkit-scrollbar {
|
||||||
|
width: 10px;
|
||||||
|
height: 10px;
|
||||||
|
}
|
||||||
|
*::-webkit-scrollbar-track {
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
|
*::-webkit-scrollbar-thumb {
|
||||||
|
background-color: var(--border);
|
||||||
|
border-radius: 999px;
|
||||||
|
border: 2px solid transparent;
|
||||||
|
background-clip: padding-box;
|
||||||
|
}
|
||||||
|
*::-webkit-scrollbar-thumb:hover {
|
||||||
|
background-color: var(--muted-foreground);
|
||||||
|
}
|
||||||
|
|
||||||
/* Animated signature-sweep background - sits behind everything; cards use
|
/* Animated signature-sweep background - sits behind everything; cards use
|
||||||
.bp-glass (translucent + blurred) so it shines through instead of being
|
.bp-glass (translucent + blurred) so it shines through instead of being
|
||||||
fully hidden behind an opaque card surface. */
|
fully hidden behind an opaque card surface. */
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ export function DeviceUsageTable({ devices }: { devices: DeviceUsageRow[] }) {
|
|||||||
return (
|
return (
|
||||||
<Card className="bp-glass">
|
<Card className="bp-glass">
|
||||||
<CardHeader>
|
<CardHeader>
|
||||||
<CardTitle className="text-base">Device usage</CardTitle>
|
<CardTitle className="text-sm">Device usage</CardTitle>
|
||||||
</CardHeader>
|
</CardHeader>
|
||||||
<CardContent className="text-sm text-muted-foreground">No device activity yet.</CardContent>
|
<CardContent className="text-sm text-muted-foreground">No device activity yet.</CardContent>
|
||||||
</Card>
|
</Card>
|
||||||
@@ -26,7 +26,7 @@ export function DeviceUsageTable({ devices }: { devices: DeviceUsageRow[] }) {
|
|||||||
return (
|
return (
|
||||||
<Card className="bp-glass">
|
<Card className="bp-glass">
|
||||||
<CardHeader>
|
<CardHeader>
|
||||||
<CardTitle className="text-base">Device usage</CardTitle>
|
<CardTitle className="text-sm">Device usage</CardTitle>
|
||||||
</CardHeader>
|
</CardHeader>
|
||||||
<CardContent>
|
<CardContent>
|
||||||
<Table>
|
<Table>
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "sexy",
|
"name": "sexy",
|
||||||
"version": "0.9.4",
|
"version": "0.9.6",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev",
|
"dev": "next dev",
|
||||||
|
|||||||
Reference in New Issue
Block a user