add shoot the light, add pics, add 3xl breakpoint
This commit is contained in:
parent
2d6068490d
commit
a24689131c
BIN
data/gallery/DSC02647.jpg
(Stored with Git LFS)
BIN
data/gallery/DSC02647.jpg
(Stored with Git LFS)
Binary file not shown.
BIN
data/gallery/DSC03049.jpg
(Stored with Git LFS)
BIN
data/gallery/DSC03049.jpg
(Stored with Git LFS)
Binary file not shown.
BIN
data/gallery/DSC03442.jpg
(Stored with Git LFS)
BIN
data/gallery/DSC03442.jpg
(Stored with Git LFS)
Binary file not shown.
BIN
data/gallery/DSC03455.jpg
(Stored with Git LFS)
BIN
data/gallery/DSC03455.jpg
(Stored with Git LFS)
Binary file not shown.
BIN
data/gallery/DSC03477.jpg
(Stored with Git LFS)
BIN
data/gallery/DSC03477.jpg
(Stored with Git LFS)
Binary file not shown.
BIN
data/gallery/DSC04114.jpg
(Stored with Git LFS)
Normal file
BIN
data/gallery/DSC04114.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
data/gallery/DSC04122.jpg
(Stored with Git LFS)
Normal file
BIN
data/gallery/DSC04122.jpg
(Stored with Git LFS)
Normal file
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)" },
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user