11import { useEffect , useState } from "react" ;
22import { IconContext } from "react-icons" ;
3- import { FaArrowsRotate , FaEye , FaRegFaceSmileWink } from "react-icons/fa6" ;
3+ import { FaArrowsRotate , FaEye } from "react-icons/fa6" ;
44import { remark } from "remark" ;
55import strip from "strip-markdown" ;
66import requestIp from "request-ip" ;
@@ -10,7 +10,6 @@ import { getServerSession } from "next-auth/next";
1010import { getUserApi } from "./api/profiles/[username]/index" ;
1111import { clientEnv } from "@config/schemas/clientSchema" ;
1212import logger from "@config/logger" ;
13- import Link from "@components/Link" ;
1413import PageHead from "@components/PageHead" ;
1514import MultiLayout from "@components/layouts/MultiLayout" ;
1615import Page from "@components/Page" ;
@@ -71,7 +70,7 @@ export async function getServerSideProps(context) {
7170 } ;
7271}
7372
74- export default function User ( { data, BASE_URL , isLoggedIn } ) {
73+ export default function User ( { data, BASE_URL } ) {
7574 const [ pwa , setPwa ] = useState ( false ) ;
7675
7776 useEffect ( ( ) => {
@@ -114,26 +113,6 @@ export default function User({ data, BASE_URL, isLoggedIn }) {
114113 </ div >
115114 ) }
116115
117- { ! isLoggedIn && data . accountType === "free" && (
118- < Link
119- href = "/pricing"
120- rel = "noopener noreferrer"
121- target = "_blank"
122- className = "fixed bottom-5 right-5 rounded-full focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-secondary-high"
123- >
124- < div className = "flex px-4 py-2 bg-tertiary-medium text-primary-low items-center gap-1 rounded-full hover:bg-secondary-medium hover:drop-shadow-lg" >
125- < IconContext . Provider
126- value = { { color : "white" , style : { verticalAlign : "middle" } } }
127- >
128- < FaRegFaceSmileWink />
129- </ IconContext . Provider >
130- < p className = "text-sm font-medium text-primary-medium" >
131- Create your BioDrop Profile
132- </ p >
133- </ div >
134- </ Link >
135- ) }
136-
137116 { pwa && (
138117 < Button
139118 onClick = { ( ) => window . location . reload ( ) }
0 commit comments