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
6 changes: 3 additions & 3 deletions apps/web/components/chat/chat-header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ import {
RefreshIcon,
SettingsIcon,
SpinnerIcon,
VercelLogoIcon,
} from '@/lib/icons'
import { OrunbaseMarkIcon } from '@/components/ui/orunbase-mark'
import { cn } from '@/lib/utils'

export type ChatView = 'preview' | 'code'
Expand Down Expand Up @@ -204,7 +204,7 @@ export function ChatHeader({
{deploymentUrl ? (
<Button asChild className="h-7 gap-1.5 rounded-md px-2 text-xs" size="sm">
<a href={deploymentUrl} rel="noreferrer" target="_blank">
<VercelLogoIcon className="size-3.5" />
<OrunbaseMarkIcon className="size-3.5" />
View
</a>
</Button>
Expand All @@ -220,7 +220,7 @@ export function ChatHeader({
{isPublishing ? (
<SpinnerIcon className="size-3.5 animate-spin" />
) : (
<VercelLogoIcon className="size-3.5" />
<OrunbaseMarkIcon className="size-3.5" />
)}
{isPublishing ? 'Publishing' : 'Publish'}
</Button>
Expand Down
6 changes: 3 additions & 3 deletions apps/web/components/chat/task-resolution.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ function IntegrationTask({
const result = await createProjectMutation.trigger({})
setVercelProjectId(result.vercelProjectId)
} catch (error) {
setProjectError(error instanceof Error ? error.message : 'Failed to create Vercel project.')
setProjectError(error instanceof Error ? error.message : 'Failed to create project.')
}
}

Expand Down Expand Up @@ -308,7 +308,7 @@ function IntegrationTask({
{data.requestedIntegrations.length > 0 ? (
vercelProjectId ? (
<p className="text-muted-foreground">
Vercel project ready: <span className="font-mono">{vercelProjectId}</span>
Project ready: <span className="font-mono">{vercelProjectId}</span>
</p>
) : (
<div className="grid justify-items-start gap-1.5">
Expand All @@ -319,7 +319,7 @@ function IntegrationTask({
type="button"
variant="outline"
>
{isCreatingProject ? 'Creating project…' : 'Create Vercel project'}
{isCreatingProject ? 'Creating project…' : 'Create project'}
</Button>
{projectError ? <p className="text-destructive">{projectError}</p> : null}
</div>
Expand Down
4 changes: 2 additions & 2 deletions apps/web/components/home/home-client.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,8 @@ export function HomeClient() {
<DialogHeader>
<DialogTitle>Import GitHub repository</DialogTitle>
<DialogDescription>
Start a new chat from a public repository or a private repository connected through
Vercel.
Start a new chat from a public repository or a private repository your v0 account
can reach.
</DialogDescription>
</DialogHeader>
<div className="grid gap-2">
Expand Down
15 changes: 15 additions & 0 deletions apps/web/components/ui/orunbase-mark.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import type { SVGProps } from 'react'

// The Orunbase mark (small build), drawn for the primary-coloured button it
// sits on: the dome takes the text colour, the earth the amber for that surface.
export function OrunbaseMarkIcon(props: SVGProps<SVGSVGElement>) {
return (
<svg aria-hidden="true" viewBox="0 0 48 48" {...props}>
<path d="M5.06 31.58 A20.4 20.4 0 1 1 42.94 31.58 Z" fill="currentColor" />
<path
className="fill-[#E3B34C] dark:fill-[#B8862F]"
d="M10.43 39.23 A20.4 20.4 0 0 0 37.57 39.23 Z"
/>
</svg>
)
}
1 change: 0 additions & 1 deletion apps/web/lib/icons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ export {
Copy as CopyIcon,
Download as DownloadIcon,
LogoV0 as V0LogoIcon,
LogoVercel as VercelLogoIcon,
Stop as StopIcon,
SettingsGear as SettingsIcon,
FileText as FileIcon,
Expand Down
Loading