Commit
show full debate result in hero, move replay button below
commit
a726360
1 changed file with +6 and −7
modified src/components/landing-hero.tsx +6 −7
| @@ -102,16 +102,15 @@export function LandingHero({ result }: { result: DebateResult }) { | ||
| 102 | 102 | </span> |
| 103 | 103 | </div> |
| 104 | 104 | |
| 105 | - <div className="relative max-h-[68vh] overflow-hidden p-4 md:p-6"> | |
| 105 | + <div className="p-4 md:p-6"> | |
| 106 | 106 | <DebateConsole view={view} showActions={false} /> |
| 107 | - <div className="pointer-events-none absolute inset-x-0 bottom-0 h-32 bg-gradient-to-t from-card via-card/80 to-transparent" /> | |
| 108 | 107 | </div> |
| 108 | + </div> | |
| 109 | 109 | |
| 110 | - <div className="absolute inset-x-0 bottom-4 flex justify-center"> | |
| 111 | - <Button asChild size="sm" variant="secondary" className="shadow-lg"> | |
| 112 | - <Link href={`/demo/${result.debateId}`}>Open the full replay</Link> | |
| 113 | - </Button> | |
| 114 | - </div> | |
| 110 | + <div className="mt-5 flex justify-center"> | |
| 111 | + <Button asChild variant="outline" size="sm"> | |
| 112 | + <Link href={`/demo/${result.debateId}`}>Open the full replay</Link> | |
| 113 | + </Button> | |
| 115 | 114 | </div> |
| 116 | 115 | </div> |
| 117 | 116 | </section> |