Skip to content

Commit

Permalink
components folder changed
Browse files Browse the repository at this point in the history
  • Loading branch information
sinanptm committed Aug 27, 2024
1 parent de83fac commit e9bace7
Show file tree
Hide file tree
Showing 19 changed files with 18 additions and 17 deletions.
6 changes: 3 additions & 3 deletions client/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import type { Metadata } from "next";
import { Plus_Jakarta_Sans } from "next/font/google";
import "../styles/globals.css";
import { cn } from "@/lib/utils";
import { ThemeProvider } from "@/components/ThemeProvider";
import NavBar from "@/components/NavBar";
import Footer from "@/components/Footer";
import { ThemeProvider } from "@/components/layout/ThemeProvider";
import NavBar from "@/components/layout/NavBar";
import Footer from "@/components/layout/Footer";
import { Toaster } from "@/components/ui/toaster";

const inter = Plus_Jakarta_Sans({
Expand Down
2 changes: 1 addition & 1 deletion client/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import AboutAyurveda from "@/components/home/AboutAyurveda";
import ImageSlider from "@/components/home/ImageSlider";
import WhyUs from "@/components/home/WhyUs";
import dynamic from "next/dynamic";
import Loader from "@/components/Loader";
import Loader from "@/components/common/Loader";

const FeaturesList = dynamic(()=>import("@/components/home/FeatureList"),{
loading:()=><Loader />,
Expand Down
2 changes: 1 addition & 1 deletion client/app/staff/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ReactNode, FC } from "react";
import AdminSideBar from "@/components/AdminSideBar";
import AdminSideBar from "@/components/layout/AdminSideBar";
import { Metadata } from "next";

interface AdminLayoutWrapperProps {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions client/components/forms/AppointmentForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import { zodResolver } from "@hookform/resolvers/zod";
import { useForm } from "react-hook-form";
import { z } from "zod";
import { Form } from "@/components/ui/form";
import CustomFormField from "@/components/utils/CustomFormField";
import SubmitButton from "@/components/utils/SubmitButton";
import CustomFormField from "@/components/common/CustomFormField";
import SubmitButton from "@/components/common/SubmitButton";
import { appointmentFormValidation } from "@/lib/validators/userValidation";
import { SelectItem } from "../ui/select";
import Image from "next/image";
Expand Down
2 changes: 1 addition & 1 deletion client/components/forms/OtpForms.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { FormEvent } from "react";
import { InputOTP, InputOTPGroup, InputOTPSlot } from "@/components/ui/input-otp";
import { Otptimer } from "otp-timer-ts";
import { OtpFromProps } from "@/types/fromTypes";
import SubmitButton from "../utils/SubmitButton";
import SubmitButton from "../common/SubmitButton";

export default function OtpVerificationSection({
handleVerify,
Expand Down
4 changes: 2 additions & 2 deletions client/components/forms/RegistrationForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import { zodResolver } from "@hookform/resolvers/zod";
import { useForm } from "react-hook-form";
import { z } from "zod";
import { Form, FormControl } from "@/components/ui/form";
import CustomFormField from "@/components/utils/CustomFormField";
import SubmitButton from "@/components/utils/SubmitButton";
import CustomFormField from "@/components/common/CustomFormField";
import SubmitButton from "@/components/common/SubmitButton";
import { registerFormValidation } from "@/lib/validators/userValidation";
import { RadioGroup, RadioGroupItem } from "@/components/ui/radio-group";
import { Label } from "@radix-ui/react-label";
Expand Down
4 changes: 2 additions & 2 deletions client/components/forms/SigninForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import { zodResolver } from "@hookform/resolvers/zod";
import { useForm } from "react-hook-form";
import { z } from "zod";
import { Form } from "@/components/ui/form";
import CustomFormField from "@/components/utils/CustomFormField";
import SubmitButton from "@/components/utils/SubmitButton";
import CustomFormField from "@/components/common/CustomFormField";
import SubmitButton from "@/components/common/SubmitButton";
import { signinFormValidation } from "@/lib/validators/userValidation";
import Link from "next/link";
import { FormFieldType } from "@/types/fromTypes";
Expand Down
4 changes: 2 additions & 2 deletions client/components/forms/SignupForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import { zodResolver } from "@hookform/resolvers/zod";
import { useForm } from "react-hook-form";
import { z } from "zod";
import { Form } from "@/components/ui/form";
import CustomFormField from "@/components/utils/CustomFormField";
import SubmitButton from "@/components/utils/SubmitButton";
import CustomFormField from "@/components/common/CustomFormField";
import SubmitButton from "@/components/common/SubmitButton";
import { signupFormValidation } from "@/lib/validators/userValidation";
import { FormFieldType } from "@/types/fromTypes";
import Link from "next/link";
Expand Down
4 changes: 2 additions & 2 deletions client/components/forms/admin/SigninForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import { zodResolver } from "@hookform/resolvers/zod";
import { useForm } from "react-hook-form";
import { z } from "zod";
import { Form } from "@/components/ui/form";
import CustomFormField from "@/components/utils/CustomFormField";
import SubmitButton from "@/components/utils/SubmitButton";
import CustomFormField from "@/components/common/CustomFormField";
import SubmitButton from "@/components/common/SubmitButton";
import { signinFormValidation } from "@/lib/validators/adminValidation";
import { FormFieldType } from "@/types/fromTypes";

Expand Down
2 changes: 1 addition & 1 deletion client/components/home/FeatureList.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import AnimatedCard from "@/components/utils/AnimatedCard";
import AnimatedCard from "@/components/common/AnimatedCard";
import { FeaturesCardsHomePage } from "@/constants";

const FeaturesList = () => {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions client/resources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
// 4th https://github.com/Nutlope/roomGPT
// 5th https://github.com/steven-tey/dub

// https://github.com/raazi-muhammed/omniflow

// https://nextjs.org/docs/app/building-your-application/data-fetching/caching-and-revalidating/

Expand Down

1 comment on commit e9bace7

@vercel
Copy link

@vercel vercel bot commented on e9bace7 Aug 27, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.