Skip to content

Commit

Permalink
adjusted two column layout
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanLi0802 committed Oct 19, 2024
1 parent 2f0f230 commit 9d7a608
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
Binary file modified src/assets/exp4.png
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/components/TwoColumns.astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// TODO: when the page is narrow enough, figures with images don't have any horizontal padding
---

<div class="flex flex-wrap gap-2 items-center w-full">
<div class="flex flex-wrap gap-2 items-start w-full">
<div class="flex-1 min-w-[16rem]">
<slot name="left" />
</div>
Expand Down
11 changes: 6 additions & 5 deletions src/pages/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ import exp4 from "../assets/exp4.png";
},
]}
/>

{/* <div class="max-w-[60rem]"> */}
<Video source={demo_placeholder} />
This is a placeholder I will get rid of it later.

Expand Down Expand Up @@ -137,21 +137,22 @@ We find that all models displayed noticeable improvements in feedback following.
</TwoColumns> */}

## Test Set Examples

{/* </div> */}
<div class="bg-gray-100 max-w-[80rem]">
<TwoColumns>
<Figure slot="left">
<Image src={exp1} alt="Exp 1" />
</Figure>
<Figure slot="right">
<Image src={exp2} alt="Exp 2" />
<Image src={exp4} alt="Exp 4" />
</Figure>

</TwoColumns>
<TwoColumns>
<Figure slot="left">
<Image src={exp3} alt="Exp 3" />
</Figure>
<Figure slot="right">
<Image src={exp4} alt="Exp 4" />
<Image src={exp2} alt="Exp 2" />
</Figure>
</TwoColumns>
</div>
Expand Down

0 comments on commit 9d7a608

Please sign in to comment.