Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ESYTD
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Дияр Амангельды
ESYTD
Commits
c8580a4b
Commit
c8580a4b
authored
Jul 23, 2024
by
Merekeyev Dias
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changed icons in Home.tsx
parent
8f82a9df
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
38 additions
and
12 deletions
+38
-12
public/section_add.png
public/section_add.png
+0
-0
src/components/HomePage/Home.tsx
src/components/HomePage/Home.tsx
+33
-10
src/partials/Header/Header.tsx
src/partials/Header/Header.tsx
+1
-1
src/partials/Header/custom-drawer.css
src/partials/Header/custom-drawer.css
+0
-0
src/styles/Home/home.css
src/styles/Home/home.css
+4
-1
No files found.
public/section_add.png
deleted
100644 → 0
View file @
8f82a9df
638 Bytes
src/components/HomePage/Home.tsx
View file @
c8580a4b
import
{
useNavigate
}
from
'
react-router
'
;
import
'
../../styles/Home/home.css
'
;
import
add
from
"
/section_add.png
"
;
import
{
Pagination
}
from
'
antd
'
;
import
{
Button
,
Pagination
}
from
'
antd
'
;
import
{
MaterialSymbol
}
from
'
react-material-symbols
'
;
const
Home
=
()
=>
{
const
navigate
=
useNavigate
();
...
...
@@ -9,8 +9,7 @@ const Home = () => {
return
(
<
section
className=
'section'
>
<
div
className=
"add"
>
<
img
src=
{
add
}
alt=
"add_png"
onClick=
{
()
=>
navigate
(
"
/add
"
)
}
className=
'add_button'
/>
<
span
className=
'add_title'
>
Добавить
</
span
>
<
Button
href=
'/'
icon=
{
<
MaterialSymbol
icon=
'add_circle'
size=
{
20
}
color=
'#0E2B52'
/>
}
className=
'add_title'
>
Добавить
</
Button
>
</
div
>
<
div
className=
"data"
>
<
table
className=
"data-table"
>
...
...
@@ -34,8 +33,16 @@ const Home = () => {
<
td
>
ТОО “Рога и Копыта”
</
td
>
<
td
>
esutd-dev.arta.kz
</
td
>
<
td
>
активен
</
td
>
<
td
><
button
className=
"view-btn"
onClick=
{
()
=>
navigate
(
"
/edit
"
)
}
>
👁️
</
button
></
td
>
<
td
><
button
className=
"delete-btn"
>
🗑️
</
button
></
td
>
<
td
>
<
button
className=
"view-btn"
onClick=
{
()
=>
navigate
(
"
/edit
"
)
}
>
<
MaterialSymbol
icon=
'visibility'
size=
{
20
}
color=
'#0E2B52'
/>
</
button
>
</
td
>
<
td
>
<
button
className=
"delete-btn"
>
<
MaterialSymbol
icon=
'delete'
size=
{
22
}
color=
'#0E2B52'
/>
</
button
>
</
td
>
</
tr
>
<
tr
>
<
td
>
2
</
td
>
...
...
@@ -44,8 +51,16 @@ const Home = () => {
<
td
>
ТОО “Рога и Копыта”
</
td
>
<
td
>
techreg.gov.kz
</
td
>
<
td
>
заблокирован
</
td
>
<
td
><
button
className=
"view-btn"
onClick=
{
()
=>
navigate
(
"
/edit
"
)
}
>
👁️
</
button
></
td
>
<
td
><
button
className=
"delete-btn"
>
🗑️
</
button
></
td
>
<
td
>
<
button
className=
"view-btn"
onClick=
{
()
=>
navigate
(
"
/edit
"
)
}
>
<
MaterialSymbol
icon=
'visibility'
size=
{
20
}
color=
'#0E2B52'
/>
</
button
>
</
td
>
<
td
>
<
button
className=
"delete-btn"
>
<
MaterialSymbol
icon=
'delete'
size=
{
22
}
color=
'#0E2B52'
/>
</
button
>
</
td
>
</
tr
>
<
tr
>
<
td
>
3
</
td
>
...
...
@@ -54,8 +69,16 @@ const Home = () => {
<
td
>
ТОО “Рога и Копыта”
</
td
>
<
td
>
kaspi.kz
</
td
>
<
td
>
удален
</
td
>
<
td
><
button
className=
"view-btn"
onClick=
{
()
=>
navigate
(
"
/edit
"
)
}
>
👁️
</
button
></
td
>
<
td
><
button
className=
"delete-btn"
>
🗑️
</
button
></
td
>
<
td
>
<
button
className=
"view-btn"
onClick=
{
()
=>
navigate
(
"
/edit
"
)
}
>
<
MaterialSymbol
icon=
'visibility'
size=
{
20
}
color=
'#0E2B52'
/>
</
button
>
</
td
>
<
td
>
<
button
className=
"delete-btn"
>
<
MaterialSymbol
icon=
'delete'
size=
{
22
}
color=
'#0E2B52'
/>
</
button
>
</
td
>
</
tr
>
</
tbody
>
</
table
>
...
...
src/partials/Header/Header.tsx
View file @
c8580a4b
...
...
@@ -4,7 +4,7 @@ import { Menu, Button, Drawer } from 'antd';
import
type
{
MenuProps
}
from
'
antd
'
;
import
{
MaterialSymbol
}
from
'
react-material-symbols
'
;
import
styles
from
'
./Header.module.css
'
;
import
'
./drawer.css
'
;
import
'
./
custom-
drawer.css
'
;
type
MenuItem
=
Required
<
MenuProps
>
[
'
items
'
][
number
];
...
...
src/partials/Header/drawer.css
→
src/partials/Header/
custom-
drawer.css
View file @
c8580a4b
File moved
src/styles/Home/home.css
View file @
c8580a4b
...
...
@@ -13,6 +13,7 @@
margin-bottom
:
10px
;
display
:
flex
;
align-items
:
center
;
gap
:
4px
;
}
.add_button
,
...
...
@@ -31,7 +32,9 @@
.add_title
{
font-size
:
12px
;
line-height
:
18px
;
margin-left
:
2px
;
text-decoration
:
none
;
font-weight
:
700
;
margin-left
:
-10px
;
}
.data
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment