mirror of
https://gitea.gofwd.group/dstrawsb/ballistic-builder.git
synced 2025-12-06 02:36:44 -05:00
bunch of fixes
This commit is contained in:
@@ -6,7 +6,7 @@ import styles from '../styles.module.css';
|
||||
import PageHero from "@components/PageHero";
|
||||
|
||||
import { Suspense } from "react";
|
||||
import Loading from "@src/app/components/Loading/loading";
|
||||
import Loading from "@src/components/Loading/loading";
|
||||
import Link from "next/link";
|
||||
|
||||
export default async function AccountsTable( props: any ) {
|
||||
@@ -70,7 +70,7 @@ export default async function AccountsTable( props: any ) {
|
||||
<tr key={item.uuid}>
|
||||
<td className="whitespace-wrap flex items-center py-4 pl-4 pr-3 text-xs font-medium text-gray-900 ">
|
||||
|
||||
<Link href={`/userProfile/${item.uuid}`}><span className="pl-2"> {item.first_name}</span></Link>
|
||||
<Link href={`/UserProfile/${item.uuid}`}><span className="pl-2"> {item.first_name}</span></Link>
|
||||
</td>
|
||||
<td className="whitespace-nowrap px-3 py-4 text-xs text-gray-900">
|
||||
{item.last_name}
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
"use client";
|
||||
import { FC, useState } from "react";
|
||||
import { brandType } from "src/types/brandType";
|
||||
import { brandType } from "@lib/types/brandType";
|
||||
import Brand from "./brand";
|
||||
import AddBrand from "./addBrand";
|
||||
import { addBrand, deleteBrand, editBrand } from "../../actions/brandActions";
|
||||
import Footer from "@src/app/site/Footer/page";
|
||||
import Footer from "@src/app/(siteInfo)/Footer/page";
|
||||
import constants from "@src/lib/constants";
|
||||
interface Props {
|
||||
brands: brandType[];
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
"use client";
|
||||
import { FC, useState } from "react";
|
||||
import { componentTypeType } from "src/types/componentTypeType";
|
||||
import { componentTypeType } from "@lib/types/componentTypeType";
|
||||
import { componentType } from './componentType'
|
||||
// import AddBrand from "./addBrand";
|
||||
import { getData } from "src/actions/componentTypeActions";
|
||||
import { getData } from "@actions/componentTypeActions";
|
||||
import constants from "@src/lib/constants";
|
||||
|
||||
interface Props {
|
||||
componentType: componentType[];
|
||||
componentType: any[];
|
||||
}
|
||||
|
||||
const ComponentTypeList: FC<Props> = ({ componentType }) => {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
"use client";
|
||||
import { ChangeEvent, FC, useState } from "react";
|
||||
import { componentTypeType } from "src/types/componentTypeType";
|
||||
import { componentTypeType } from "@lib/types/componentTypeType";
|
||||
|
||||
interface Props {
|
||||
componentType: componentTypeType;
|
||||
|
||||
6
src/components/Loading/loading.tsx
Normal file
6
src/components/Loading/loading.tsx
Normal file
@@ -0,0 +1,6 @@
|
||||
const Loading = async () => {
|
||||
return (
|
||||
<div className="text-center mt-14">Loading...</div>);
|
||||
}
|
||||
|
||||
export default Loading;
|
||||
@@ -3,7 +3,7 @@ import { PlusCircleIcon } from "@heroicons/react/20/solid";
|
||||
|
||||
import Image from "next/image";
|
||||
import Link from "next/link";
|
||||
import { TestProductPage } from "@src/app/components/TestProductPage";
|
||||
import { TestProductPage } from "@src/components/TestProductPage";
|
||||
|
||||
export default async function SortTable(props: any) {
|
||||
return (
|
||||
|
||||
8
src/components/TestProductPage/index.tsx
Normal file
8
src/components/TestProductPage/index.tsx
Normal file
@@ -0,0 +1,8 @@
|
||||
'use server'
|
||||
export const TestProductPage = async (props: any) => {
|
||||
return (
|
||||
<div className="fixed pin z-50 overflow-auto bg-smoke-light flex">
|
||||
{props.data.modelnumber}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -92,7 +92,7 @@ export default async function UsersTable(props: any) {
|
||||
<tr key={item.uuid}>
|
||||
<td className="whitespace-wrap flex items-center py-4 pl-4 pr-3 text-xs font-medium text-gray-900 ">
|
||||
|
||||
<Link href={`/userProfile/${item.uuid}`}><span className="pl-2"> {item.email}</span></Link>
|
||||
<Link href={`/UserProfile/${item.uuid}`}><span className="pl-2"> {item.email}</span></Link>
|
||||
</td>
|
||||
<td className="whitespace-nowrap px-3 py-4 text-xs text-gray-900">
|
||||
{item.first_name}
|
||||
|
||||
Reference in New Issue
Block a user