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
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import {
} from "@/components/ui/select";
import { useDashboardRouter } from "@/lib/DashboardRouter";
import { LazyCreateAPIKeyDialog } from "components/settings/ApiKeys/Create/LazyCreateAPIKeyDialog";
import { format } from "date-fns";
import { ChevronDownIcon, SearchIcon } from "lucide-react";
import Link from "next/link";
import { useState } from "react";
Expand Down Expand Up @@ -120,31 +119,29 @@ function ProjectCard(props: {
return (
<div
key={project.id}
className="relative flex items-center gap-4 rounded-lg border border-border bg-muted/50 p-4 transition-colors hover:bg-muted/70"
className="relative flex items-center gap-4 rounded-lg border border-border bg-muted/50 p-5 transition-colors hover:bg-muted/70"
>
{/* TODO - set image */}
<ProjectAvatar className="size-10 rounded-full" src="" />

<div>
<Link
className="group static before:absolute before:top-0 before:right-0 before:bottom-0 before:left-0 before:z-0"
// remove /connect when we have overview page
href={`/team/${team_slug}/${project.slug}`}
>
<h2 className="font-medium text-base">{project.name}</h2>
</Link>

<p className="mb-1 flex items-center gap-0.5 text-muted-foreground text-xs">
{truncate(project.publishableKey, 32)}
<div className="flex-grow flex-col gap-1">
<div className="flex items-center justify-between gap-2">
<Link
className="group static before:absolute before:top-0 before:right-0 before:bottom-0 before:left-0 before:z-0"
// remove /connect when we have overview page
href={`/team/${team_slug}/${project.slug}`}
>
<h2 className="font-medium text-base">{project.name}</h2>
</Link>
<CopyButton
text={project.publishableKey}
iconClassName="z-10 size-3"
className="!h-auto !w-auto -translate-x-1 p-2 hover:bg-background"
className="!h-auto !w-auto -translate-x-1 p-2 hover:bg-secondary"
/>
</p>
</div>

<p className="my-1 text-muted-foreground/70 text-xs">
Created on {format(new Date(project.createdAt), "MMM dd, yyyy")}
<p className="flex items-center text-muted-foreground text-sm">
{truncate(project.publishableKey, 32)}
</p>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ export function NebulaWaitListPageUI(props: {
title="You're on the waitlist"
description="You should receive access to Nebula soon!"
footer={
<div className="flex flex-col items-center gap-3">
<div className="flex flex-col items-center gap-6">
<ShareButton teamId={props.teamId} />
<p className="text-balance text-center text-muted-foreground">
<p className="w-full max-w-[340px] text-center text-muted-foreground text-sm">
Share this invite link and get moved up the list when your
friends sign up!
</p>
Expand Down Expand Up @@ -97,7 +97,7 @@ function CenteredCard(props: {
{props.description}
</p>

<div className="h-10" />
<div className="h-6" />

{props.footer}
</div>
Expand Down
Loading