Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a Paytm landing page clone #855

Closed
wants to merge 2 commits into from
Closed
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
1 change: 1 addition & 0 deletions Vanilla-JS-Projects/Basic/Paytm Clone/assets/apple.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions Vanilla-JS-Projects/Basic/Paytm Clone/assets/play.svg
5 changes: 5 additions & 0 deletions Vanilla-JS-Projects/Basic/Paytm Clone/assets/user-2.svg
5 changes: 5 additions & 0 deletions Vanilla-JS-Projects/Basic/Paytm Clone/assets/user-default.svg
93 changes: 93 additions & 0 deletions Vanilla-JS-Projects/Basic/Paytm Clone/css/common.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap");

:root {
--header-height: 92px;
--white: #fff;
--grey-light: #f5f7fa;
--grey: #cfcfcf;

--black: #000;
--blue-dark: #002970;
--blue: #0d3e80;
--light-blue: #00baf2;
--light-blue-2: #00afe3;
--radius: 4px;
--radius-2: 20px;
--shadow: 0 5px 20px rgb(0 41 112 / 10%);

--width: 1260px;
--width-2: 1170px;
}

* {
margin: 0;
padding: 0;
list-style-type: none;
box-sizing: border-box;
font-family: "Inter", sans-serif;
}

html,
body {
font-size: 62.5%;
}

.download-btn {
display: flex;
align-items: center;
justify-content: center;
font-size: 1.5rem;
font-weight: 500;
height: 4.4rem;
padding: 0 2.4rem;
background-color: var(--black);
color: var(--white);
border: 1px solid var(--black);
border-radius: 50px;
width: max-content;
cursor: pointer;
transition: background-color 0.2s ease, color 0.2s ease;
}

.download-btn:hover {
background-color: var(--white);
color: var(--black);
}

.download-btn a {
display: inline-flex;
cursor: pointer;
}

.download-btn a svg {
margin-left: 1.2rem;
fill: var(--white);
transition: fill 0.2s ease;
}

.download-btn:hover a svg {
fill: var(--black);
}

.secondary-btn {
display: flex;
align-items: center;
color: var(--white);
font-size: 1.7rem;
font-weight: 500;
width: fit-content;
padding: 1.6rem 2.4rem;
border-radius: 50px;
cursor: pointer;
background-color: var(--blue-dark);
transition: background-color 0.2s ease;
}

.secondary-btn:hover {
background-color: var(--light-blue);
}

.secondary-btn img {
margin-left: 1.1rem;
height: 1.8rem;
}
82 changes: 82 additions & 0 deletions Vanilla-JS-Projects/Basic/Paytm Clone/css/header.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
.header {
display: flex;
align-items: center;
height: 92px;
background-color: var(--white);
position: sticky;
top: 0;
width: 100%;
z-index: 10;

box-shadow: var(--shadow);
}

.header-container {
display: flex;
align-items: center;
width: 90%;
margin: auto;
}

.header-logo {
cursor: pointer;
}

.header-logo img {
width: 180px;
}

.header-list {
display: flex;
align-items: center;
font-size: 1.4rem;
font-weight: 400;
margin: auto;
}

.header-list-item {
margin-right: 0.5rem;
padding: 0.3rem;
transition: background-color 0.2s ease;
}

.header-list-item:hover {
background-color: var(--grey-light);
border-radius: var(--radius);
}

.header-list-item a {
padding: 1.2rem;
font-size: 1.7rem;
font-weight: 600;
color: var(--black);
text-decoration: none;
display: block;
cursor: pointer;
}

.header-btn {
display: flex;
align-items: center;
background-color: var(--light-blue);
padding: 2px 2px 2px 20px;
border: none;
min-width: 11rem;
justify-content: flex-end;
font-size: 1.5rem;
font-weight: 600;
color: var(--white);
border-radius: var(--radius-2);
cursor: pointer;
}

.header-btn:hover {
background-color: var(--blue);
}

.header-btn img {
margin-left: 0.9rem;
border-radius: 50%;
width: 34px;
height: 34px;
}
16 changes: 16 additions & 0 deletions Vanilla-JS-Projects/Basic/Paytm Clone/css/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
@import "./common.css";
@import "./header.css";
@import "./section-1.css";
@import "./section-2.css";
@import "./section-3.css";
@import "./section-4.css";
@import "./section-5.css";
@import "./section-6.css";
@import "./section-7.css";
@import "./section-8.css";
@import "./section-9.css";
@import "./section-10.css";
@import "./section-11.css";
@import "./section-12.css";
@import "./section-13.css";
@import "./section-14.css";
37 changes: 37 additions & 0 deletions Vanilla-JS-Projects/Basic/Paytm Clone/css/section-1.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
.section-1 {
width: var(--width);
margin: auto;
padding: 12rem 0;
}

.section-1-logo {
margin-bottom: 4.8rem;
height: 8rem;
}

.section-1-logo img {
max-width: 100%;
max-height: 100%;
box-shadow: var(--shadow);
}

.section-1 h1 {
font-size: 5.2rem;
font-weight: 700;
line-height: 6.5rem;
}

.section-1 p {
font-size: 2rem;
margin-bottom: 4rem;
font-weight: 500;
line-height: 3rem;
padding-top: 1rem;
}

.section-1-content-img {
position: absolute;
width: 52.8rem;
right: 0;
top: 25rem;
}
43 changes: 43 additions & 0 deletions Vanilla-JS-Projects/Basic/Paytm Clone/css/section-10.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
.section-10 {
background-color: var(--grey-light);
}

.section-10-wrapper {
display: flex;
align-items: center;
justify-content: space-between;
padding: 8rem 0;
width: var(--width-2);
margin: auto;
}

.section-10-left {
width: 433px;
}

.section-10-left img {
max-width: 100%;
}

.section-10-right {
width: 45%;
}

.section-10-right-loan {
width: 175px;
}

.section-10-right h1 {
margin-top: 4.8rem;
width: 390px;
font-size: 3.6rem;
font-weight: 700;
line-height: 4.6rem;
}

.section-10-right p {
padding: 2.4rem 0 3rem;
font-size: 1.7rem;
font-weight: 500;
line-height: 2.6rem;
}
52 changes: 52 additions & 0 deletions Vanilla-JS-Projects/Basic/Paytm Clone/css/section-11.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
.section-11 {
padding-top: 12rem;
padding-bottom: 4.8rem;
}

.section-11 h1 {
width: var(--width-2);
margin: auto;
margin-bottom: 3.5rem;
font-size: 4.8rem;
color: var(--black);
font-weight: 700;
line-height: 5rem;
}

.section-11-wrapper {
width: var(--width-2);
margin: auto;
display: flex;
align-items: center;
justify-content: space-between;
padding: 8rem 0 8rem 11.5rem;
background-color: var(--grey-light);
border-radius: 10px;
}

.section-11-left {
width: 45%;
}

.section-11-left h2 {
margin-top: 4.8rem;
width: 390px;
font-size: 3.6rem;
font-weight: 700;
line-height: 4.6rem;
}

.section-11-left p {
font-size: 1.7rem;
font-weight: 500;
line-height: 2.6rem;
padding: 2.4rem 0 3rem;
}

.section-11-right {
width: 433px;
}

.section-11-right img {
max-width: 100%;
}
41 changes: 41 additions & 0 deletions Vanilla-JS-Projects/Basic/Paytm Clone/css/section-12.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
.section-12 {
padding-bottom: 4.8rem;
}

.section-12-wrapper {
width: var(--width-2);
margin: auto;
display: flex;
align-items: center;
justify-content: space-between;
padding: 8rem 0 8rem 11.5rem;
background-color: var(--grey-light);
border-radius: 10px;
}

.section-12-left {
width: 45%;
}

.section-12-left h2 {
margin-top: 4.8rem;
width: 390px;
font-size: 3.6rem;
font-weight: 700;
line-height: 4.6rem;
}

.section-12-left p {
font-size: 1.7rem;
font-weight: 500;
line-height: 2.6rem;
padding: 2.4rem 0 3rem;
}

.section-12-right {
width: 433px;
}

.section-12-right img {
max-width: 100%;
}
Loading