Skip to content

Commit ad79e62

Browse files
authored
fix: adjust order portfolio items by year instead of category (#138)
2 parents 729a88f + e3cdcf0 commit ad79e62

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

app/content/portfolio/jemapub.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ tools:
1919
- woocommerce
2020
- sage11
2121
- tailwindcss
22+
- figma
2223
---
2324

2425
## Contexte du projet
@@ -36,7 +37,7 @@ tools:
3637

3738
### Stack technologique moderne
3839

39-
Le projet s'appuie sur une architecture **Bedrock + Sage 11**, alliant les bonnes pratiques du développement moderne à l'écosystème WordPress :
40+
Le projet s'appuie sur une architecture **Bedrock + Sage 11** avec le [starter thème Octa](/blog/octa-starter-wordpress-theme), alliant les bonnes pratiques du développement moderne à l'écosystème WordPress :
4041

4142
- **WordPress/WooCommerce** pour la robustesse e-commerce
4243
- **Sage 11** (framework Laravel/Acorn) pour l'organisation du code

app/libs/portfolio.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export const getPortfolioItems = async (
8080
sort: 'random' | 'date' = 'date'
8181
) => {
8282
const items = await getAllMdxBy({
83-
frontmatterKey: 'category',
83+
frontmatterKey: 'year',
8484
type: 'portfolio',
8585
limit,
8686
filterValue: category,

0 commit comments

Comments
 (0)