mirror of
https://github.com/formbricks/formbricks.git
synced 2026-02-25 00:58:48 -06:00
Merge branch 'main' of https://github.com/Dhruwang/formbricks into redesign-metadata
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
import {
|
||||
BaseballIcon,
|
||||
CancelSubscriptionIcon,
|
||||
CodeBookIcon,
|
||||
DogChaserIcon,
|
||||
FeedbackIcon,
|
||||
InterviewPromptIcon,
|
||||
OnboardingIcon,
|
||||
PMFIcon,
|
||||
BaseballIcon,
|
||||
CodeBookIcon,
|
||||
} from "@formbricks/ui";
|
||||
import clsx from "clsx";
|
||||
import Link from "next/link";
|
||||
@@ -81,14 +81,14 @@ export default function BestPracticeNavigation() {
|
||||
];
|
||||
|
||||
return (
|
||||
<div className=" mx-auto grid grid-cols-1 gap-6 px-2 sm:grid-cols-3">
|
||||
<div className="mx-auto grid grid-cols-1 gap-6 px-2 md:grid-cols-3">
|
||||
{BestPractices.map((bestPractice) => (
|
||||
<Link href={bestPractice.href} key={bestPractice.name}>
|
||||
<div className="drop-shadow-card duration-120 hover:border-brand-dark relative rounded-lg border border-slate-100 bg-slate-100 p-8 transition-all ease-in-out hover:scale-105 hover:cursor-pointer dark:bg-slate-800">
|
||||
<div className="drop-shadow-card duration-120 hover:border-brand-dark relative rounded-lg border border-slate-100 bg-slate-100 p-6 transition-all ease-in-out hover:scale-105 hover:cursor-pointer dark:bg-slate-800">
|
||||
<div
|
||||
className={clsx(
|
||||
// base styles independent what type of button it is
|
||||
"absolute right-10 rounded-full px-3 py-1",
|
||||
"absolute right-6 rounded-full px-3 py-1 text-xs lg:text-sm",
|
||||
// different styles depending on type
|
||||
bestPractice.category === "Boost Retention" &&
|
||||
"bg-pink-100 text-pink-500 dark:bg-pink-800 dark:text-pink-200",
|
||||
|
||||
@@ -280,7 +280,7 @@ const Leaderboard = [
|
||||
},
|
||||
{
|
||||
name: "Pratik",
|
||||
points: "250",
|
||||
points: "350",
|
||||
},
|
||||
{
|
||||
name: "Karuppiah",
|
||||
@@ -300,7 +300,8 @@ const Leaderboard = [
|
||||
},
|
||||
{
|
||||
name: "Naitik Kapadia (Arjun)",
|
||||
points: "200",
|
||||
points: "1300",
|
||||
link: "https://github.com/KapadiaNaitik",
|
||||
},
|
||||
{
|
||||
name: "Yashhhh",
|
||||
@@ -355,17 +356,17 @@ const Leaderboard = [
|
||||
points: "100",
|
||||
},
|
||||
{
|
||||
name: "Ardash Malviya",
|
||||
points: "100",
|
||||
name: "Adarsh Malviya",
|
||||
points: "150",
|
||||
},
|
||||
{
|
||||
name: "Aditya Deshlahre",
|
||||
points: "820",
|
||||
points: "870",
|
||||
link: "https://github.com/adityadeshlahre",
|
||||
},
|
||||
{
|
||||
name: "Rutam",
|
||||
points: "805",
|
||||
points: "855",
|
||||
},
|
||||
{
|
||||
name: "Sagnik Sahoo",
|
||||
@@ -373,7 +374,7 @@ const Leaderboard = [
|
||||
},
|
||||
{
|
||||
name: "Prasoon Mahawar",
|
||||
points: "500",
|
||||
points: "950",
|
||||
},
|
||||
{
|
||||
name: "Dushmanta",
|
||||
@@ -409,7 +410,7 @@ const Leaderboard = [
|
||||
},
|
||||
{
|
||||
name: "Rajarshi Misra",
|
||||
points: "300",
|
||||
points: "500",
|
||||
},
|
||||
{
|
||||
name: "Anjaneya Gupta",
|
||||
@@ -429,7 +430,72 @@ const Leaderboard = [
|
||||
},
|
||||
{
|
||||
name: "maciek",
|
||||
points: "300",
|
||||
points: "350",
|
||||
},
|
||||
{
|
||||
name: "yatharth",
|
||||
points: "600",
|
||||
},
|
||||
{
|
||||
name: "Ratish Jain",
|
||||
points: "150",
|
||||
link: "https://github.com/ratishjain12",
|
||||
},
|
||||
{
|
||||
name: "yatharth",
|
||||
points: "600",
|
||||
},
|
||||
{
|
||||
name: "Subham Raj",
|
||||
points: "500",
|
||||
},
|
||||
{
|
||||
name: "Abhinav Arya",
|
||||
points: "150",
|
||||
link: "github.com/itzabhinavarya",
|
||||
},
|
||||
{
|
||||
name: "Yash Nirmal",
|
||||
points: "100",
|
||||
},
|
||||
{
|
||||
name: "Rohan Gupta",
|
||||
points: "500",
|
||||
link: "https://github.com/rohan9896",
|
||||
},
|
||||
{
|
||||
name: "Eder Silva",
|
||||
points: "100",
|
||||
link: "https://github.com/edersilva78",
|
||||
},
|
||||
{
|
||||
name: "Eduardo Noronha",
|
||||
points: "100",
|
||||
},
|
||||
{
|
||||
name: "Joyal",
|
||||
points: "550",
|
||||
link: "https://github.com/joyal007",
|
||||
},
|
||||
{
|
||||
name: "zaCKoZAck0",
|
||||
points: "200",
|
||||
},
|
||||
{
|
||||
name: "Viswa Prasath (iamvp7)",
|
||||
points: "100",
|
||||
},
|
||||
{
|
||||
name: "aman4444",
|
||||
points: "100",
|
||||
},
|
||||
{
|
||||
name: "mohit.d404",
|
||||
points: "100",
|
||||
},
|
||||
{
|
||||
name: "0xCgn",
|
||||
points: "100",
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
@@ -121,7 +121,9 @@ export default function MultipleChoiceSingleQuestion({
|
||||
}}
|
||||
checked={Array.isArray(value) && value.includes(choice.label)}
|
||||
style={{ borderColor: brandColor, color: brandColor }}
|
||||
required={question.required && idx === 0}
|
||||
required={
|
||||
question.required && Array.isArray(value) && value.length ? false : question.required
|
||||
}
|
||||
/>
|
||||
<span id={`${choice.id}-label`} className="ml-3 font-medium">
|
||||
{choice.label}
|
||||
|
||||
Reference in New Issue
Block a user