add shoot the light, add pics, add 3xl breakpoint
This commit is contained in:
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
@@ -33,12 +33,14 @@ const MasonryGallery = ({
|
|||||||
debugRating,
|
debugRating,
|
||||||
linkState,
|
linkState,
|
||||||
}: MasonryGalleryProps) => {
|
}: MasonryGalleryProps) => {
|
||||||
|
console.log("🚀 ~ file: MasonryGallery.tsx ~ line 38 ~ themeBreakpoints", themeBreakpoints)
|
||||||
const breakpoints = React.useMemo(
|
const breakpoints = React.useMemo(
|
||||||
() => R.pick(R.keys(aspectTargetsByBreakpoint), themeBreakpoints),
|
() => R.pick(R.keys(aspectTargetsByBreakpoint), themeBreakpoints),
|
||||||
[aspectTargetsByBreakpoint]
|
[aspectTargetsByBreakpoint]
|
||||||
);
|
);
|
||||||
|
|
||||||
const { breakpoint } = useBreakpoint(breakpoints, "sm");
|
const { breakpoint } = useBreakpoint(breakpoints, "sm");
|
||||||
|
console.log("🚀 ~ file: MasonryGallery.tsx ~ line 43 ~ breakpoint", breakpoint)
|
||||||
|
|
||||||
const aspectRatios = React.useMemo(
|
const aspectRatios = React.useMemo(
|
||||||
() => R.map(getAspectRatio, images).filter(Boolean),
|
() => R.map(getAspectRatio, images).filter(Boolean),
|
||||||
|
|||||||
@@ -183,6 +183,7 @@ const GalleryPage = ({ data }: PageProps<Queries.GalleryPageQueryQuery>) => {
|
|||||||
"fireworks",
|
"fireworks",
|
||||||
"panoramic",
|
"panoramic",
|
||||||
"Portland Japanese Garden",
|
"Portland Japanese Garden",
|
||||||
|
"shoot the light",
|
||||||
// "sunset",
|
// "sunset",
|
||||||
]}
|
]}
|
||||||
onChange={setKeyword}
|
onChange={setKeyword}
|
||||||
@@ -195,7 +196,7 @@ const GalleryPage = ({ data }: PageProps<Queries.GalleryPageQueryQuery>) => {
|
|||||||
onSelectionChange={setSortKey}
|
onSelectionChange={setSortKey}
|
||||||
selectedKey={sortKey}
|
selectedKey={sortKey}
|
||||||
>
|
>
|
||||||
<Item key="rating">Default</Item>
|
<Item key="rating">Curated</Item>
|
||||||
<Item key="date">Date</Item>
|
<Item key="date">Date</Item>
|
||||||
<Item key="hue">Hue</Item>
|
<Item key="hue">Hue</Item>
|
||||||
</Picker>
|
</Picker>
|
||||||
@@ -209,7 +210,8 @@ const GalleryPage = ({ data }: PageProps<Queries.GalleryPageQueryQuery>) => {
|
|||||||
md: 4,
|
md: 4,
|
||||||
lg: 4,
|
lg: 4,
|
||||||
xl: 5,
|
xl: 5,
|
||||||
// '2xl': 6.1,
|
'2xl': 6.1,
|
||||||
|
'3xl': 7.5,
|
||||||
}}
|
}}
|
||||||
debugHue={sortKey === "hue_debug"}
|
debugHue={sortKey === "hue_debug"}
|
||||||
debugRating={sortKey === "rating" && showDebug}
|
debugRating={sortKey === "rating" && showDebug}
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ module.exports = {
|
|||||||
lg: "1024px",
|
lg: "1024px",
|
||||||
xl: "1280px",
|
xl: "1280px",
|
||||||
"2xl": "1536px",
|
"2xl": "1536px",
|
||||||
|
"3xl": "2500px",
|
||||||
portrait: { raw: "(orientation: portrait)" },
|
portrait: { raw: "(orientation: portrait)" },
|
||||||
landscape: { raw: "(orientation: landscape)" },
|
landscape: { raw: "(orientation: landscape)" },
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user