File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ export type ArticleMastheadProps = {
1818 readingLength : string
1919 tags : readonly string [ ]
2020 title : string
21- updated : string
2221}
2322
2423function getCoverStyle (
@@ -49,8 +48,7 @@ export function ArticleMasthead({
4948 published,
5049 readingLength,
5150 tags,
52- title,
53- updated
51+ title
5452} : ArticleMastheadProps ) {
5553 const coverStyle = getCoverStyle ( coverPosition )
5654
@@ -95,21 +93,15 @@ export function ArticleMasthead({
9593 < div className = { styles . metadata } >
9694 < dl >
9795 < div >
98- < dt > Published</ dt >
99- < dd >
100- < time > { published } </ time >
101- </ dd >
96+ < dt > Author</ dt >
97+ < dd > { author } </ dd >
10298 </ div >
10399 < div >
104- < dt > Updated </ dt >
100+ < dt > Published </ dt >
105101 < dd >
106- < time > { updated } </ time >
102+ < time > { published } </ time >
107103 </ dd >
108104 </ div >
109- < div >
110- < dt > Author</ dt >
111- < dd > { author } </ dd >
112- </ div >
113105 < div >
114106 < dt > Length</ dt >
115107 < dd > { readingLength } </ dd >
Original file line number Diff line number Diff line change @@ -310,9 +310,6 @@ export function NotionPage({
310310 pageBlock ,
311311 recordMap
312312 )
313- const updatedTimestamp =
314- getPageProperty < number > ( 'Last Updated' , pageBlock , recordMap ) ||
315- pageBlock . last_edited_time
316313 const readTime = estimatePageReadTime ( pageBlock , recordMap )
317314 const tags = (
318315 getPageProperty < string [ ] > ( 'Tags' , pageBlock , recordMap ) || [ ]
@@ -332,11 +329,6 @@ export function NotionPage({
332329 ? formatDate ( publishedTimestamp , { month : 'long' } )
333330 : 'Unpublished'
334331 }
335- updated = {
336- updatedTimestamp
337- ? formatDate ( updatedTimestamp , { month : 'long' } )
338- : 'Not recorded'
339- }
340332 author = {
341333 getPageProperty < string > ( 'Author' , pageBlock , recordMap ) ||
342334 config . author
Original file line number Diff line number Diff line change 1515
1616.copy {
1717 display : flex;
18- min-width : 0 ;
19- min-height : min (560px , 68vh );
2018 flex-direction : column;
2119}
2220
5452
5553.titleBlock {
5654 padding : clamp (44px , 6vh , 72px ) 0 ;
57- margin : auto 0 ;
5855}
5956
6057.kicker {
114111 letter-spacing : -0.055em ;
115112 line-height : 1.2 ;
116113 text-wrap : balance;
117- text-align : center;
118114}
119115
120116.description {
279275 gap : clamp (36px , 5vw , 64px );
280276 }
281277
282- .copy {
283- min-height : min (520px , 65vh );
284- }
285-
286278 .titleBlock h1 {
287279 font-size : clamp (3.5rem , 6.6vw , 5.5rem );
288280 }
298290 padding-top : clamp (58px , 11vw , 88px );
299291 }
300292
301- .copy {
302- min-height : 0 ;
303- }
304-
305293 .titleBlock {
306294 margin : 0 ;
307295 }
You can’t perform that action at this time.
0 commit comments