Skip to content

Homepage scroll indicator#1178

Merged
hleepfl merged 13 commits into
developfrom
1142-main-page-scroll-indicator
Jul 13, 2026
Merged

Homepage scroll indicator#1178
hleepfl merged 13 commits into
developfrom
1142-main-page-scroll-indicator

Conversation

@hleepfl

@hleepfl hleepfl commented Jul 10, 2026

Copy link
Copy Markdown
Collaborator

Add a clickable bouncing chevron to the first screen of the homepage to show that the page is scrollable. Also cleans up the tailwind classes in the page. Some alignments/gap have slightly moved but I don't think it's bad ?

Screenshots

Before
image
After
image

closes #1142

@JulienVig JulienVig left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly subjective preferences, the one important thing is that the lab logos are outside the screen on phones

Comment thread webapp/src/components/simple/ScrollIndicator.vue Outdated
Comment thread webapp/src/components/simple/ScrollIndicator.vue
Comment thread webapp/src/components/pages/HomePage.vue Outdated
Comment thread webapp/src/components/pages/HomePage.vue Outdated
Comment on lines +157 to +173
<span :class="bigTextTw"> A joint project of </span>
<div class="flex flex-row items-center gap-8">
<a href="https://www.epfl.ch/labs/mlo/" target="_blank">
<MLOLogo />
</a>
<a href="https://www.light-laboratory.org/" target="_blank">
<LightLogo />
</a>
</div>
<span :class="bigTextTw"> Supported by </span>
<div class="flex flex-row items-center gap-8">
<a href="https://www.epfl.ch/en/" target="_blank">
<EPFL />
</a>
<a href="https://www.ariadnelabs.org/" target="_blank">
<AriadneLabsLogo />
</a>

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Too big on phones:

Image

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new spacing makes the logo too far from the subheadings:
Screenshot 2026-07-10 at 15 17 38

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ironically I think this is a tailwind merge conflict haha
gap is defined twice, and the first definition seems to take precedence
I just reversed both declarations, should be good now

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haha damn maybe at least using TailwindMerge will be useful?

It doesn't look any different after pulling your last commit, how does it look on your side?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Screenshot_20260710-170717

Look better on my side

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reverting your last commit doesn't change anything on my side. I also tried using tailwind-merge and it doesn't change anything either so I assume it's not a class merge glitch.
Also your screenshot doesn't show any font size difference between headingTw and subheadingTw, while on mine subheadings are much smaller which I think explains why there is much more empty space:
Screenshot_2026-07-13-13-12-43-992_com brave browser

Setting gap-8 in paneTw instead of gap-16 makes it look better on mine.

@hleepfl hleepfl Jul 13, 2026

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Idk what I did in the previous screenshot, my bad
Now should be the last try, !gap-2 overrides the paneTw default value and should fix it for real ( 🤞 )

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good!!

Comment thread webapp/src/components/pages/HomePage.vue
Comment thread webapp/src/components/pages/HomePage.vue Outdated
Comment thread webapp/src/components/pages/HomePage.vue
Comment thread webapp/src/components/pages/HomePage.vue
Start training your AI models privately today.
</span>
<div class="mt-4 flex flex-wrap justify-center gap-x-4">
<div class="flex flex-row justify-center gap-4">

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it looks too close without the mt-4

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agreed

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems like you didn't add mt-4, the button looks a bit too close to the text right now

@JulienVig JulienVig left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good! just asked to add one mt-4

Comment on lines +157 to +173
<span :class="bigTextTw"> A joint project of </span>
<div class="flex flex-row items-center gap-8">
<a href="https://www.epfl.ch/labs/mlo/" target="_blank">
<MLOLogo />
</a>
<a href="https://www.light-laboratory.org/" target="_blank">
<LightLogo />
</a>
</div>
<span :class="bigTextTw"> Supported by </span>
<div class="flex flex-row items-center gap-8">
<a href="https://www.epfl.ch/en/" target="_blank">
<EPFL />
</a>
<a href="https://www.ariadnelabs.org/" target="_blank">
<AriadneLabsLogo />
</a>

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good!!

Start training your AI models privately today.
</span>
<div class="mt-4 flex flex-wrap justify-center gap-x-4">
<div class="flex flex-row justify-center gap-4">

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems like you didn't add mt-4, the button looks a bit too close to the text right now

@hleepfl
hleepfl merged commit bdd3a05 into develop Jul 13, 2026
20 checks passed
@hleepfl
hleepfl deleted the 1142-main-page-scroll-indicator branch July 13, 2026 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a scrolling hint to the main page

2 participants