diff --git a/components/header.tsx b/components/header.tsx
index bd06d1f4..7ef8e469 100644
--- a/components/header.tsx
+++ b/components/header.tsx
@@ -4,11 +4,11 @@ import Link from "next/link";
import { useRouter } from "next/router";
import { Dispatch, SetStateAction, useEffect } from "react";
import { routes } from "../utils/routes";
-import { BarcodeHeaderIcon } from "./icons/barcode-header";
import { BarsIcon } from "./icons/bars";
-import { TextLogoIcon } from "./icons/text-logo";
import { DvadesetJedan } from "./icons/dvadesetjedan";
import { XMarkIcon } from "./icons/x-mark";
+import { urls } from "../utils/urls";
+import { ArrowUpRight } from "./icons/arrow-up-right";
function useLinks() {
const router = useRouter();
@@ -26,8 +26,9 @@ function useLinks() {
},
{
name: "Sastanci",
- route: routes.meetups,
+ route: urls.meetup,
active: router.asPath === routes.meetups,
+ Icon: ,
},
{
name: "Blog",
@@ -47,18 +48,18 @@ export function Header({
return (
<>
-
+
-
+
DvadesetJedan
-
+
-
- {links.map(({ name, route, active }, index) => (
+
+ {links.map(({ name, route, active, Icon }, index) => (
-
- {name}
+
+ {name}
+ {Icon}
+
@@ -88,18 +93,25 @@ export function Header({
- {links.map(({ name, route, active }) => (
+ {links.map(({ name, route, active, Icon }) => (
-
))}
diff --git a/components/icons/arrow-up-right.tsx b/components/icons/arrow-up-right.tsx
new file mode 100644
index 00000000..0c8026e1
--- /dev/null
+++ b/components/icons/arrow-up-right.tsx
@@ -0,0 +1,18 @@
+export function ArrowUpRight() {
+ return (
+
+ );
+}
diff --git a/components/meetups-section.tsx b/components/meetups-section.tsx
index 4b68d151..e881cb1a 100644
--- a/components/meetups-section.tsx
+++ b/components/meetups-section.tsx
@@ -30,25 +30,25 @@ export function MeetupsSection({ events }: { events: EventType[] }) {
-
-
Nedavni Događaji
-
- {[...pastEvents].splice(0, 3).map((event) => (
-
-
-
- ))}
-
-
-
-
- Pregledaj događaje
-
-
+ {/*
*/}
+ {/*
Nedavni Događaji
*/}
+ {/*
*/}
+ {/* {[...pastEvents].splice(0, 3).map((event) => ( */}
+ {/*
*/}
+ {/* */}
+ {/*
*/}
+ {/* ))} */}
+ {/*
*/}
+ {/*
*/}
+ {/*
*/}
+ {/*
*/}
+ {/* Pregledaj događaje */}
+ {/* */}
+ {/*
*/}
);
}
diff --git a/utils/urls.ts b/utils/urls.ts
index 64465c9e..bb14e2ee 100644
--- a/utils/urls.ts
+++ b/utils/urls.ts
@@ -1,7 +1,8 @@
export const urls = {
- discord: "https://discord.gg/HjmfXq5Z",
+ discord: "https://discord.com/invite/WSNA28kd",
youtube: "https://www.youtube.com/channel/UCYXly5XM_SO07vLHh2yPlCw",
spotify: "https://open.spotify.com/show/0K4Ak2oNQdCU3Tsr3Tajkx?si=34af43f494d3487b",
github: "https://github.com/Dvadeset-Jedan",
telegram: "https://t.me/dvadesetjedan21",
+ meetup: "https://www.meetup.com/dvadeset-jedan",
} as const;