Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/link go to plans #1441

Merged
merged 6 commits into from
Aug 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import { AxiosResponse } from "axios";
import { EllipsisIcon } from "lucide-react";
import Link from "next/link";
import { useState } from "react";

import CustomButton from "~/components/common/common-button/common-button";
Expand Down Expand Up @@ -184,7 +185,11 @@ const Members = () => {
<p className="text-sm">
On the Free plan all members in a workspace are administrators.
Upgrade to a paid plan to add the ability to assign or remove
administrator roles. <span className="text-primary">Go to Plans</span>
administrator roles.{" "}
<Link href="/dashboard/admin/settings/payment-information">
{" "}
<span className="text-primary">Go to Plans</span>
</Link>
</p>
</div>
<div className="my-8 flex justify-between">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ export default function SettingsPage() {
onValueChange={(value) => setPronoun(value)}
>
<SelectTrigger className="w-full rounded-md border border-slate-300 bg-white text-sm font-medium text-slate-700 focus:border-orange-500 focus:ring-0">
<SelectValue placeholder="Select language" />
<SelectValue placeholder="Select" />
</SelectTrigger>
<SelectContent>
{pronouns.map((pronoun) => (
Expand Down
4 changes: 2 additions & 2 deletions src/components/common/modals/invite-member/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -154,14 +154,14 @@ const InviteMemberModal: React.FC<ModalProperties> = ({ show, onClose }) => {
</div>
<div>
<label className="mb-2 block text-left text-base text-neutral-dark-2">
Add to Organization (Optional)
Invite as
</label>
<Select
onOpenChange={handleOrganizationDropdownOpen}
onValueChange={handleOrganizationChange}
>
<SelectTrigger className="bg-white">
<SelectValue placeholder="Select Organization" />
<SelectValue placeholder="Select Role" />
</SelectTrigger>
<SelectContent>
<SelectGroup>
Expand Down
4 changes: 2 additions & 2 deletions src/components/layouts/footer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@ const Footer = () => {
];

const footerBottom = [
{ route: "privacyPolicy", link: "/" },
{ route: "termsOfUse", link: "/" },
{ route: "privacyPolicy", link: "/privacy-policy" },
{ route: "termsOfUse", link: "/terms-and-conditions" },
];

//
Expand Down
Loading