Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
C
classwork-51
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Нұрасыл Қайратұлы
classwork-51
Commits
fd54d3c4
Commit
fd54d3c4
authored
Nov 28, 2024
by
Нұрасыл Қайратұлы
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add lesson-52
parent
ce16a05d
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
77 additions
and
15 deletions
+77
-15
GuestForm.scss
src/components/GuestForm/GuestForm.scss
+0
-0
GuestForm.tsx
src/components/GuestForm/GuestForm.tsx
+11
-0
SendBtn.scss
src/components/SendBtn/SendBtn.scss
+17
-0
SendBtn.tsx
src/components/SendBtn/SendBtn.tsx
+15
-0
App.scss
src/containers/App.scss
+17
-1
App.tsx
src/containers/App.tsx
+17
-8
index.scss
src/index.scss
+0
-6
No files found.
src/components/GuestForm/GuestForm.scss
0 → 100644
View file @
fd54d3c4
src/components/GuestForm/GuestForm.tsx
0 → 100644
View file @
fd54d3c4
import
'./GuestForm.scss'
const
GuestForm
=
()
=>
{
return
(
<
form
className=
'GuestForm'
>
<
input
/>
</
form
>
)
}
export
default
GuestForm
\ No newline at end of file
src/components/SendBtn/SendBtn.scss
0 → 100644
View file @
fd54d3c4
.SendBtn
{
background-color
:
antiquewhite
;
border
:
none
;
border-radius
:
10px
;
height
:
35px
;
width
:
150px
;
color
:
rgb
(
168
,
75
,
75
);
cursor
:
pointer
;
transition
:
1s
;
&
:hover
{
width
:
160px
;
height
:
38px
;
transition
:
1s
;
font-size
:
18px
;
}
}
\ No newline at end of file
src/components/SendBtn/SendBtn.tsx
0 → 100644
View file @
fd54d3c4
import
'./SendBtn.scss'
type
TProps
=
{
onClick
:
VoidFunction
}
const
SendBtn
=
({
onClick
}:
TProps
)
=>
{
return
(
<
button
className=
'SendBtn'
onClick=
{
onClick
}
>
Позвать гостей
</
button
>
)
}
export
default
SendBtn
\ No newline at end of file
src/containers/App.scss
View file @
fd54d3c4
...
@@ -3,6 +3,22 @@
...
@@ -3,6 +3,22 @@
height
:
100vh
;
height
:
100vh
;
width
:
100vw
;
width
:
100vw
;
display
:
flex
;
display
:
flex
;
justify-content
:
space-evenly
;
flex-direction
:
column
;
justify-content
:
center
;
align-items
:
center
;
align-items
:
center
;
&
.Lists
{
width
:
90%
;
height
:
80%
;
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
}
&
.Controllers
{
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
width
:
90%
;
}
}
}
\ No newline at end of file
src/containers/App.tsx
View file @
fd54d3c4
import
{
useState
}
from
"react"
import
{
useState
}
from
"react"
import
List
from
"../components/List/List"
import
List
from
"../components/List/List"
import
SendBtn
from
"../components/SendBtn/SendBtn"
import
GuestForm
from
"../components/GuestForm/GuestForm"
import
'./App.scss'
import
'./App.scss'
function
App
()
{
function
App
()
{
...
@@ -8,6 +10,7 @@ function App() {
...
@@ -8,6 +10,7 @@ function App() {
return
(
return
(
<
div
className=
"App"
>
<
div
className=
"App"
>
<
div
className=
"Lists"
>
<
List
<
List
title=
"Список основных гостей"
title=
"Список основных гостей"
list=
{
guestList
}
list=
{
guestList
}
...
@@ -17,6 +20,12 @@ function App() {
...
@@ -17,6 +20,12 @@ function App() {
list=
{
inComeList
}
list=
{
inComeList
}
/>
/>
</
div
>
</
div
>
<
div
className=
"Controllers"
>
<
GuestForm
/>
<
SendBtn
onClick=
{
()
=>
{}
}
/>
</
div
>
</
div
>
)
)
}
}
...
...
src/index.scss
View file @
fd54d3c4
...
@@ -5,10 +5,4 @@
...
@@ -5,10 +5,4 @@
::-webkit-scrollbar
{
::-webkit-scrollbar
{
display
:
none
;
display
:
none
;
}
}
\ No newline at end of file
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