add shoot the light, add pics, add 3xl breakpoint

This commit is contained in:
2022-10-16 17:20:34 -07:00
parent 2d6068490d
commit a24689131c
10 changed files with 23 additions and 12 deletions

View File

@@ -33,12 +33,14 @@ const MasonryGallery = ({
debugRating,
linkState,
}: MasonryGalleryProps) => {
console.log("🚀 ~ file: MasonryGallery.tsx ~ line 38 ~ themeBreakpoints", themeBreakpoints)
const breakpoints = React.useMemo(
() => R.pick(R.keys(aspectTargetsByBreakpoint), themeBreakpoints),
[aspectTargetsByBreakpoint]
);
const { breakpoint } = useBreakpoint(breakpoints, "sm");
console.log("🚀 ~ file: MasonryGallery.tsx ~ line 43 ~ breakpoint", breakpoint)
const aspectRatios = React.useMemo(
() => R.map(getAspectRatio, images).filter(Boolean),