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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/renderer/src/components/workspace/feature-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ interface FeatureCardProps {
export function FeatureCard({ card }: FeatureCardProps): React.JSX.Element {
return (
<div className="flex-1 bg-gradient-to-b from-stone-900 to-neutral-800 rounded-[20px] outline-1 outline-offset-[-1px] outline-neutral-700 flex flex-col justify-start items-center overflow-hidden">
<div className="w-full h-48 bg-neutral-700" />
<img src={card.image} alt={card.title} className="w-full h-48 object-cover" />
<div className="self-stretch p-5 flex flex-col justify-center items-center gap-4">
<div className="self-stretch text-center text-violet-400 text-xs font-medium font-['Pretendard'] leading-none">
{card.title}
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/src/components/workspace/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ export interface NavItem {
export interface FeatureCardData {
title: string
description: React.ReactNode
image?: string
image: string
}
12 changes: 9 additions & 3 deletions src/renderer/src/components/workspace/workspace-empty-state.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import { Plus } from 'lucide-react'
import { FeatureCard } from './feature-card'
import type { FeatureCardData } from './types'
import naturalQueryImage from '../../assets/empty-image/natural-language-query.png'
import queryResultImage from '../../assets/empty-image/query-result.png'
import autoColumnImage from '../../assets/empty-image/auto-column-description.png'

const featureCards: FeatureCardData[] = [
{
Expand All @@ -11,7 +14,8 @@ const featureCards: FeatureCardData[] = [
<br />
자연어로 입력하면 쿼리를 만들어줘요.
</>
)
),
image: naturalQueryImage
},
{
title: '쿼리 실행 결과 확인',
Expand All @@ -21,7 +25,8 @@ const featureCards: FeatureCardData[] = [
<br />
결과는 표로 정리돼 한눈에 보여요.
</>
)
),
image: queryResultImage
},
{
title: '자동 컬럼 설명 생성',
Expand All @@ -31,7 +36,8 @@ const featureCards: FeatureCardData[] = [
<br />
이해하기 쉬운 설명을 자동으로 생성해줘요.
</>
)
),
image: autoColumnImage
}
]

Expand Down