update navbar icons

This commit is contained in:
Yee Jia Wei
2023-12-16 22:46:29 +08:00
parent d52afd66f3
commit 9119402dac
4 changed files with 17 additions and 48 deletions
+1 -6
View File
@@ -1,6 +1,4 @@
import React, { useEffect, useState } from "react";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { faUser } from "@fortawesome/free-solid-svg-icons";
import Image from "next/image";
type Props = {
@@ -39,10 +37,7 @@ export default function ProfilePhoto({
{name ? (
<span className="text-2xl capitalize">{name.slice(0, 1)}</span>
) : (
<FontAwesomeIcon
icon={faUser}
className="w-1/2 h-1/2 aspect-square"
/>
<i className="bi-person text-xl"></i>
)}
</div>
</div>