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

dilshod #215

Open
wants to merge 37 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
7d3854d
Login page
May 20, 2023
71ff9ad
remove pattern
May 20, 2023
966dd2c
birinchi ish
Dilshods May 20, 2023
e125d26
remove pattern
May 20, 2023
16e1193
Merge pull request #1 from Dostonhack/doston
DostonEliboyev May 20, 2023
dbad931
dilshod
Dilshods May 20, 2023
2f33181
Merge branch 'main' of https://github.com/Dostonhack/material-dashboa…
Dilshods May 20, 2023
217d16f
Login page done
May 22, 2023
fad5043
login page done
May 22, 2023
162b79a
Merge pull request #2 from Dostonhack/doston1
DostonEliboyev May 22, 2023
651bff2
...
Dilshods May 22, 2023
d9fef2d
Merge branch 'main' of https://github.com/Dostonhack/material-dashboa…
Dilshods May 22, 2023
2a2a696
dilshod1
Dilshods May 23, 2023
d3cc1c0
catergory add
May 24, 2023
a12a57f
Merge pull request #3 from Dostonhack/doston1
DostonEliboyev May 24, 2023
e9eeb77
Merge branch 'main' of https://github.com/Dostonhack/material-dashboa…
Dilshods May 24, 2023
98918ff
uzgarish edit delete
Dilshods May 25, 2023
cf64291
Merge pull request #4 from Dostonhack/dilshod
Dilshods May 25, 2023
561f501
Category modals
May 25, 2023
b36ea49
Merge pull request #5 from Dostonhack/doston1
DostonEliboyev May 25, 2023
7bfc69c
delete
Dilshods May 27, 2023
1aed45b
change delete
Dilshods May 27, 2023
9322388
Merge pull request #6 from Dostonhack/dilshod
Dilshods May 27, 2023
1461bf6
Category delete add done
May 27, 2023
e3856b8
Merge pull request #7 from Dostonhack/doston1
DostonEliboyev May 27, 2023
cf936c3
crud done
May 28, 2023
4297bbb
uzbek
Dilshods May 28, 2023
a7881c1
Merge pull request #8 from Dostonhack/doston1
DostonEliboyev May 28, 2023
abcc9d6
uzbektext
Dilshods May 28, 2023
34d014e
add feedback
Dilshods Jun 3, 2023
10b641d
Merge pull request #9 from Dostonhack/dilshod
Dilshods Jun 21, 2023
ca9e513
adminka
Dilshods Jun 30, 2023
193e0d3
Merge pull request #10 from Dostonhack/dilshod1
Dilshods Jul 1, 2023
6c1d71f
admin24
Dilshods Jul 1, 2023
f6fa3b3
Merge pull request #11 from Dostonhack/dilshod
Dilshods Jul 1, 2023
c9da23c
Update README.md
DostonEliboyev Jan 30, 2025
946e11c
Update README.md
DostonEliboyev Jan 30, 2025
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
8 changes: 2 additions & 6 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,9 @@
},
"plugins": ["react", "prettier"],
"rules": {
"prettier/prettier": [
"error",
{
"endOfLine": "auto"
}
],
"prettier/prettier": 0,
"default-param-last": "off",
"react/prop-types": "off",
"react/react-in-jsx-scope": "off",
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/jsx-props-no-spreading": [
Expand Down
2 changes: 1 addition & 1 deletion .prettierrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"printWidth": 100,
"trailingComma": "es5",
"tabWidth": 2,
"semi": true,
"semi": false,
"singleQuote": false,
"endOfLine": "auto"
}
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"editor.formatOnSave": true
}
229 changes: 15 additions & 214 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,219 +1,20 @@
# [Material Dashboard 2 React](http://demos.creative-tim.com/material-dashboard-react/#/dashboard?ref=readme-mdr) [![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social&logo=twitter)](https://twitter.com/intent/tweet?url=https://www.creative-tim.com/product/material-dashboard-react&text=Check%20Material%20Dashboard%202%20react%20made%20by%20@CreativeTim%20#webdesign%20#dashboard%20#materialdesign%20#react%20https://www.creative-tim.com/product/material-dashboard-react)
# Tahlil24 Dashboard

![version](https://img.shields.io/badge/version-2.1.0-blue.svg) [![GitHub issues open](https://img.shields.io/github/issues/creativetimofficial/material-dashboard-react.svg)](https://github.com/creativetimofficial/material-dashboard-react/issues?q=is%3Aopen+is%3Aissue) [![GitHub issues closed](https://img.shields.io/github/issues-closed-raw/creativetimofficial/material-dashboard-react.svg)](https://github.com/creativetimofficial/material-dashboard-react/issues?q=is%3Aissue+is%3Aclosed)
Tahlil24 news website admin panel (dashboard) — a platform developed for managing news. This project is built using **React.js** and allows users to create, edit, and delete news articles.

![Image](https://s3.amazonaws.com/creativetim_bucket/products/71/original/material-dashboard-react.jpg?1638950990)
## Technologies and Libraries
This project utilizes the following technologies and libraries:

Material Dashboard 2 React is our newest free MUI Admin Template based on React. If you’re a developer looking to create an admin dashboard that is developer-friendly, rich with features, and highly customisable, here is your match. Our innovative MUI & React dashboard comes with a beautiful design inspired by Google's Material Design and it will help you create stunning websites & web apps to delight your clients.
- **React.js** – Core library for building the UI
- **Axios** – For making HTTP requests
- **Chart.js** – For displaying statistical data in charts
- **Chroma-js** – For color manipulation and management
- **Draft-js** – Rich text editor for content management
- **lotin-kirill** – For converting text between Latin and Cyrillic scripts

**Fully Coded Elements**
Material Dashboard 2 React is built with over 70 frontend individual elements, like buttons, inputs, navbars, nav tabs, cards, or alerts, giving you the freedom of choosing and combining. All components can take variations in color, which you can easily modify using MUI styled() API and sx prop. You will save a lot of time going from prototyping to full-functional code because all elements are implemented.
## Features
- Create and edit news articles
- Delete news articles
- Display statistical data in chart format
- Fully responsive for mobile and tablet devices

This free MUI & React Dashboard is coming with prebuilt design blocks, so the development process is seamless,
switching from our pages to the real website is very easy to be done.

Special thanks go to:
- [Nepcha Analytics](https://nepcha.com?ref=readme) for the analytics tool. Nepcha is already integrated with Material Dashboard React. You can use it to gain insights into your sources of traffic.

**Documentation built by Developers**

Each element is well presented in very complex documentation.

You can read more about the [documentation here](https://www.creative-tim.com/learning-lab/react/overview/material-dashboard/).

**Example Pages**

If you want to get inspiration or just show something directly to your clients, you can jump-start your development with our pre-built example pages. You will be able to quickly set up the basic structure for your web project.

View [example pages here](https://demos.creative-tim.com/material-dashboard-react/#/dashboard).

**HELPFUL LINKS**

- View [Github Repository](https://github.com/creativetimofficial/material-dashboard-react)
- Check [FAQ Page](https://www.creative-tim.com/faq)

#### Special thanks

During the development of this dashboard, we have used many existing resources from awesome developers. We want to thank them for providing their tools open source:

- [MUI](https://mui.com/) - The React UI library for faster and easier web development.
- [React ChartJS 2](http://reactchartjs.github.io/react-chartjs-2/#/) - Simple yet flexible React charting for designers & developers.
- [ChromaJS](https://gka.github.io/chroma.js/) - A small-ish zero-dependency JavaScript library for all kinds of color conversions and color scales.

Let us know your thoughts below. And good luck with development!

## Table of Contents

- [Versions](#versions)
- [Demo](#demo)
- [Quick Start](#quick-start)
- [Documentation](#documentation)
- [File Structure](#file-structure)
- [Browser Support](#browser-support)
- [Resources](#resources)
- [Reporting Issues](#reporting-issues)
- [Technical Support or Questions](#technical-support-or-questions)
- [Licensing](#licensing)
- [Useful Links](#useful-links)

## Versions

[<img src="https://raw.githubusercontent.com/creativetimofficial/public-assets/master/logos/react-logo.png?raw=true" width="60" height="60" />](https://www.creative-tim.com/product/material-dashboard-react?ref=readme-mdr)

| React |
| ----- |

| [![Material Dashboard React](https://s3.amazonaws.com/creativetim_bucket/products/71/thumb/material-dashboard-react.jpg?1638950990)](http://demos.creative-tim.com/material-dashboard-react/#/dashboard?ref=readme-mdr)

## Demo

- [Dashboard](http://demos.creative-tim.com/material-dashboard-react/#/dashboard?ref=readme-sudr)
- [Profile](https://demos.creative-tim.com/material-dashboard-react/#/profile?ref=readme-sudr)
- [RTL](https://demos.creative-tim.com/material-dashboard-react/#/rtl?ref=readme-sudr)
- [Sign In](https://demos.creative-tim.com/material-dashboard-react/#/authentication/sign-in?ref=readme-sudr)
- [Sign Up](https://demos.creative-tim.com/material-dashboard-react/#/authentication/sign-up?ref=readme-sudr)

[View More](https://demos.creative-tim.com/material-dashboard-react/#/dashboard?ref=readme-mdr).

## Quick start

Quick start options:

- Download from [Creative Tim](https://www.creative-tim.com/product/material-dashboard-react?ref=readme-mdr).

## Terminal Commands

1. Download and Install NodeJs LTS version from [NodeJs Official Page](https://nodejs.org/en/download/).
2. Navigate to the root ./ directory of the product and run `yarn install` or `npm install` to install our local dependencies.

## Documentation

The documentation for the Material Dashboard is hosted at our [website](https://www.creative-tim.com/learning-lab/react/overview/material-dashboard/?ref=readme-mdr).

### What's included

Within the download you'll find the following directories and files:

```
material-dashboard-react
├── public
│   ├── apple-icon.png
│   ├── favicon.png
│   ├── index.html
│   ├── manifest.json
│   └── robots.txt
├── src
│   ├── assets
│ │   ├── images
│ │   └── theme
│ │  ├── base
│ │  ├── components
│ │  ├── functions
│ │  ├── index.js
│ │ └── theme-rtl.js
│ │   └── theme-dark
│ │  ├── base
│ │  ├── components
│ │  ├── functions
│ │  ├── index.js
│ │ └── theme-rtl.js
│   ├── components
│ │   ├── MDAlert
│ │   ├── MDAvatar
│ │   ├── MDBadge
│ │   ├── MDBox
│ │   ├── MDButton
│ │   ├── MDInput
│ │   ├── MDPagination
│ │   ├── MDProgress
│ │   ├── MDSnackbar
│ │   └── MDTypography
│   ├── context
│   ├── examples
│ │   ├── Breadcrumbs
│ │   ├── Cards
│ │   ├── Charts
│ │   ├── Configurator
│ │   ├── Footer
│ │   ├── Items
│ │   ├── LayoutContainers
│ │   ├── Lists
│ │   ├── Navbars
│ │   ├── Sidenav
│ │   ├── Tables
│ │   └── Timeline
│   ├── layouts
│ │   ├── authentication
│ │   ├── billing
│ │   ├── dashboard
│ │   ├── notifications
│ │   ├── profile
│ │   ├── rtl
│ │   └── tables
│   ├── App.js
│   ├── index.js
│   └── routes.js
├── .eslintrc.json
├── .prettierrc.json
├── CHANGELOG.md
├── ISSUE_TEMPLATE.md
├── jsconfig.json
├── LICENSE.md
├── package.json
└── README.md
```

## Browser Support

At present, we officially aim to support the last two versions of the following browsers:

<img src="https://s3.amazonaws.com/creativetim_bucket/github/browser/chrome.png" width="64" height="64"> <img src="https://s3.amazonaws.com/creativetim_bucket/github/browser/firefox.png" width="64" height="64"> <img src="https://s3.amazonaws.com/creativetim_bucket/github/browser/edge.png" width="64" height="64"> <img src="https://s3.amazonaws.com/creativetim_bucket/github/browser/safari.png" width="64" height="64"> <img src="https://s3.amazonaws.com/creativetim_bucket/github/browser/opera.png" width="64" height="64">

## Resources

- [Live Preview](https://demos.creative-tim.com/material-dashboard-react/#/dashboard?ref=readme-mdr)
- [Download Page](https://www.creative-tim.com/product/material-dashboard-react?ref=readme-mdr)
- Documentation is [here](https://www.creative-tim.com/learning-lab/react/overview/material-dashboard/?ref=readme-mdr)
- [License Agreement](https://www.creative-tim.com/license?ref=readme-mdr)
- [Support](https://www.creative-tim.com/contact-us?ref=readme-mdr)
- Issues: [Github Issues Page](https://github.com/creativetimofficial/material-dashboard-react/issues)
- [Nepcha Analytics](https://nepcha.com?ref=readme) - Analytics tool for your website

## Reporting Issues

We use GitHub Issues as the official bug tracker for the Material Dashboard React. Here are some advices for our users that want to report an issue:

1. Make sure that you are using the latest version of the Material Dashboard React. Check the CHANGELOG from your dashboard on our [website](https://www.creative-tim.com/product/material-dashboard-react?ref=readme-mdr).
2. Providing us reproducible steps for the issue will shorten the time it takes for it to be fixed.
3. Some issues may be browser specific, so specifying in what browser you encountered the issue might help.

## Technical Support or Questions

If you have questions or need help integrating the product please [contact us](https://www.creative-tim.com/contact-us?ref=readme-mdr) instead of opening an issue.

## Licensing

- Copyright 2021 [Creative Tim](https://www.creative-tim.com?ref=readme-mdr)
- Creative Tim [license](https://www.creative-tim.com/license?ref=readme-mdr)

## Useful Links

- [More products](https://www.creative-tim.com/templates?ref=readme-mdr) from Creative Tim

- [Tutorials](https://www.youtube.com/channel/UCVyTG4sCw-rOvB9oHkzZD1w)

- [Freebies](https://www.creative-tim.com/bootstrap-themes/free?ref=readme-mdr) from Creative Tim

- [Affiliate Program](https://www.creative-tim.com/affiliates/new?ref=readme-mdr) (earn money)

##### Social Media

Twitter: <https://twitter.com/CreativeTim>

Facebook: <https://www.facebook.com/CreativeTim>

Dribbble: <https://dribbble.com/creativetim>

Google+: <https://plus.google.com/+CreativetimPage>

Instagram: <https://instagram.com/creativetimofficial>
3 changes: 3 additions & 0 deletions dcasn
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
doston
* doston1
main
1 change: 1 addition & 0 deletions est
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Token = "tokenType": "Bearer",
1 change: 1 addition & 0 deletions jsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"compilerOptions": {
"jsx": "react",
"baseUrl": "src",
"paths": {
"*": ["public/src/*"]
Expand Down
20 changes: 16 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,32 +17,44 @@
"npm": ">=6"
},
"dependencies": {
"@date-io/moment": "^1.3.13",
"@draft-js-plugins/image": "^4.1.3",
"@emotion/cache": "11.7.1",
"@emotion/react": "11.7.1",
"@emotion/styled": "11.6.0",
"@emotion/react": "^11.11.1",
"@emotion/styled": "^11.11.0",
"@material-ui/core": "^4.12.3",
"@material-ui/pickers": "^3.3.10",
"@mui/icons-material": "5.4.1",
"@mui/material": "5.4.1",
"@mui/material": "^5.13.5",
"@mui/styled-engine": "5.4.1",
"@testing-library/jest-dom": "5.16.2",
"@testing-library/react": "12.1.2",
"@testing-library/user-event": "13.5.0",
"@uiw/react-md-editor": "^3.23.3",
"axios": "^1.4.0",
"chart.js": "3.4.1",
"chroma-js": "2.4.2",
"draft-js": "^0.11.7",
"install": "^0.13.0",
"lotin-kirill": "^0.1.3",
"npm": "^9.6.7",
"prop-types": "15.8.1",
"react": "17.0.2",
"react-chartjs-2": "3.0.4",
"react-dom": "17.0.2",
"react-github-btn": "1.2.1",
"react-icons": "^4.9.0",
"react-router-dom": "6.2.1",
"react-scripts": "5.0.0",
"react-table": "7.7.0",
"react-toastify": "^9.1.3",
"stylis": "4.0.13",
"stylis-plugin-rtl": "2.1.1",
"web-vitals": "2.1.4",
"yup": "0.32.11"
},
"scripts": {
"start": "react-scripts start",
"start": "set PORT=3001 && react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
Expand Down
Binary file added public/back.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/back_sidebar.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<meta name="theme-color" content="#1A73E8" />
<link rel="apple-touch-icon" sizes="76x76" href="%PUBLIC_URL%/apple-icon.png" />
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<title>Material Dashboard 2 React</title>
<title>Tahlil24</title>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap"
Expand Down
2 changes: 1 addition & 1 deletion public/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"short_name": "Material Dashboard",
"name": "Material Dashboard 2 React",
"name": "Tahlil24",
"icons": [
{
"src": "favicon.png",
Expand Down
16 changes: 1 addition & 15 deletions src/App.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,3 @@
/**
=========================================================
* Material Dashboard 2 React - v2.1.0
=========================================================

* Product Page: https://www.creative-tim.com/product/material-dashboard-react
* Copyright 2022 Creative Tim (https://www.creative-tim.com)

Coded by www.creative-tim.com

=========================================================

* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
*/

import { useState, useEffect, useMemo } from "react";

// react-router components
Expand Down Expand Up @@ -191,6 +176,7 @@ export default function App() {
{layout === "vr" && <Configurator />}
<Routes>
{getRoutes(routes)}
<Route path="*" element={<Navigate to="/authentication/sign-in" />} />
<Route path="*" element={<Navigate to="/dashboard" />} />
</Routes>
</ThemeProvider>
Expand Down
2 changes: 2 additions & 0 deletions src/components/MDTypography/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ MDTypography.propTypes = {
"dark",
"text",
"white",
"lime",
"blue",
]),
fontWeight: PropTypes.oneOf([false, "light", "regular", "medium", "bold"]),
textTransform: PropTypes.oneOf(["none", "capitalize", "uppercase", "lowercase"]),
Expand Down
15 changes: 0 additions & 15 deletions src/examples/Breadcrumbs/index.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,3 @@
/**
=========================================================
* Material Dashboard 2 React - v2.1.0
=========================================================

* Product Page: https://www.creative-tim.com/product/material-dashboard-react
* Copyright 2022 Creative Tim (https://www.creative-tim.com)

Coded by www.creative-tim.com

=========================================================

* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
*/

// react-router-dom components
import { Link } from "react-router-dom";

Expand Down
Loading