Skip to content

Commit 7b0123f

Browse files
committed
website category
1 parent 44b6d67 commit 7b0123f

File tree

5 files changed

+27
-1
lines changed

5 files changed

+27
-1
lines changed

public/logs/logs.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,5 +125,13 @@
125125
"rating": 5,
126126
"slug": "food-omelette",
127127
"title": "Omelette"
128+
},
129+
{
130+
"category": "Websites",
131+
"date": "2025-11-03",
132+
"link": "https://missingdice.com/dice-roller/",
133+
"rating": 5,
134+
"slug": "website-missing-dice-dice-roller",
135+
"title": "Missing Dice - Dice Roller"
128136
}
129-
]
137+
]
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
### Dice Roller
2+
3+
A beautiful website to roll dice.
4+
5+
[Dice Roller](https://missingdice.com/dice-roller/)

src/components/ColorLegends.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ export const categoryStyles = {
3030
backgroundColor: colors['food-alpha-10'],
3131
borderColor: colors['food-alpha-50'],
3232
},
33+
Websites: {
34+
backgroundColor: colors['websites-alpha-10'],
35+
borderColor: colors['websites-alpha-50'],
36+
},
3337
};
3438

3539
const ColorLegends = ({ onLegendClick, hiddenLegends }) => {

src/components/LogCard.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import {
99
MusicNote,
1010
Television,
1111
ForkKnife,
12+
Globe,
1213
Star
1314
} from '@phosphor-icons/react';
1415

@@ -20,6 +21,7 @@ const categoryIcons = {
2021
Music: <MusicNote />,
2122
Series: <Television />,
2223
Food: <ForkKnife />,
24+
Websites: <Globe />,
2325
};
2426

2527
const categoryStyles = {
@@ -51,6 +53,10 @@ const categoryStyles = {
5153
backgroundColor: colors['food-alpha-10'],
5254
borderColor: colors['food-alpha-50'],
5355
},
56+
Websites: {
57+
backgroundColor: colors['websites-alpha-10'],
58+
borderColor: colors['websites-alpha-50'],
59+
},
5460
};
5561

5662
const LogCard = ({ log, index, totalLogs }) => {

src/config/colors.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ module.exports = {
1414
music: '#a855f7', // purple-500
1515
series: '#ec4899', // pink-500
1616
food: '#84cc16', // lime-500
17+
websites: '#f472b6', // pink-400
1718
'title-hover': '#fdd4a6', // orange-200
1819
'markdown-title-color': '#fed7aa', // orange-200
1920
'markdown-hx-color': '#ffedd5', // orange-100
@@ -43,6 +44,8 @@ module.exports = {
4344
'series-alpha-50': 'rgba(236, 72, 153, 0.5)',
4445
'food-alpha-10': 'rgba(132, 204, 22, 0.1)',
4546
'food-alpha-50': 'rgba(132, 204, 22, 0.5)',
47+
'websites-alpha-10': 'rgba(244, 114, 182, 0.1)',
48+
'websites-alpha-50': 'rgba(244, 114, 182, 0.5)',
4649

4750
// Toast colors
4851
'toast-background': 'rgba(68, 64, 59, 0.8)',

0 commit comments

Comments
 (0)