Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
2022-066
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
2022-066
2022-066
Commits
d5e53ccf
Commit
d5e53ccf
authored
May 08, 2022
by
Navodya Pasqual
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contact us page added
parent
6a5cff62
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
372 additions
and
42 deletions
+372
-42
frontend/src/components/navBar/navbar.css
frontend/src/components/navBar/navbar.css
+19
-34
frontend/src/components/navBar/navbar.js
frontend/src/components/navBar/navbar.js
+9
-5
frontend/src/main/ContactUs/contactUs.js
frontend/src/main/ContactUs/contactUs.js
+64
-0
frontend/src/main/ContactUs/styles/contactUs.css
frontend/src/main/ContactUs/styles/contactUs.css
+239
-0
frontend/src/main/Home/styles/home.css
frontend/src/main/Home/styles/home.css
+1
-1
frontend/src/main/Login/login.js
frontend/src/main/Login/login.js
+3
-1
frontend/src/main/SignUp/signUp.js
frontend/src/main/SignUp/signUp.js
+4
-1
frontend/src/main/SignUp/styles/signUp.css
frontend/src/main/SignUp/styles/signUp.css
+31
-0
frontend/src/routes/pageRoutes.js
frontend/src/routes/pageRoutes.js
+2
-0
No files found.
frontend/src/components/navBar/navbar.css
View file @
d5e53ccf
...
...
@@ -108,44 +108,29 @@ a {
cursor
:
pointer
;
}
.navbar-sign
button
,
.navbar-menu_container
button
{
background-image
:
linear-gradient
(
to
right
,
#DC2424
0%
,
#4A569D
51%
,
#DC2424
100%
)}
.navbar-sign
button
,
.navbar-menu_container
button
{
padding
:
0.5rem
1rem
;
color
:
#fff
;
background
:
#fd603d
;
font-family
:
var
(
--font-family
);
font-weight
:
450
;
font-size
:
18px
;
line-height
:
25px
;
border
:
none
;
outline
:
none
;
cursor
:
pointer
;
padding
:
0.7rem
1.3rem
;
text-align
:
center
;
transition
:
0.5s
;
background-size
:
200%
auto
;
color
:
white
;
font-size
:
16px
;
font-weight
:
700
;
border-radius
:
20px
;
}
.navbar-sign
button
:hover
,
.navbar-menu_container
button
:hover
{
background-color
:
#ff3f14
;
color
:
#ffffff
;
}
display
:
block
;
border
:
none
;
}
.navbar-sign
button
:hover
,
.navbar-menu_container
button
:hover
{
-webkit-transform
:
scale
(
1.1
);
-moz-transform
:
scale
(
1.1
)
;
-o-transform
:
scale
(
1.1
)
;
.navbar-sign
button
:hover
,
.navbar-menu_container
button
:hover
{
background-position
:
right
center
;
/* change the direction of the change here */
color
:
white
;
text-decoration
:
none
;
}
.navbar-sign
button
,
.navbar-menu_container
button
{
-webkit-transform
:
scale
(
1
);
/* Browser Variations: */
-moz-transform
:
scale
(
1
);
-o-transform
:
scale
(
1
);
-webkit-transition-duration
:
0.5s
;
-moz-transition-duration
:
0.5s
;
-o-transition-duration
:
0.5s
;
}
.navbar-menu
{
margin-left
:
1rem
;
...
...
frontend/src/components/navBar/navbar.js
View file @
d5e53ccf
...
...
@@ -29,12 +29,14 @@ const Navbar = () => {
<
p
><
Link
style
=
{
isActive
(
history
,
'
#
'
)}
to
=
"
#
"
>
Video
summarizer
<
/Link></
p
>
<
p
><
Link
style
=
{
isActive
(
history
,
'
#
'
)}
to
=
"
#
"
>
Digital
human
<
/Link></
p
>
<
p
><
Link
style
=
{
isActive
(
history
,
'
/about-us
'
)}
to
=
"
/about-us
"
>
About
us
<
/Link></
p
>
<
p
><
Link
style
=
{
isActive
(
history
,
'
#
'
)}
to
=
"
#
"
>
Contact
us
<
/Link></
p
>
<
p
><
Link
style
=
{
isActive
(
history
,
'
/contact-us
'
)}
to
=
"
/contact-us
"
>
Contact
us
<
/Link></
p
>
<
/div
>
<
/div
>
<
div
className
=
"
navbar-sign
"
>
<
p
><
Link
style
=
{
isActive
(
history
,
'
/login
'
)}
to
=
"
/login
"
>
Sign
in
<
/Link></
p
>
<
Link
style
=
{
isActive
(
history
,
'
/register
'
)}
to
=
"
/register
"
>
<
button
type
=
"
button
"
>
Sign
up
<
/button
>
<
/Link
>
<
/div
>
<
div
className
=
"
navbar-menu
"
>
{
toggleMenu
...
...
@@ -47,11 +49,13 @@ const Navbar = () => {
<
p
><
Link
style
=
{
isActive
(
history
,
'
#
'
)}
to
=
"
#
"
>
Video
summarizer
<
/Link></
p
>
<
p
><
Link
style
=
{
isActive
(
history
,
'
#
'
)}
to
=
"
#
"
>
Digital
human
<
/Link></
p
>
<
p
><
Link
style
=
{
isActive
(
history
,
'
/about-us
'
)}
to
=
"
/about-us
"
>
About
us
<
/Link></
p
>
<
p
><
Link
style
=
{
isActive
(
history
,
'
#
'
)}
to
=
"
#
"
>
Contact
us
<
/Link></
p
>
<
p
><
Link
style
=
{
isActive
(
history
,
'
/contact-us
'
)}
to
=
"
/contact-us
"
>
Contact
us
<
/Link></
p
>
<
/div
>
<
div
className
=
"
navbar-menu_container-links-sign
"
>
<
p
>
Sign
in
<
/p
>
<
p
><
Link
style
=
{
isActive
(
history
,
'
/login
'
)}
to
=
"
/login
"
>
Sign
in
<
/Link></
p
>
<
Link
style
=
{
isActive
(
history
,
'
/register
'
)}
to
=
"
/register
"
>
<
button
type
=
"
button
"
>
Sign
up
<
/button
>
<
/Link
>
<
/div
>
<
/div
>
)}
...
...
frontend/src/main/ContactUs/contactUs.js
0 → 100644
View file @
d5e53ccf
import
React
,
{
Component
}
from
'
react
'
;
import
'
./styles/contactUs.css
'
;
import
{
AiFillPhone
,
AiFillMail
}
from
"
react-icons/ai
"
;
import
{
FaMapMarkerAlt
,
FaLinkedinIn
,
FaTwitter
,
FaGithub
,
FaGooglePlusG
}
from
"
react-icons/fa
"
;
class
ContactUs
extends
Component
{
render
()
{
return
(
<
div
>
<
div
className
=
'
contact
'
>
<
div
className
=
'
container contact__container
'
>
<
aside
className
=
'
contact__aside
'
>
<
h2
className
=
"
gradient_text
"
>
Contact
Us
<
/h2
>
<
p
>
If
you
have
any
feedback
or
comments
on
our
service
,
or
want
to
contact
our
administrative
staff
,
please
let
us
know
.
<
/p
>
<
ul
className
=
'
contact__details
'
>
<
li
>
<
AiFillPhone
/>
<
h5
>+
342243935
<
/h5
>
<
/li
>
<
li
>
<
AiFillMail
/>
<
h5
>
support
@
gmail
.
com
<
/h5
>
<
/li
>
<
li
>
<
FaMapMarkerAlt
/>
<
h5
>
Malabe
,
Sri
lanka
<
/h5
>
<
/li
>
<
/ul
>
<
ul
className
=
'
contact__socials
'
>
<
li
>
<
a
href
=
'
#
'
><
FaLinkedinIn
/><
/a
>
<
/li
>
<
li
>
<
a
href
=
'
#
'
><
FaTwitter
/><
/a
>
<
/li
>
<
li
>
<
a
href
=
'
#
'
><
FaGithub
/><
/a
>
<
/li
>
<
li
>
<
a
href
=
'
#
'
><
FaGooglePlusG
/><
/a
>
<
/li
>
<
/ul
>
<
/aside
>
<
form
className
=
'
contact__form
'
>
<
div
className
=
'
form__name
'
>
<
input
type
=
'
text
'
name
=
'
First Name
'
placeholder
=
'
First Name
'
required
/>
<
input
type
=
'
text
'
name
=
'
Last Name
'
placeholder
=
'
Last Name
'
required
/>
<
/div
>
<
input
type
=
'
email
'
name
=
'
Email Address
'
placeholder
=
'
Email Address
'
required
/>
<
textarea
name
=
'
Message
'
placeholder
=
'
Message
'
rows
=
'
7
'
required
><
/textarea
>
<
button
type
=
'
submit
'
className
=
'
contact_us_btn
'
>
Send
Message
<
/button
>
<
/form
>
<
/div
>
<
/div
>
<
/div
>
)
}
}
export
default
ContactUs
;
\ No newline at end of file
frontend/src/main/ContactUs/styles/contactUs.css
0 → 100644
View file @
d5e53ccf
*
{
box-sizing
:
border-box
;
padding
:
0
;
margin
:
0
;
scroll-behavior
:
smooth
;
}
body
{
background
:
-moz-radial-gradient
(
circle
at
3%
25%
,
rgba
(
0
,
40
,
83
,
1
)
0%
,
rgba
(
4
,
12
,
24
,
1
)
25%
);
/* safari 5.1+,chrome 10+ */
background
:
-webkit-radial-gradient
(
circle
at
3%
25%
,
rgba
(
0
,
40
,
83
,
1
)
0%
,
rgba
(
4
,
12
,
24
,
1
)
25%
);
/* opera 11.10+ */
background
:
-o-radial-gradient
(
circle
at
3%
25%
,
rgba
(
0
,
40
,
83
,
1
)
0%
,
rgba
(
4
,
12
,
24
,
1
)
25%
);
/* ie 10+ */
background
:
-ms-radial-gradient
(
circle
at
3%
25%
,
rgba
(
0
,
40
,
83
,
1
)
0%
,
rgba
(
4
,
12
,
24
,
1
)
25%
);
/* global 92%+ browsers support */
background
:
radial-gradient
(
circle
at
3%
25%
,
rgba
(
0
,
40
,
83
,
1
)
0%
,
rgba
(
4
,
12
,
24
,
1
)
25%
);
}
.contact__container
{
font-family
:
var
(
--font-family
);
padding
:
4rem
;
display
:
grid
;
background
:
#1f2641
;
grid-template-columns
:
40%
60%
;
gap
:
4rem
;
height
:
28rem
;
margin
:
7rem
7rem
;
border-radius
:
1rem
;
}
.contact__aside
{
padding-top
:
5rem
;
padding-bottom
:
5rem
;
padding-left
:
3rem
;
padding-right
:
3rem
;
border-radius
:
1rem
;
bottom
:
7rem
;
position
:
relative
;
}
.contact__aside
{
background
:
#546e88
;
/* ff 3.6+ */
background
:
-moz-radial-gradient
(
circle
at
30%
-100%
,
#2a2a72
0%
,
#009ffd
74%
);
/* safari 5.1+,chrome 10+ */
background
:
-webkit-radial-gradient
(
circle
at
30%
-100%
,
#2a2a72
0%
,
#009ffd
74%
);
/* opera 11.10+ */
background
:
-o-radial-gradient
(
circle
at
30%
-100%
,
#2a2a72
0%
,
#009ffd
74%
);
/* ie 10+ */
background
:
-ms-radial-gradient
(
circle
at
30%
-100%
,
#2a2a72
0%
,
#009ffd
74%
);
/* global 92%+ browsers support */
background
:
radial-gradient
(
circle
at
30%
-100%
,
#000000
0%
,
#04619f
74%
);
filter
:
drop-shadow
(
0px
4px
4px
rgba
(
0
,
0
,
0
,
0.25
));
}
.aside__image
{
width
:
12rem
;
margin-bottom
:
2rem
;
}
.contact__aside
h2
{
text-align
:
left
;
font-weight
:
800
;
font-size
:
42px
;
letter-spacing
:
-0.04em
;
margin-bottom
:
3rem
;
}
.contact__aside
.gradient_text
{
background
:
linear-gradient
(
89.97deg
,
#AE67FA
1.84%
,
#F49867
102.67%
);
background-clip
:
text
;
-webkit-background-clip
:
text
;
-webkit-text-fill-color
:
transparent
;
}
.contact__aside
p
{
font-size
:
0.9rem
;
margin-bottom
:
2rem
;
color
:
var
(
--color-text
);
}
.contact__details
li
{
display
:
flex
;
gap
:
1rem
;
align-items
:
center
;
color
:
var
(
--color-text
);
margin-bottom
:
1rem
;
}
.contact__socials
{
display
:
flex
;
gap
:
0.9rem
;
margin-top
:
3rem
;
}
.contact__socials
a
{
background
:
#040C18
;
padding
:
0.8rem
;
border-radius
:
100%
;
font-size
:
0.9rem
;
transition
:
all
400ms
ease
;
color
:
aliceblue
;
}
.contact__socials
li
{
display
:
flex
;
}
.contact__socials
a
:hover
{
background
:
transparent
;
}
.contact__form
{
display
:
flex
;
flex-direction
:
column
;
gap
:
1.2rem
;
margin-right
:
4rem
;
}
.contact__form
.form__name
{
display
:
flex
;
gap
:
1.2rem
;
}
.contact__form
input
[
type
=
'text'
]
{
width
:
50%
;
}
.contact__form
input
,
.contact__form
textarea
{
width
:
100%
;
padding
:
1rem
;
background
:
#040C18
;
color
:
white
;
border
:
none
;
}
.contact__form
.contact_us_btn
{
background-image
:
linear-gradient
(
to
right
,
#E55D87
0%
,
#5FC3E4
51%
,
#E55D87
100%
)}
.contact__form
.contact_us_btn
{
margin
:
10px
;
padding
:
15px
45px
;
text-align
:
center
;
text-transform
:
uppercase
;
transition
:
0.5s
;
background-size
:
200%
auto
;
color
:
black
;
font-weight
:
800
;
;
border-radius
:
10px
;
display
:
block
;
border
:
none
;
}
.contact__form
.contact_us_btn
:hover
{
background-position
:
right
center
;
/* change the direction of the change here */
color
:
black
;
text-decoration
:
none
;
}
@media
screen
and
(
max-width
:
1024px
)
{
.contact
{
padding-bottom
:
0
;
}
.contact__container
{
gap
:
1.5rem
;
margin-top
:
3rem
;
height
:
auto
;
padding
:
1.5rem
;
}
.contact__aside
{
width
:
auto
;
padding
:
1.5rem
;
bottom
:
0
;
}
.contact__form
{
align-self
:
center
;
margin-right
:
1.5rem
;
}
}
@media
screen
and
(
max-width
:
600px
)
{
.contact__container
{
grid-template-columns
:
1
fr
;
gap
:
3rem
;
margin-top
:
0
;
padding
:
0
;
}
.contact__form
{
margin
:
0
0.5rem
3rem
;
}
.form__name
{
flex-direction
:
column
;
}
.form__name
input
[
type
=
'text'
]
{
width
:
100%
;
}
}
.contact__container
{
background
:
var
(
--color-footer
);
/* ff 3.6+ */
background
:
-moz-radial-gradient
(
circle
at
30%
-100%
,
#042c54
25%
,
rgba
(
4
,
44
,
84
,
1
)
85%
,
rgba
(
27
,
120
,
222
,
1
)
100%
);
/* safari 5.1+,chrome 10+ */
background
:
-webkit-radial-gradient
(
circle
at
30%
-100%
,
#042c54
25%
,
rgba
(
4
,
44
,
84
,
1
)
85%
,
rgba
(
27
,
120
,
222
,
1
)
100%
);
/* opera 11.10+ */
background
:
-o-radial-gradient
(
circle
at
30%
-100%
,
#042c54
25%
,
rgba
(
4
,
44
,
84
,
1
)
85%
,
rgba
(
27
,
120
,
222
,
1
)
100%
);
/* ie 10+ */
background
:
-ms-radial-gradient
(
circle
at
30%
-100%
,
#042c54
25%
,
rgba
(
4
,
44
,
84
,
1
)
85%
,
rgba
(
27
,
120
,
222
,
1
)
100%
);
/* global 92%+ browsers support */
background
:
radial-gradient
(
circle
at
30%
-100%
,
#042c54
25%
,
rgba
(
4
,
44
,
84
,
1
)
85%
,
rgba
(
27
,
120
,
222
,
1
)
100%
);
filter
:
drop-shadow
(
0px
4px
4px
rgba
(
0
,
0
,
0
,
0.25
));
}
\ No newline at end of file
frontend/src/main/Home/styles/home.css
View file @
d5e53ccf
...
...
@@ -15,7 +15,7 @@ a {
}
.home_content
.gradient_text
{
background
:
var
(
--gradient-text
);
background
:
linear-gradient
(
89.97deg
,
#AE67FA
1.84%
,
#F49867
102.67%
);
background-clip
:
text
;
-webkit-background-clip
:
text
;
-webkit-text-fill-color
:
transparent
;
...
...
frontend/src/main/Login/login.js
View file @
d5e53ccf
...
...
@@ -3,7 +3,9 @@ import React, { Component } from 'react';
class
Login
extends
Component
{
render
()
{
return
(
<
p
>
Yet
bed
any
for
travelling
assistance
indulgence
unpleasing
.
Not
thoughts
all
exercise
blessing
.
Indulgence
way
everything
joy
alteration
boisterous
the
attachment
.
Party
we
years
to
order
allow
asked
of
.
<
/p>
<
div
className
=
"
gradient_background
"
>
<
p
>
Login
<
/p>
<
/div
>
)
}
}
...
...
frontend/src/main/SignUp/signUp.js
View file @
d5e53ccf
import
React
,
{
Component
}
from
'
react
'
;
import
'
./styles/signUp.css
'
;
class
SignUp
extends
Component
{
render
()
{
return
(
<
p
>
Yet
bed
any
for
travelling
assistance
indulgence
unpleasing
.
Not
thoughts
all
exercise
blessing
.
Indulgence
way
everything
joy
alteration
boisterous
the
attachment
.
Party
we
years
to
order
allow
asked
of
.
<
/p>
<
div
className
=
"
gradient_background
"
>
<
p
>
signUp
<
/p>
<
/div
>
)
}
}
...
...
frontend/src/main/SignUp/styles/signUp.css
0 → 100644
View file @
d5e53ccf
*
{
box-sizing
:
border-box
;
padding
:
0
;
margin
:
0
;
scroll-behavior
:
smooth
;
}
body
{
background
:
var
(
--color-bg
);
}
a
{
color
:
unset
;
text-decoration
:
none
;
}
.gradient_background
{
background
:
-moz-radial-gradient
(
circle
at
3%
25%
,
rgba
(
0
,
40
,
83
,
1
)
0%
,
rgba
(
4
,
12
,
24
,
1
)
25%
);
/* safari 5.1+,chrome 10+ */
background
:
-webkit-radial-gradient
(
circle
at
3%
25%
,
rgba
(
0
,
40
,
83
,
1
)
0%
,
rgba
(
4
,
12
,
24
,
1
)
25%
);
/* opera 11.10+ */
background
:
-o-radial-gradient
(
circle
at
3%
25%
,
rgba
(
0
,
40
,
83
,
1
)
0%
,
rgba
(
4
,
12
,
24
,
1
)
25%
);
/* ie 10+ */
background
:
-ms-radial-gradient
(
circle
at
3%
25%
,
rgba
(
0
,
40
,
83
,
1
)
0%
,
rgba
(
4
,
12
,
24
,
1
)
25%
);
/* global 92%+ browsers support */
background
:
radial-gradient
(
circle
at
3%
25%
,
rgba
(
0
,
40
,
83
,
1
)
0%
,
rgba
(
4
,
12
,
24
,
1
)
25%
);
}
\ No newline at end of file
frontend/src/routes/pageRoutes.js
View file @
d5e53ccf
...
...
@@ -7,6 +7,7 @@ import Navbar from '../components/navBar/navbar';
import
AboutUs
from
'
../main/AboutUs/aboutUs
'
;
import
SignUp
from
'
../main/SignUp/signUp
'
;
import
Login
from
'
../main/Login/login
'
;
import
ContactUs
from
'
../main/ContactUs/contactUs
'
;
function
PageRoutes
()
{
return
(
...
...
@@ -17,6 +18,7 @@ function PageRoutes() {
<
Switch
>
<
Route
path
=
"
/
"
component
=
{
Home
}
exact
/>
<
Route
path
=
"
/about-us
"
component
=
{
AboutUs
}
/
>
<
Route
path
=
"
/contact-us
"
component
=
{
ContactUs
}
/
>
<
Route
path
=
"
/register
"
component
=
{
SignUp
}
/
>
<
Route
path
=
"
/login
"
component
=
{
Login
}
/
>
<
/Switch
>
...
...
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