hizeny commited on
Commit
4ddbdae
ยท
1 Parent(s): 5eae92d

fix(frontend): add empty state

Browse files
frontend/components/answer-list.tsx CHANGED
@@ -51,8 +51,13 @@ export function AnswerList({ items }: AnswerListProps) {
51
  ))}
52
  </div>
53
  ) : (
54
- <div className="p-8 text-center text-muted-foreground">
55
- No summary generated
 
 
 
 
 
56
  </div>
57
  )}
58
  </ScrollArea>
 
51
  ))}
52
  </div>
53
  ) : (
54
+ <div className="pt-4 md:pt-8 text-center text-muted-foreground text-sm leading-6">
55
+ <p className="mb-2">ใƒ’ใƒณใƒˆ:</p>
56
+ <ul>
57
+ <li>ๅ…็ซฅๆ‰‹ๅฝ“ใฎ็”ณ่ซ‹ๆœŸ้™ใ‚’ๆ•™ใˆใฆใใ ใ•ใ„</li>
58
+ <li>ใƒžใ‚คใƒŠใƒณใƒใƒผใ‚ซใƒผใƒ‰ใซ่จ˜่ผ‰ใ•ใ‚Œใฆใ„ใ‚‹้›ปๅญ่จผๆ˜Žๆ›ธใจใฏ๏ผŸ</li>
59
+ <li>ๅนด้‡‘ใฏใ€Œใ„ใคใ‹ใ‚‰ใ€ใ€Œใ„ใใ‚‰ใ€ๅ—ใ‘ๅ–ใ‚Œใพใ™ใ‹๏ผŸ</li>
60
+ </ul>
61
  </div>
62
  )}
63
  </ScrollArea>
frontend/components/answer-summary.tsx CHANGED
@@ -63,8 +63,8 @@ export function AnswerSummary({ query, items }: AnswerSummaryProps) {
63
  </div>
64
  </div>
65
  ) : (
66
- <div className="p-8 text-center text-muted-foreground">
67
- No summary generated
68
  </div>
69
  )}
70
  </ScrollArea>
 
63
  </div>
64
  </div>
65
  ) : (
66
+ <div className="pt-8 md:pt-40 text-center text-muted-foreground text-sm">
67
+ ๆคœ็ดข็ตๆžœใŒใพใ ใ‚ใ‚Šใพใ›ใ‚“
68
  </div>
69
  )}
70
  </ScrollArea>