Skip to content

Commit ab241cd

Browse files
authored
Changed link to last years conference (#352)
1 parent bf2646e commit ab241cd

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/components/Header.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@ export function Header({ c }: { c: Conference }) {
2929
const currentDomain = c.domains?.[0] ?? 'cloudnativedays.no'
3030
const currentYear = parseInt(currentDomain.split('.')[0])
3131
const previousYear = currentYear - 1
32-
const previousDomain = `${previousYear}.cloudnativedays.no`
32+
const previousDomain =
33+
currentYear <= 2026
34+
? `${previousYear}.cloudnativebergen.dev`
35+
: `${previousYear}.cloudnativedays.no`
3336

3437
return (
3538
<header className="relative z-50 flex-none lg:pt-11">

0 commit comments

Comments
 (0)