Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Commit

Permalink
MCSS-135: Make Gallery Static (#136)
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonytedja authored Feb 25, 2024
1 parent 4003350 commit f5ee32c
Show file tree
Hide file tree
Showing 27 changed files with 1,913 additions and 924 deletions.
933 changes: 14 additions & 919 deletions api/schema.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion hooks/Photo/usePhotoList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ type Props = {
}

export const usePhotoList = (props?: Props) => {
return useAPI().useQuery(['photoList', null], {
return useAPI().useQuery(['mockPhotoList', null], {
enabled: props?.enabled,
retry: false,
staleTime: Infinity,
Expand Down
10 changes: 6 additions & 4 deletions pages/gallery/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,12 @@ const Gallery = () => {
sx={{
width: '100%',
columnGap: '1rem !important',
WebkitMaskImage:
'-webkit-gradient(linear, left 90%, left bottom, from(rgba(0,0,0,1)), to(rgba(0,0,0,0)))',
maskImage:
'-webkit-gradient(linear, left 90%, left bottom, from(rgba(0,0,0,1)), to(rgba(0,0,0,0)))',
WebkitMaskImage: `-webkit-gradient(linear, left ${
desktop ? '90%' : tablet ? '95%' : '98%'
}, left bottom, from(rgba(0,0,0,1)), to(rgba(0,0,0,0)))`,
maskImage: `-webkit-gradient(linear, left ${
desktop ? '90%' : tablet ? '95%' : '98%'
}, left bottom, from(rgba(0,0,0,1)), to(rgba(0,0,0,0)))`,
}}
>
{data.data.map((item) => (
Expand Down
Binary file added public/photos/gallery/large_2024_29e331fb60.webp
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit f5ee32c

Please sign in to comment.