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

Pushed from Locofy Builder #6

Open
wants to merge 1 commit into
base: checkerror
Choose a base branch
from
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
2 changes: 1 addition & 1 deletion assets.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<meta name="theme-color" content="#000" />
<meta name="description" content="Web site created using Locofy" />
<title>Buyers-DashBoard</title>
<style></style>
</head>
<body style="margin: 0; line-height: normal">
<noscript>You need to enable JavaScript to run this app.</noscript>
Expand Down
11 changes: 11 additions & 0 deletions public/phone-1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions src/components/contact-number.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import styles from "./contact-number.module.css";

const ContactNumber = () => {
return (
<div className={styles.contactnumber}>
<div className={styles.div}>+92 3155687893</div>
<img className={styles.phone1Icon} alt="" src="../phone-1.svg" />
</div>
);
};

export default ContactNumber;
29 changes: 29 additions & 0 deletions src/components/contact-number.module.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
.div {
position: absolute;
top: 0;
left: 24px;
text-transform: capitalize;
font-weight: 500;
display: inline-block;
width: 147px;
height: 25px;
}
.phone1Icon {
position: absolute;
top: 5px;
left: 0;
width: 16px;
height: 16px;
overflow: hidden;
}
.contactnumber {
position: absolute;
top: 3px;
left: 5px;
width: 194px;
height: 25px;
text-align: left;
font-size: var(--font-size-sm);
color: var(--color-black);
font-family: var(--font-poppins);
}