yuanjian-org / app

A Web app that supports mentorship programs at Visionary Education Foundation (远见教育基金会).
http://yuanjian.org
GNU Affero General Public License v3.0
10 stars 4 forks source link

Add partners section to index page. #444

Open lijunray opened 1 week ago

lijunray commented 1 week ago
Screenshot 2024-10-25 at 10 12 14 PM

Styling could be refined later, but the basic data driven UI is built.

441

vercel[bot] commented 1 week ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
yuantu ✅ Ready (Inspect) Visit Preview Nov 4, 2024 0:50am
weihanwang commented 4 days ago

image the images should be centrally aligned vertically. the text should be also centrally aligned vertically.

text should be also centrally aligned horizontally. "中国科学技术大学" should be in a single line and not broken into two lines.

lijunray commented 1 day ago

image the images should be centrally aligned vertically. the text should be also centrally aligned vertically.

text should be also centrally aligned horizontally. "中国科学技术大学" should be in a single line and not broken into two lines.

I don't know how to use existing <Section> which is based on grid to do this. I've tried a lot of different things but none worked. On the other hand, using flex will make this super easy. From my experience grid is a deprecated idea in frontend world after flex is out, especially for this case, the UI is simple enough that a flex can perfectly resolve all issues.

There is also not enough space to put all partners in the same line, unless we make the font very small, which is not scalable as well. Screenshot 2024-11-03 at 10 51 36 AM

weihanwang commented 1 day ago

did you ask chatgpt? re: text on the same line, did you try to reduce spacing in between griditems?

lijunray commented 21 hours ago

did you ask chatgpt? re: text on the same line, did you try to reduce spacing in between griditems?

I forced it to not wrap, but then the texts will exceed the border of each element.