Skip to content

DF-97/add section stacking hub#1732

Merged
marcel-bitfly merged 3 commits intostagingfrom
DF-97/add-section-stacking-hub
Sep 23, 2025
Merged

DF-97/add section stacking hub#1732
marcel-bitfly merged 3 commits intostagingfrom
DF-97/add-section-stacking-hub

Conversation

@rucister
Copy link

No description provided.

@marcel-bitfly marcel-bitfly changed the title Df 97/add section stacking hub DF-97/add section stacking hub Sep 22, 2025
const playVideo = async () => {
if (videoRef.value) {
try {
await videoRef.value.play()
Copy link
Contributor

Choose a reason for hiding this comment

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

question: plz check if there is the following issue for ios Safari: autoplayed videos sometimes tend to be full-size and make the page hard to use (esp. if there a several autoplayed videos)

Copy link
Author

Choose a reason for hiding this comment

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

There is a potential issue in iOS safari where video might not play at all when entering viewport. I would need Tanya to test this. If the issue is confirmed then I need to implement an alternative approach with animated frames.

Copy link
Contributor

Choose a reason for hiding this comment

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

if the video is not playing, we should be aware of it, but it is not a problem for now...the real issue would be the auto fullscreen

}

// Intersection Observer - play once when entering viewport
const { stop: stopIntersectionObserver } = useIntersectionObserver(
Copy link
Contributor

Choose a reason for hiding this comment

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

nitpick: can you think about wrapping this third party code (vueuse) into its own composable?

title-icon="file-code"
:title="$t('products.landing_page.staking_hub.cards.staking_mobile_app.title')"
class="min-h-[495px] relative overflow-hidden"
tabindex="0"
Copy link
Contributor

Choose a reason for hiding this comment

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

issue: 👀

<img
src="/assets-2usdf/img/app-store-btn.svg"
alt="Download on App Store"
class="w-auto h-[41px]"
Copy link
Contributor

Choose a reason for hiding this comment

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

thought: things should only be changed by width and sometimes aspect-ratio and almost never with height

Copy link
Author

Choose a reason for hiding this comment

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

In this case it is more straight-forward to use height in order to ensure exact compatibility with design.

Copy link
Contributor

Choose a reason for hiding this comment

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

nitpick: maybe a semantic name would be a good idea

Copy link
Contributor

@marcel-bitfly marcel-bitfly left a comment

Choose a reason for hiding this comment

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

very good work 💪

(esp. considering that this is your first issue)

I am looking forward to see more of your work

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Sep 23, 2025

Deploying beaconchain with  Cloudflare Pages  Cloudflare Pages

Latest commit: e2be7f8
Status: ✅  Deploy successful!
Preview URL: https://da6f1d03.beaconchain.pages.dev
Branch Preview URL: https://df-97-add-section-stacking-h.beaconchain.pages.dev

View logs

@rucister rucister force-pushed the DF-97/add-section-stacking-hub branch from d06a314 to 412424f Compare September 23, 2025 07:25
variant?: 'branded' | 'primary' | 'secondary',
}
// Make `to` and `disabled` mutually exclusive
& (
Copy link
Contributor

Choose a reason for hiding this comment

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

question: did you test your implementation? I think this should not be optional (but I could be wrong)

Suggested change
& (
& (
| { disabled: boolean, to?: never }
| { disabled?: never, to: NuxtLinkProps['to'] }
)

Copy link
Contributor

Choose a reason for hiding this comment

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

also I thought using the generic in script tag would be necessary (it could be that this is obsolete now with a newer version of nuxt/typescript
<script setup lang="ts" generic="WORKAROUND_FOR_CONDITIONAL_PROPS">

also mentioning the link is a good idea as in frontend/layers/base/app/components/BaseCard.vue
// vuejs/core#8952

@rucister rucister force-pushed the DF-97/add-section-stacking-hub branch from 412424f to e2be7f8 Compare September 23, 2025 08:11
@marcel-bitfly marcel-bitfly force-pushed the DF-97/add-section-stacking-hub branch from e2be7f8 to 34e2f05 Compare September 23, 2025 10:10
@marcel-bitfly marcel-bitfly marked this pull request as ready for review September 23, 2025 10:12
@marcel-bitfly marcel-bitfly merged commit b380b5d into staging Sep 23, 2025
3 checks passed
@marcel-bitfly marcel-bitfly deleted the DF-97/add-section-stacking-hub branch September 23, 2025 10:12
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.

2 participants