Skip to content

Commit dd3f963

Browse files
authored
Merge pull request #149 from AhmedAbdelhak1/my-changesUi
Make changes on UI contact-us page
2 parents f56f2fd + 9056666 commit dd3f963

File tree

3 files changed

+27
-44
lines changed

3 files changed

+27
-44
lines changed

frontend/src/apps/main/components/footer/index.tsx

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ const useStyles = makeStyles((theme: Theme) => ({
1313
background: theme.palette.background.paper,
1414
borderTop: `1px solid ${theme.palette.background.paper}`,
1515
padding: "30px",
16-
marginTop: "auto",
1716
},
1817
copyright: {
1918
fontSize: "14px",
@@ -86,6 +85,16 @@ export const Footer: React.FC = () => {
8685
: null}
8786
</Grid>
8887
<Grid item xs={12} md={3}>
88+
<Grid item>
89+
<h1>dzCode.io</h1>
90+
<h5>dzCode, Algeria</h5>
91+
<Grid item>
92+
<a href="tel:+21367-626-1157">+213 06-76-26-11-57</a>
93+
</Grid>
94+
<Grid item>
95+
96+
</Grid>
97+
</Grid>
8998
<Typography variant="h6" className={classes.copyright}>
9099
Copyright © 2020{" "}
91100
<LinkV2

frontend/src/apps/main/scenes/contact/index.tsx

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,6 @@ const Contact = () => {
1515
</p>
1616
<ContactForm />
1717
</div>
18-
19-
<header className="contact-info">
20-
<h1>dzCode.io</h1>
21-
<h2>dzCode, Algeria</h2>
22-
<a href="tel:+21367-626-1157">+213 06-76-26-11-57</a>
23-
24-
</header>
25-
26-
<div className="right"></div>
2718
</section>
2819
);
2920
};

frontend/src/apps/main/scenes/contact/style.scss

Lines changed: 17 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
margin: 0;
2323
}
2424
a {
25+
2526
font-size: 1rem;
2627
display: block;
2728
color: #000;
@@ -69,14 +70,17 @@
6970
color: rgba($color: #000, $alpha: 0.9);
7071
padding: 0.9rem;
7172
margin: 0.5rem 0;
72-
background-color: rgba($color: #000, $alpha: 0.05);
73-
border: none;
73+
background-color: rgba($color: #fff, $alpha: 0.9);
74+
border: 1px solid #1d1d1d;
7475
margin-top: 0.6rem;
7576

7677
&:focus {
77-
background-color: rgba($color: #000, $alpha: 0.2);
78+
background-color: rgba($color:white, $alpha: 0.9);
79+
border: 1px solid #1d1d1d;
80+
border-left: 2px solid red;
81+
7882

79-
border: none;
83+
8084
color: #000;
8185
outline: none;
8286
}
@@ -95,6 +99,7 @@
9599
&:hover {
96100
background-color: rgba($color: $primary, $alpha: 1);
97101
color: #fff;
102+
transition: .5s;
98103
}
99104
}
100105
}
@@ -104,41 +109,17 @@
104109
.contact {
105110
flex-direction: row;
106111
justify-content: center;
107-
padding: 5% 0;
112+
padding: 5% 3px;
113+
background-color: rgba($color: #fff, $alpha: 0.1);
114+
margin-bottom: 5%;
115+
116+
108117

109118
header {
110119
display: block;
111120
}
112121

113-
.contact-info {
114-
background-color: rgba($color: #000, $alpha: 0.1);
115-
padding: 1rem;
116-
padding-left: 2rem;
117-
width: 300px;
118-
margin: 1rem 0;
119-
position: absolute;
120-
top: 5%;
121-
right: 1%;
122-
123-
h1 {
124-
font-size: 1rem;
125-
margin: 0.4rem 0;
126-
}
127-
h2 {
128-
font-size: 1.3rem;
129-
margin: 0.4rem 0;
130-
font-weight: bold;
131-
}
132-
a {
133-
font-size: 1.3rem;
134-
display: block;
135-
color: #1d1d1d;
136-
margin: 0.4rem 0;
137-
font-weight: bold;
138-
139-
text-decoration: none;
140-
}
141-
}
122+
142123

143124
.left {
144125
max-width: 40%;
@@ -161,9 +142,11 @@
161142

162143
input,
163144
textarea {
145+
164146
padding: 0.8rem;
165147
}
166148
}
167149
}
168150
}
169151
}
152+

0 commit comments

Comments
 (0)