Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
67 changes: 60 additions & 7 deletions src/components/Connect/index.scss
Original file line number Diff line number Diff line change
@@ -1,35 +1,69 @@
.connect {
height: 380px;
min-height: 380px;
height: auto;
background-color: #0097e0;
text-align: center;
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 60px 20px;
box-sizing: border-box;

@media screen and (max-width: 768px) {
min-height: 320px;
padding: 50px 20px;
}

@media screen and (max-width: 640px) {
min-height: 280px;
padding: 40px 16px;
}

&-title {
font-weight: 700;
color: #ffffff;
font-size: 50px;
line-height: 50px;
line-height: 1.2;
padding: 0px 40px 40px;
max-width: 900px;

@media screen and (max-width: 1024px) {
font-size: 42px;
padding: 0px 20px 30px;
}

@media screen and (max-width: 768px) {
font-size: 32px;
padding: 0px 16px 24px;
}

@media screen and (max-width: 640px) {
font-size: 7vw;
font-size: 26px;
padding: 0px 10px 20px;
}
}

&-desc {
color: #ffffff;
font-size: 18px;
line-height: 18px;
padding-top: 20px;
line-height: 1.6;
padding: 20px 20px 0;
max-width: 800px;

@media screen and (max-width: 768px) {
font-size: 16px;
padding: 16px 16px 0;
}

@media screen and (max-width: 640px) {
font-size: 14px;
line-height: 2;
padding: 12px 10px 0;
line-height: 1.8;
}
}

.ant-btn {
width: 219px;
height: 60px;
Expand All @@ -42,9 +76,28 @@
font-size: 18px;
margin-top: 60px;
vertical-align: middle;
display: inline-flex;
align-items: center;
justify-content: center;
text-decoration: none;

@media screen and (max-width: 768px) {
width: 200px;
height: 54px;
font-size: 16px;
margin-top: 40px;
}

@media screen and (max-width: 640px) {
margin-top: 20px;
width: 180px;
height: 48px;
font-size: 15px;
margin-top: 30px;
}

&:hover {
background-color: #f0f0f0;
color: #0097e0;
}
}
}
131 changes: 118 additions & 13 deletions src/components/Footer/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,21 @@

.footer {
width: 100%;
height: $footer-height;
min-height: $footer-height;
height: auto;
background-color: rgba(14, 66, 183, 1);
display: flex;
justify-content: center;
color: #fff;
box-sizing: border-box;
padding: 40px 20px;

@media screen and (max-width: 768px) {
padding: 30px 16px;
}

@media screen and (max-width: 640px) {
padding-top: 40px;
padding: 30px 16px 40px;
}

&-content {
Expand All @@ -23,11 +29,26 @@
}

&-links {
height: 108px;
min-height: 80px;
height: auto;
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 8px 0;
width: 100%;
padding: 16px 0;

@media screen and (max-width: 1024px) {
gap: 12px 0;
}

@media screen and (max-width: 768px) {
flex-direction: column;
gap: 0;
padding: 10px 0;
justify-content: center;
}

@media screen and (max-width: 640px) {
display: none;
Expand All @@ -36,72 +57,156 @@

&-link {
color: var(--white);
font-size: 22px;
font-size: 20px;
font-weight: bold;
text-align: center;
text-decoration: none;
// &:not(:first-child) {
// padding-left: 55px;
// }
padding: 8px 16px;

&:hover {
opacity: 0.6;
}

@media screen and (max-width: 640px) {
font-size: 12px;
@media screen and (max-width: 1024px) {
font-size: 18px;
padding: 6px 12px;
}

@media screen and (max-width: 768px) {
font-size: 16px;
padding: 8px 10px;
}
}

.ant-divider {
background-color: var(--white);
// margin-right: 55px;

@media screen and (max-width: 768px) {
display: none;
}
}

&-desc {
display: flex;
justify-content: space-between;
align-items: flex-start;
width: 100%;
margin-top: 20px;
gap: 30px;

@media screen and (max-width: 768px) {
flex-direction: column;
align-items: center;
text-align: center;
gap: 24px;
}
}

&-left {
flex: 1;
min-width: 0;

@media screen and (max-width: 768px) {
display: flex;
flex-direction: column;
align-items: center;
}
}

&-logo-white {
width: 244px;
height: 48.67px;
background-image: url("../../images/logo_white.webp");
@include bg-100;
}

&-copyright {
width: 647px;
max-width: 647px;
width: 100%;
margin-top: 10px;

@media screen and (max-width: 768px) {
max-width: 100%;
font-size: 14px;
line-height: 1.6;
}

@media screen and (max-width: 640px) {
width: 100%;
font-size: 12px;
}
}

&-right {
flex-shrink: 0;

@media screen and (max-width: 768px) {
display: flex;
flex-direction: column;
align-items: center;
}

// Show on tablet, hide only on small mobile
@media screen and (max-width: 640px) {
display: none;
display: flex;
}
}

&-copyright,
&-email {
color: #ffffff;
font-size: 16px;
line-height: 30px;

@media screen and (max-width: 768px) {
font-size: 14px;
line-height: 1.6;
}

@media screen and (max-width: 640px) {
font-size: 12px;
}
}

&-email {
margin-top: 18px;

@media screen and (max-width: 768px) {
margin-top: 12px;
}
}

&-contacts {
display: flex;
align-items: center;

@media screen and (max-width: 480px) {
flex-direction: column;
gap: 12px;
}

&-label {
font-size: 22px;
font-weight: bold;
margin-right: 20px;

@media screen and (max-width: 768px) {
font-size: 18px;
margin-right: 16px;
}

@media screen and (max-width: 480px) {
margin-right: 0;
margin-bottom: 4px;
}
}

.anticon {
font-size: 26px;
color: #fff;

@media screen and (max-width: 768px) {
font-size: 22px;
}
}
}
}
4 changes: 2 additions & 2 deletions src/views/Home/Events.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ export const Events = () => {
{event.imgName ? (
<Image
src={`/img/${event.imgName}`}
width={504}
height={278}
preview={false}
style={{ width: '100%', height: 'auto' }}
/>
) : (
""
Expand Down
4 changes: 2 additions & 2 deletions src/views/Home/Main.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ export const Main = ({ star, fork }) => {
<div>With Low-Code</div>
</h1>
<div className="home-desc-subtitle">{t("desc")}</div>
<div>
<Space>
<div className="home-desc-buttons">
<Space wrap size={[12, 12]}>
<Button
type="primary"
shape="round"
Expand Down
Loading