Skip to content

Commit d361880

Browse files
committed
chore: new milestones, feed material, typo fixes
1 parent e55f141 commit d361880

7 files changed

Lines changed: 45 additions & 10 deletions

File tree

‎features/Feed/Item.tsx‎

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,20 @@ import { formatDate } from '@/lib/utils'
44
import { MQ } from '@/lib/config'
55
import c from 'clsx'
66

7-
export const FeedItem = ({ className, col, date, ...props }: FeedItemProps) => {
7+
export const FeedItem = ({
8+
className,
9+
col,
10+
colSpan,
11+
date,
12+
...props
13+
}: FeedItemProps) => {
814
return (
915
<div
1016
className={c(
1117
'Template-feedItem',
1218
{
13-
'-col:2': col === 2,
19+
'-col:3': col === 3,
20+
'-colSpan:2': colSpan === 2,
1421
},
1522
className,
1623
)}
@@ -19,7 +26,7 @@ export const FeedItem = ({ className, col, date, ...props }: FeedItemProps) => {
1926
alt={props.image.heading}
2027
border
2128
quality={100}
22-
sizes={`${MQ.l} ${col === 2 ? '100vw' : '33vw'}, ${MQ.s} 33vw, 100vw`}
29+
sizes={`${MQ.l} ${colSpan === 2 ? '100vw' : '33vw'}, ${MQ.s} 33vw, 100vw`}
2330
text={formatDate(date)}
2431
{...props.image}
2532
/>

‎features/Feed/Template.scss‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,13 @@
3737
@include mq(l) {
3838
--columns: 3;
3939

40-
&.-col\:2 {
40+
&.-colSpan\:2 {
4141
grid-column: span 2;
4242
}
43+
44+
&.-col\:3 {
45+
grid-column: 3;
46+
}
4347
}
4448
}
4549
}

‎features/Feed/data/freepress.ts‎

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ const data: Optional<FeedDataItemProps, 'category' | 'categoryName'>[] = [
1010
},
1111
},
1212
{
13-
col: 2,
13+
colSpan: 2,
1414
date: '2025-02-10',
1515
image: {
16-
heading: 'Freepress brand guidelines',
16+
heading: 'Freepress brand guidelines draft',
1717
src: '/feed/joonassandell-freepress-brand-guidelines.mp4',
1818
},
1919
},
@@ -46,7 +46,15 @@ const data: Optional<FeedDataItemProps, 'category' | 'categoryName'>[] = [
4646
},
4747
},
4848
{
49-
col: 2,
49+
col: 3,
50+
date: '2025-05-03',
51+
image: {
52+
heading: 'Freepress pre-launch event',
53+
src: 'joonassandell-freepress-event.jpg',
54+
},
55+
},
56+
{
57+
colSpan: 2,
5058
date: '2025-02-10',
5159
image: {
5260
heading: 'Freepress evolution chart',

‎features/Feed/types.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ export type Category = 'freepress'
77
export interface FeedDataItemProps {
88
category: Category
99
categoryName: string
10-
col?: 2
10+
col?: 3
11+
colSpan?: 2
1112
date: DateString
1213
image: Required<Optional<FigureProps, 'alt'>, 'heading'>
1314
}

‎features/Milestones/data/project.ts‎

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,22 @@ const data: Optional<Milestone, 'category' | 'categoryName'>[] = [
2020
url: 'https://twitter.com/joonassandell/status/1678358514350137344',
2121
},
2222

23+
/* =======================================
24+
* Freepress
25+
* ======================================= */
26+
27+
{
28+
date: '2025-05-03',
29+
event: 'Launched Freepress pre-launch landing website',
30+
url: 'https://freepress.ai',
31+
},
32+
{
33+
date: '2025-02-10',
34+
event: 'Designed initial Freepress brand & design system',
35+
highlight: true,
36+
url: '/feed',
37+
},
38+
2339
/* =======================================
2440
* Biocode
2541
* ======================================= */
@@ -34,7 +50,6 @@ const data: Optional<Milestone, 'category' | 'categoryName'>[] = [
3450
{
3551
date: '2022-08-01',
3652
event: 'Launched Biocode for producers',
37-
highlight: true,
3853
major: true,
3954
url: 'https://biocode.io/producers-and-farmers',
4055
},

‎features/Resume/Content.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ export const ResumeContent = () => (
250250
visitors gain an enjoyable and insightful museum experiences
251251
</li>
252252
<li>
253-
Built <em>Museum Guide</em> screen which featured inteactive maps
253+
Built <em>Museum Guide</em> screen which featured interactive maps
254254
and other features integrated to the website CMS
255255
</li>
256256
<li>
194 KB
Loading

0 commit comments

Comments
 (0)