Skip to content

Commit

Permalink
name english
Browse files Browse the repository at this point in the history
  • Loading branch information
Doston1002 committed May 20, 2023
1 parent 3496f24 commit 2e93196
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/pages/admin/banner/Banner.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ const Banner = () => {
return (
<div>
<FormHeader
title="Slider rasmlari"
title="Slider image"
event2="Add"
handleEvent2={() => setStatus("create")}
event1="All"
Expand Down
6 changes: 3 additions & 3 deletions src/pages/admin/faq/Faq.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ const Faq = () => {
faqAndMottoActions.get("a");
}, [status]);

const analyseNameTableHead = ["T/r", "Savol", "Javob", "Amallar"];
const analyseNameTableHead = ["T/r", "Question", "Answer", "Actions"];
const renderHead = (item, index) => <th key={index}>{item}</th>;
const renderBody = (item, index) => {
return (
<tr key={index} className="cursor-pointer hover:bg-gray-100">
<td>{index + 1}</td>
<td>{item.title_uz}</td>
<td>{item.body_uz}</td>
<td>{item.title_en}</td>
<td>{item.body_en}</td>
<td className="">
<button
className="hover:scale-125"
Expand Down
6 changes: 3 additions & 3 deletions src/pages/admin/mottos/Mottos.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ const Faq = () => {
faqAndMottoActions.get("b");
}, [status]);

const analyseNameTableHead = ["T/r", "Savol", "Javob", "Amallar"];
const analyseNameTableHead = ["T/r", "Question", "Answer", "Actions"];
const renderHead = (item, index) => <th key={index}>{item}</th>;
const renderBody = (item, index) => {
return (
<tr key={index} className="cursor-pointer hover:bg-gray-100">
<td>{index + 1}</td>
<td>{item.title_uz}</td>
<td>{item.body_uz}</td>
<td>{item.title_en}</td>
<td>{item.body_en}</td>
<td className="">
<button
className="hover:scale-125"
Expand Down
4 changes: 2 additions & 2 deletions src/pages/admin/news/News.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ const News = () => {
blogActions.get();
}, [onEdit.open, status]);

const analyseNameTableHead = ["T/r", "Blog nomi", "Sanasi", "Amallar"];
const analyseNameTableHead = ["T/r", "Blog name", "Date", "Actions"];
const renderHead = (item, index) => <th key={index}>{item}</th>;
const renderBody = (item, index) => {
return (
<tr key={index} className="cursor-pointer hover:bg-gray-100">
<td>{index + 1}</td>
<td>{item.title_uz}</td>
<td>{item.title_en}</td>
<td>{item.date}</td>
<td className="">
{/* <button
Expand Down
2 changes: 1 addition & 1 deletion src/pages/admin/partners/Partners.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const Partners = () => {
partnersActions.get();
}, [status]);

const analyseNameTableHead = ["T/r", "Logo", "Name", "Amallar"];
const analyseNameTableHead = ["T/r", "Logo", "Name", "Actions"];
const renderHead = (item, index) => <th key={index}>{item}</th>;
const renderBody = (item, index) => {
return (
Expand Down
4 changes: 2 additions & 2 deletions src/pages/admin/vacancies/Vacancies.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ const News = () => {
vacancyActions.get();
}, [onEdit.open, status]);

const analyseNameTableHead = ["T/r", "Vakansiya nomi", "Sanasi", "Amallar"];
const analyseNameTableHead = ["T/r", "Vacancy Name", "Date", "Actions"];
const renderHead = (item, index) => <th key={index}>{item}</th>;
const renderBody = (item, index) => {
return (
<tr key={index} className="cursor-pointer hover:bg-gray-100">
<td>{index + 1}</td>
<td>{item.title_uz}</td>
<td>{item.title_en}</td>
<td>{item.date}</td>
<td className="">
{/* <button
Expand Down

2 comments on commit 2e93196

@vercel
Copy link

@vercel vercel bot commented on 2e93196 May 20, 2023

Choose a reason for hiding this comment

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

@vercel
Copy link

@vercel vercel bot commented on 2e93196 May 20, 2023

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.