File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ My personal blog, made with the following technologies:
1111## TODOs
1212- [ ] add internal links between posts
1313- [ ] fix tags associated with unpublished posts to not be displayed
14- - [ ] prevent top-of-post list bullets from being rendered where post image gets rendered prior to image being rendered
14+ - [ ] prevent top-of-post list bullets from being rendered where post image should be before it's loaded
1515- [ ] what's going on with the flicker on the background of the most recent post when dark/light modes are toggled?
1616- [ ] store theme preference in local storage
1717- [ ] add logic that checks if manual published date is set before sorting
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ export default {
77 title : 'Title' ,
88 name : 'title' ,
99 type : 'string' ,
10+ validation : Rule => Rule . required ( )
1011 } ,
1112 {
1213 title : 'Description' ,
@@ -42,6 +43,7 @@ export default {
4243 title : 'Manual Published Date' ,
4344 name : 'manual_pub_date' ,
4445 type : 'date' ,
46+ validation : Rule => Rule . required ( )
4547 // options: {
4648 // dateFormat: 'YYYY-MM-DD',
4749 // }
Original file line number Diff line number Diff line change @@ -29,9 +29,9 @@ const PhotoCredit = styled.p`
2929
3030function PostImage ( { postImg } ) {
3131 // console.log('postImg: ', postImg)
32- const [ isLoaded , setIsLoaded ] = useState ( false ) ;
32+ const [ isLoaded , setIsLoaded ] = useState ( false )
3333 const { width, height } = postImg . metadata . dimensions
34- // console.log('with/height: ', width + "/" + height)
34+
3535 return (
3636 < PostImgContainer >
3737 < PostLqipImg
You can’t perform that action at this time.
0 commit comments