Skip to content

Commit 5315d74

Browse files
committed
bump
1 parent 31af873 commit 5315d74

File tree

14 files changed

+1119
-941
lines changed

14 files changed

+1119
-941
lines changed

components/blocks/polaroid.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export const polaroidVariants = {
99
"1x1": "w-20 h-20",
1010
"4x5": "w-20 h-24",
1111
"4x3": "w-20 h-16",
12+
"9x16": "w-20 h-32",
1213
};
1314

1415
const Polaroid = ({

components/ui/carousel.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import useEmblaCarousel, {
44
type UseEmblaCarouselType,
55
} from "embla-carousel-react";
6-
import { ArrowLeft, ArrowRight } from "lucide-react";
6+
import { ChevronLeft, ChevronRight } from "lucide-react";
77
import * as React from "react";
88

99
import { Button } from "@/components/ui/button";
@@ -207,15 +207,15 @@ const CarouselPrevious = React.forwardRef<
207207
className={cn(
208208
"absolute h-8 w-8",
209209
orientation === "horizontal"
210-
? "left-2 top-1/2 -translate-y-1/2"
210+
? "-left-2 top-1/2 -translate-y-1/2"
211211
: "-top-12 left-1/2 -translate-x-1/2 rotate-90",
212212
className,
213213
)}
214214
disabled={!canScrollPrev}
215215
onClick={scrollPrev}
216216
{...props}
217217
>
218-
<ArrowLeft className="h-4 w-4" />
218+
<ChevronLeft className="h-4 w-4" />
219219
<span className="sr-only">Previous slide</span>
220220
</Button>
221221
);
@@ -236,15 +236,15 @@ const CarouselNext = React.forwardRef<
236236
className={cn(
237237
"absolute h-8 w-8",
238238
orientation === "horizontal"
239-
? "right-2 top-1/2 -translate-y-1/2"
239+
? "-right-2 top-1/2 -translate-y-1/2"
240240
: "-bottom-12 left-1/2 -translate-x-1/2 rotate-90",
241241
className,
242242
)}
243243
disabled={!canScrollNext}
244244
onClick={scrollNext}
245245
{...props}
246246
>
247-
<ArrowRight className="h-4 w-4" />
247+
<ChevronRight className="h-4 w-4" />
248248
<span className="sr-only">Next slide</span>
249249
</Button>
250250
);

lib/utils.tsx

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,26 @@ const changelogItems: Array<{
143143
description?: string;
144144
icon?: string;
145145
dateFormatOptions?: (typeof dateFormat)[keyof typeof dateFormat];
146-
photos?: Array<{ src: string; variant: "1x1" | "4x3" | "4x5" }>;
146+
photos?: Array<{ src: string; variant: "1x1" | "4x3" | "4x5" | "9x16" }>;
147147
}> = [
148+
{
149+
date: "2025-05-14",
150+
event: "Visit to Japan",
151+
title: "Osaka, Kyoto & Tokyo",
152+
icon: "🇯🇵",
153+
dateFormatOptions: dateFormat.month,
154+
photos: [...new Array(8)].map((_, index) => ({
155+
src: `/changelog/japan/${index + 1}.png`,
156+
variant: "9x16" as const,
157+
})),
158+
},
159+
{
160+
date: "2025-04-05",
161+
event: "Fourth car",
162+
title: "Opel Mokka (2025 model)",
163+
icon: "🚗",
164+
dateFormatOptions: dateFormat.day,
165+
},
148166
{
149167
date: "2024-11-26",
150168
event: "Visit to Denmark & Sweden",

next.config.mjs

Lines changed: 35 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -3,43 +3,44 @@ import remarkGfm from "remark-gfm";
33

44
/** @type {import('next').NextConfig} */
55
const nextConfig = {
6-
pageExtensions: ["mdx", "ts", "tsx"],
7-
reactStrictMode: false,
8-
logging: {
9-
fetches: {
10-
fullUrl: true,
11-
},
12-
},
13-
images: {
14-
remotePatterns: [
15-
{
16-
protocol: "https",
17-
hostname: "avatars.githubusercontent.com",
18-
port: "",
19-
},
20-
],
21-
},
22-
async redirects() {
23-
return [
24-
{
25-
source: "/.well-known/host-meta/:slug*",
26-
destination: "https://fed.brid.gy/.well-known/host-meta/:slug*",
27-
permanent: true,
28-
},
29-
{
30-
source: "/.well-known/webfinger:slug*",
31-
destination: "https://fed.brid.gy/.well-known/webfinger:slug*",
32-
permanent: true,
33-
},
34-
];
35-
},
6+
pageExtensions: ["mdx", "ts", "tsx"],
7+
reactStrictMode: false,
8+
logging: {
9+
fetches: {
10+
fullUrl: true,
11+
},
12+
},
13+
images: {
14+
remotePatterns: [
15+
{
16+
protocol: "https",
17+
hostname: "avatars.githubusercontent.com",
18+
port: "",
19+
},
20+
],
21+
},
22+
serverExternalPackages: ["twitter-api-v2"],
23+
async redirects() {
24+
return [
25+
{
26+
source: "/.well-known/host-meta/:slug*",
27+
destination: "https://fed.brid.gy/.well-known/host-meta/:slug*",
28+
permanent: true,
29+
},
30+
{
31+
source: "/.well-known/webfinger:slug*",
32+
destination: "https://fed.brid.gy/.well-known/webfinger:slug*",
33+
permanent: true,
34+
},
35+
];
36+
},
3637
};
3738

3839
const withMDX = createMDX({
39-
options: {
40-
remarkPlugins: [remarkGfm],
41-
rehypePlugins: [],
42-
},
40+
options: {
41+
remarkPlugins: [remarkGfm],
42+
rehypePlugins: [],
43+
},
4344
});
4445

4546
export default withMDX(nextConfig);

package.json

Lines changed: 57 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,59 +1,59 @@
11
{
2-
"name": "ned.im",
3-
"version": "0.1.0",
4-
"private": true,
5-
"scripts": {
6-
"dev": "next dev",
7-
"build": "next build",
8-
"start": "next start",
9-
"check": "biome check --write .",
10-
"lint": "next lint"
11-
},
12-
"dependencies": {
13-
"@headlessui/react": "^2.2.0",
14-
"@mdx-js/loader": "^3.1.0",
15-
"@mdx-js/react": "^3.1.0",
16-
"@next/mdx": "15.2.2",
17-
"@radix-ui/react-dialog": "^1.1.5",
18-
"@radix-ui/react-dropdown-menu": "^2.1.5",
19-
"@radix-ui/react-slot": "^1.1.1",
20-
"@radix-ui/react-tooltip": "^1.1.7",
21-
"@tabler/icons-react": "^3.29.0",
22-
"@twitter-api-v2/plugin-rate-limit": "^1.1.0",
23-
"@types/mdx": "^2.0.13",
24-
"@uidotdev/usehooks": "^2.4.1",
25-
"class-variance-authority": "^0.7.1",
26-
"clsx": "^2.1.1",
27-
"embla-carousel-react": "^8.5.2",
28-
"geist": "^1.3.1",
29-
"lucide-react": "^0.482.0",
30-
"motion": "^12.0.3",
31-
"next": "15.2.2",
32-
"next-themes": "^0.4.4",
33-
"react": "19.0.0",
34-
"react-dom": "19.0.0",
35-
"remark-gfm": "^4.0.0",
36-
"sharp": "^0.33.5",
37-
"tailwind-merge": "^3.0.2",
38-
"twitter-api-v2": "^1.19.0"
39-
},
40-
"devDependencies": {
41-
"@biomejs/biome": "1.9.4",
42-
"@tailwindcss/postcss": "^4.0.0",
43-
"@tailwindcss/typography": "^0.5.16",
44-
"@types/node": "^22.10.10",
45-
"@types/react": "19.0.10",
46-
"@types/react-dom": "19.0.4",
47-
"postcss": "^8.5.1",
48-
"tailwindcss": "^4.0.0",
49-
"tw-animate-css": "^1.2.2",
50-
"typescript": "^5.7.3"
51-
},
52-
"packageManager": "pnpm@10.6.4",
53-
"pnpm": {
54-
"overrides": {
55-
"@types/react": "19.0.10",
56-
"@types/react-dom": "19.0.4"
57-
}
58-
}
2+
"name": "ned.im",
3+
"version": "0.1.0",
4+
"private": true,
5+
"scripts": {
6+
"dev": "next dev --turbopack",
7+
"build": "next build",
8+
"start": "next start",
9+
"check": "biome check --write .",
10+
"lint": "next lint"
11+
},
12+
"dependencies": {
13+
"@headlessui/react": "^2.2.4",
14+
"@mdx-js/loader": "^3.1.0",
15+
"@mdx-js/react": "^3.1.0",
16+
"@next/mdx": "15.3.3",
17+
"@radix-ui/react-dialog": "^1.1.14",
18+
"@radix-ui/react-dropdown-menu": "^2.1.15",
19+
"@radix-ui/react-slot": "^1.2.3",
20+
"@radix-ui/react-tooltip": "^1.2.7",
21+
"@tabler/icons-react": "^3.33.0",
22+
"@twitter-api-v2/plugin-rate-limit": "^1.1.0",
23+
"@types/mdx": "^2.0.13",
24+
"@uidotdev/usehooks": "^2.4.1",
25+
"class-variance-authority": "^0.7.1",
26+
"clsx": "^2.1.1",
27+
"embla-carousel-react": "^8.6.0",
28+
"geist": "^1.4.2",
29+
"lucide-react": "^0.511.0",
30+
"motion": "^12.15.0",
31+
"next": "15.3.3",
32+
"next-themes": "^0.4.6",
33+
"react": "19.1.0",
34+
"react-dom": "19.1.0",
35+
"remark-gfm": "^4.0.1",
36+
"sharp": "^0.34.2",
37+
"tailwind-merge": "^3.3.0",
38+
"twitter-api-v2": "^1.23.2"
39+
},
40+
"devDependencies": {
41+
"@biomejs/biome": "1.9.4",
42+
"@tailwindcss/postcss": "^4.1.8",
43+
"@tailwindcss/typography": "^0.5.16",
44+
"@types/node": "^22.15.29",
45+
"@types/react": "19.1.6",
46+
"@types/react-dom": "19.1.5",
47+
"postcss": "^8.5.4",
48+
"tailwindcss": "^4.1.8",
49+
"tw-animate-css": "^1.3.2",
50+
"typescript": "^5.8.3"
51+
},
52+
"packageManager": "pnpm@10.11.0",
53+
"pnpm": {
54+
"overrides": {
55+
"@types/react": "19.1.6",
56+
"@types/react-dom": "19.1.5"
57+
}
58+
}
5959
}

0 commit comments

Comments
 (0)