-
{
- if (activeIndex) {
- setActiveIndex(activeIndex - 1);
- }
- }}
- className="arrow"
- />
-
+
+
+
{"Persistent Top Talent 2023-24"}
+
+
+
+
{"Codiant Star Performer 2020"}
+
+
+
+
{"Bravo Individual Award"}
+
+
+
+
{"Udemy Learning Certificate"}
+
+
+
+
{"Open Source Contributor"}
+
+
+
+
{"2K Reputation Stackoverflow"}
-
-
{
- if (activeIndex < gridImage.length - 1) {
- setActiveIndex(activeIndex + 1);
- }
- }}
- className="arrow"
- />
-
-
-
{gridImage[activeIndex].text}
-
-
- {gridImage.map((item, index) => {
- return (
-
- );
- })}
-
+
);
-}
+};
+
+export default Achievement;
diff --git a/src/components/Blog.scss b/src/components/Blog.scss
index 5b26824..1b8cfce 100644
--- a/src/components/Blog.scss
+++ b/src/components/Blog.scss
@@ -1,7 +1,6 @@
@import "../res/theme/variable";
:root {
--white: #{$white};
- --gray: #{$gray};
--blood-red: #{$blood-red};
}
/* Extra small devices (phones, 600px and down) */
@@ -11,55 +10,79 @@
.blog-container {
background-color: #000;
padding: 10px;
- }
- .sixth-title {
- color: var(--white);
- padding: 2rem;
- font-weight: bold;
- font-size: 2rem;
+ box-sizing: border-box;
}
.blog-list {
+ padding-top: 3rem;
justify-content: center;
- align-items: center;
- display: block;
- padding-bottom: 5rem;
- padding-left: 1.5rem;
- grid-template-columns: 30rem 30rem 30rem 30rem;
- list-style: none;
- }
- .blog-text-container {
- margin: 2rem;
- padding-top: 2rem;
+ display: grid;
+ box-sizing: border-box;
}
.blog-title {
- margin-top: 3rem;
color: var(--white);
+ padding-top: 3rem;
font-weight: bold;
- font-size: 1.2rem;
+ font-size: 2.5rem;
}
-
- .blog-content {
- margin-top: 3rem;
- font-size: 0.8rem;
+ .blog-text {
+ padding-inline: 2rem;
color: var(--white);
+ font-weight: bold;
+ font-size: 1rem;
}
- .blog-button-container {
- display: flex;
- justify-content: center;
- align-self: center;
+ .blog-sub-text {
+ padding-inline: 2rem;
+ margin-bottom: auto;
+ color: var(--white);
+ font-size: 0.8rem;
}
- .blog-image {
- margin: 1.5rem;
- height: 24rem;
- width: 20rem;
- font-weight: 500;
- font-size: 0.9rem;
- border-radius: 2rem;
- background-repeat: no-repeat;
+ .blog-image1 {
+ align-content: flex-end;
+ height: 18rem;
+ width: 18rem;
+ margin-bottom: 2rem;
+
+ border-radius: 0.5rem;
+ background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), #000),
+ url("../res/react-native.png") no-repeat;
+ background-position: center;
+ background-size: cover;
+ }
+ .blog-image2 {
+ align-content: flex-end;
+ margin-bottom: 2rem;
+
+ height: 18rem;
+ width: 18rem;
+ border-radius: 0.5rem;
+ background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), #000),
+ url("../res/google-sign-in.png") no-repeat;
+ background-position: center;
+ background-size: cover;
+ }
+ .blog-image3 {
+ align-content: flex-end;
+ margin-bottom: 2rem;
+
+ height: 18rem;
+ width: 18rem;
+ border-radius: 0.5rem;
+ background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), #000),
+ url("../res/expo-cli.png") no-repeat;
+ background-position: center;
+ background-size: cover;
+ }
+ .blog-image4 {
+ align-content: flex-end;
+ margin-bottom: 2rem;
+ height: 18rem;
+ width: 18rem;
+ border-radius: 0.5rem;
+ background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), #000),
+ url("../res/google-sign-in.png") no-repeat;
background-position: center;
background-size: cover;
- background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4), #000);
}
}
@@ -69,65 +92,77 @@
.blog-container {
background-color: #000;
padding: 10px;
- }
- .sixth-title {
- color: var(--white);
- padding-top: 4rem;
- font-weight: bold;
- font-size: 3rem;
+ box-sizing: border-box;
}
.blog-list {
- justify-content: center;
- display: flex;
- margin-inline: 1rem;
- grid-template-columns: 30rem 30rem 30rem 30rem;
- list-style: none;
- }
- .blog-text-container {
- margin: 2rem;
- padding: 0;
+ padding-top: 4rem;
+ display: inline-grid;
+ grid-template-columns: 1fr 1fr;
+ box-sizing: border-box;
}
.blog-title {
- margin-top: 3rem;
color: var(--white);
+ padding-top: 6rem;
font-weight: bold;
- font-size: 1.2rem;
+ font-size: 2.5rem;
}
+ .blog-text {
+ padding-inline: 2rem;
- .blog-content {
- margin-top: 3rem;
- font-size: 0.8rem;
color: var(--white);
+ font-weight: bold;
+ font-size: 1rem;
}
- .blog-button-container {
- display: flex;
- justify-content: center;
- align-self: center;
+ .blog-sub-text {
+ padding-inline: 2rem;
+ margin-bottom: auto;
+ color: var(--white);
+ font-size: 0.8rem;
}
- .blog-button {
- color: var(--blood-red);
- font-weight: 500;
- font-size: 0.9rem;
+
+ .blog-image1 {
margin: 2rem;
- margin-bottom: 4rem;
- padding-inline: 1rem;
- padding-block: 0.8rem;
+ height: 18rem;
+ width: 18rem;
+ align-content: flex-end;
border-radius: 0.5rem;
- border-width: 2px;
- border-color: var(--blood-red);
- border-style: solid;
- }
- .blog-image {
- margin: 1.5rem;
- height: 24rem;
- width: 20rem;
- font-weight: 500;
- font-size: 0.9rem;
- border-radius: 2rem;
- background-repeat: no-repeat;
+ background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), #000),
+ url("../res/react-native.png") no-repeat;
+ background-position: center;
+ background-size: cover;
+ }
+ .blog-image2 {
+ align-content: flex-end;
+ margin: 2rem;
+ height: 18rem;
+ width: 18rem;
+ border-radius: 0.5rem;
+ background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), #000),
+ url("../res/google-sign-in.png") no-repeat;
+ background-position: center;
+ background-size: cover;
+ }
+ .blog-image3 {
+ align-content: flex-end;
+ margin: 2rem;
+ height: 18rem;
+ width: 18rem;
+ border-radius: 0.5rem;
+ background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), #000),
+ url("../res/expo-cli.png") no-repeat;
+ background-position: center;
+ background-size: cover;
+ }
+ .blog-image4 {
+ align-content: flex-end;
+ margin: 2rem;
+ height: 18rem;
+ width: 18rem;
+ border-radius: 0.5rem;
+ background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), #000),
+ url("../res/google-sign-in.png") no-repeat;
background-position: center;
background-size: cover;
- background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4), #000);
}
}
@@ -137,130 +172,154 @@
.blog-container {
background-color: #000;
padding: 10px;
- }
- .sixth-title {
- color: var(--white);
- padding-top: 4rem;
- font-weight: bold;
- font-size: 2.2rem;
+ box-sizing: border-box;
}
.blog-list {
+ padding-top: 6rem;
justify-content: center;
display: flex;
- margin-inline: 1rem;
- grid-template-columns: 30rem 30rem 30rem 30rem;
- list-style: none;
- }
- .blog-text-container {
- margin: 2rem;
- padding: 0;
+ box-sizing: border-box;
}
.blog-title {
- margin-top: 3rem;
color: var(--white);
+ padding-top: 6rem;
font-weight: bold;
- font-size: 1.2rem;
+ font-size: 2.5rem;
}
+ .blog-text {
+ padding-inline: 2rem;
- .blog-content {
- margin-top: 3rem;
- font-size: 0.8rem;
color: var(--white);
+ font-weight: bold;
+ font-size: 1rem;
}
- .blog-button-container {
- display: flex;
- justify-content: center;
- align-self: center;
+ .blog-sub-text {
+ padding-inline: 2rem;
+ margin-bottom: auto;
+ color: var(--white);
+ font-size: 0.8rem;
}
- .blog-button {
- color: var(--blood-red);
- font-weight: 500;
- font-size: 0.9rem;
- margin: 2rem;
- margin-bottom: 4rem;
- padding-inline: 1rem;
- padding-block: 0.8rem;
+
+ .blog-image1 {
+ align-content: flex-end;
+ height: 16rem;
+ width: 16rem;
+ border-radius: 0.5rem;
+ background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), #000),
+ url("../res/react-native.png") no-repeat;
+ background-position: center;
+ background-size: cover;
+ }
+ .blog-image2 {
+ align-content: flex-end;
+ margin-left: 2rem;
+ height: 16rem;
+ width: 16rem;
+ border-radius: 0.5rem;
+ background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), #000),
+ url("../res/google-sign-in.png") no-repeat;
+ background-position: center;
+ background-size: cover;
+ }
+ .blog-image3 {
+ align-content: flex-end;
+ margin-left: 2rem;
+ height: 16rem;
+ width: 16rem;
+ border-radius: 0.5rem;
+ background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), #000),
+ url("../res/expo-cli.png") no-repeat;
+ background-position: center;
+ background-size: cover;
+ }
+ .blog-image4 {
+ align-content: flex-end;
+ margin-left: 2rem;
+ height: 16rem;
+ width: 16rem;
border-radius: 0.5rem;
- border-width: 2px;
- border-color: var(--blood-red);
- border-style: solid;
- }
- .blog-image {
- margin: 1.5rem;
- height: 24rem;
- width: 20rem;
- font-weight: 500;
- font-size: 0.9rem;
- border-radius: 2rem;
- background-repeat: no-repeat;
+ background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), #000),
+ url("../res/google-sign-in.png") no-repeat;
background-position: center;
background-size: cover;
- background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4), #000);
}
}
/* Extra large devices (large laptops and desktops, 1200px and up) */
/* Big Monitors */
@media only screen and (min-width: 1281px) {
- .sixth-title {
- color: var(--white);
- padding-top: 6rem;
- font-weight: bold;
- font-size: 3rem;
- }
.blog-container {
background-color: #000;
padding: 10px;
+ box-sizing: border-box;
}
.blog-list {
+ padding-top: 6rem;
justify-content: center;
display: flex;
- margin-inline: 1rem;
- grid-template-columns: 30rem 30rem 30rem 30rem;
- list-style: none;
- }
- .blog-text-container {
- margin: 2rem;
- padding: 0;
+ box-sizing: border-box;
}
.blog-title {
- margin-top: 3rem;
color: var(--white);
+ padding-top: 6rem;
font-weight: bold;
- font-size: 1.2rem;
+ font-size: 2.5rem;
}
+ .blog-text {
+ padding-inline: 2rem;
- .blog-content {
- margin-top: 3rem;
- font-size: 0.8rem;
color: var(--white);
+ font-weight: bold;
+ font-size: 1rem;
}
- .blog-button-container {
- display: flex;
- justify-content: center;
- align-self: center;
+ .blog-sub-text {
+ padding-inline: 2rem;
+ margin-bottom: auto;
+ color: var(--white);
+ font-size: 0.8rem;
}
- .blog-button {
- color: var(--blood-red);
- font-weight: 500;
- font-size: 0.9rem;
- margin: 2rem;
- margin-bottom: 4rem;
- padding-inline: 1rem;
- padding-block: 0.8rem;
+
+ .blog-image1 {
+ align-content: flex-end;
+ height: 18rem;
+ width: 18rem;
+ border-radius: 0.5rem;
+ background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), #000),
+ url("../res/react-native.png") no-repeat;
+ background-position: center;
+ background-size: cover;
+ }
+ .blog-image2 {
+ align-content: flex-end;
+ margin-left: 2rem;
+ height: 18rem;
+ width: 18rem;
+ border-radius: 0.5rem;
+ background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), #000),
+ url("../res/google-sign-in.png") no-repeat;
+ background-position: center;
+ background-size: cover;
+ }
+ .blog-image3 {
+ align-content: flex-end;
+ margin-left: 2rem;
+ height: 18rem;
+ width: 18rem;
+ border-radius: 0.5rem;
+ background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), #000),
+ url("../res/expo-cli.png") no-repeat;
+ background-position: center;
+ background-size: cover;
+ }
+ .blog-image4 {
+ align-content: flex-end;
+ margin-left: 2rem;
+ height: 18rem;
+ width: 18rem;
border-radius: 0.5rem;
- border-width: 2px;
- border-color: var(--blood-red);
- border-style: solid;
- }
- .blog-image {
- margin: 1.5rem;
- height: 24rem;
- width: 20rem;
- border-radius: 2rem;
- background-repeat: no-repeat;
+ background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), #000),
+ url("../res/google-sign-in.png") no-repeat;
background-position: center;
background-size: cover;
- background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4), #000);
}
}
diff --git a/src/components/Blog.tsx b/src/components/Blog.tsx
index 6d76b9d..071a189 100644
--- a/src/components/Blog.tsx
+++ b/src/components/Blog.tsx
@@ -26,33 +26,42 @@ const gridImage = [
export default function MyBlogs() {
return (
-
-
Blog
-
+
+ Blog
- {gridImage.map((item, index) => {
- return (
-
-
-
{item.text}
-
{item.subTitle}
-
-
- );
- })}
+
+
{"What is React Native?"}
+
+ {
+ "React Native helps to develop cross-platform applications for android and iOS."
+ }
+
+
+
+
+ {"Sign In with Google in the React Expo"}
+
+
+ {"Explain Google sign integration for react native expo"}
+
+
+
+
{"Expo CLI vs React Native CLI"}
+
+ {
+ "There are two popular ways to create a React Native app- Expo CLI or React Native CLI"
+ }
+
+
+
+
+ {"Coding Best Practices for React Native"}
+
+
+ {"The purpose of this document is to detail the code conventions"}
+
+
-
+
);
}
diff --git a/src/components/Contact.scss b/src/components/Contact.scss
index 9a79e91..ab4b6e0 100644
--- a/src/components/Contact.scss
+++ b/src/components/Contact.scss
@@ -1,80 +1,62 @@
@import "../res/theme/variable";
:root {
--white: #{$white};
- --gray: #{$gray};
- --green: #{$green};
- --dark-green: #{$dark-green};
+ --red: #{#ff004f};
+ --black: #{#000000};
}
/* Extra small devices (phones, 600px and down) */
/* Small devices (portrait tablets and large phones, 600px and up) */
/* Mobile Devices */
@media (min-width: 360px) and (max-width: 600px) {
- .seventh-background {
- padding: 10px;
- background-color: black;
+ .contact-container {
+ justify-content: center;
+ display: grid;
+ padding-top: 40px;
+ background-color: var(--black);
}
- .seventh-title {
- color: var(--white);
- padding-top: 5rem;
+ .contact-title {
font-weight: bold;
- font-size: 2.2rem;
- }
- .seventh-subtitle {
color: var(--white);
- font-size: 1rem;
+ font-size: 2.5rem;
+ text-align: left;
+ margin-bottom: 2rem;
}
- .touch-container {
- display: inline;
- justify-content: center;
+ .email-icon {
+ width: 45px;
+ height: 45px;
+ background-size: contain;
}
- .location-margin {
- margin: 2rem;
+ .location-icon {
+ width: 45px;
+ height: 45px;
+ background-size: contain;
}
- .pin-image {
- width: 1.5rem;
- height: 1.5rem;
+ .detail {
+ justify-content: flex-start;
+ display: flex;
+ margin-block-end: 2rem;
+ align-items: center;
}
- .address-text {
- font-size: 0.9rem;
- color: var(--white);
- }
.name-input {
- width: 15rem;
+ width: 18rem;
height: 2.5rem;
padding-inline: 1rem;
- border-left-width: 0rem;
- border-right-width: 0rem;
- border-top-width: 0rem;
+
margin-bottom: 1rem;
- border-bottom-width: 0.2rem;
- background-color: var(--white);
- border-bottom-color: var(--white);
}
.email-input {
color: var(--white);
- width: 15rem;
+ width: 18rem;
height: 2.5rem;
padding-inline: 1rem;
- border-left-width: 0rem;
- border-right-width: 0rem;
- border-top-width: 0rem;
margin-bottom: 1rem;
- border-bottom-width: 0.2rem;
- background-color: var(--white);
- border-bottom-color: var(--white);
}
.message-input {
- width: 15rem;
- height: 5rem;
+ width: 18rem;
+ height: 9rem;
padding-inline: 1rem;
- border-left-width: 0rem;
- border-right-width: 0rem;
- border-top-width: 0rem;
margin-bottom: 2rem;
- border-bottom-width: 0.2rem;
- background-color: var(--white);
- border-bottom-color: var(--white);
}
.submit-container {
display: flex;
@@ -87,84 +69,84 @@
font-size: 1rem;
margin-bottom: 5rem;
background-color: #ff004f;
- width: 17rem;
+ width: 20rem;
padding-block: 0.8rem;
border-radius: 0.5rem;
- border-width: 2px;
- border-color: #ff004f;
- border-style: solid;
+ }
+
+ .text-div {
+ display: inline-block;
+ text-align: left;
+ margin-left: 1rem;
+ }
+ .detail-title {
+ font-weight: bold;
+ color: var(--white);
+ font-size: 1.5rem;
+ text-align: left;
+ margin-bottom: 10px;
+ }
+ .detail-value {
+ color: var(--white);
+ font-size: 1rem;
+ text-align: left;
+ margin-bottom: 10px;
}
}
/* Medium devices (landscape tablets, 768px and up) */
/* Tablets iPads (Portrait) */
@media (min-width: 600px) and (max-width: 1024px) {
- .seventh-background {
- padding: 10px;
- background-color: black;
+ .contact-container {
+ justify-content: space-around;
+ display: flex;
+ padding-top: 80px;
+ padding-left: 2rem;
+ background-color: var(--black);
}
- .seventh-title {
- color: var(--white);
- padding-top: 5rem;
+ .contact-title {
font-weight: bold;
- font-size: 2.2rem;
- }
- .seventh-subtitle {
color: var(--white);
- font-size: 1rem;
+ font-size: 2.5rem;
+ text-align: left;
+ margin-bottom: 2rem;
}
- .touch-container {
- display: flex;
- justify-content: center;
+ .email-icon {
+ width: 45px;
+ height: 45px;
+ background-size: contain;
}
- .location-margin {
- margin: 2rem;
+ .location-icon {
+ width: 45px;
+ height: 45px;
+ background-size: contain;
}
- .pin-image {
- width: 2rem;
- height: 2rem;
+ .detail {
+ display: flex;
+ margin-bottom: 1rem;
+ align-items: center;
}
- .address-text {
- font-size: 0.9rem;
- color: var(--white);
- }
.name-input {
- width: 40rem;
+ width: 25rem;
height: 2.5rem;
padding-inline: 1rem;
- border-left-width: 0rem;
- border-right-width: 0rem;
- border-top-width: 0rem;
+
margin-bottom: 1rem;
- border-bottom-width: 0.2rem;
- background-color: var(--white);
- border-bottom-color: var(--white);
}
.email-input {
color: var(--white);
- width: 40rem;
+ width: 25rem;
height: 2.5rem;
padding-inline: 1rem;
- border-left-width: 0rem;
- border-right-width: 0rem;
- border-top-width: 0rem;
margin-bottom: 1rem;
- border-bottom-width: 0.2rem;
- background-color: var(--white);
- border-bottom-color: var(--white);
}
.message-input {
- width: 40rem;
+ width: 25rem;
height: 9rem;
padding-inline: 1rem;
- border-left-width: 0rem;
- border-right-width: 0rem;
- border-top-width: 0rem;
+
margin-bottom: 2rem;
- border-bottom-width: 0.2rem;
- background-color: var(--white);
- border-bottom-color: var(--white);
}
.submit-container {
display: flex;
@@ -177,47 +159,63 @@
font-size: 1rem;
margin-bottom: 5rem;
background-color: #ff004f;
- width: 17rem;
+ width: 27rem;
padding-block: 0.8rem;
border-radius: 0.5rem;
- border-width: 2px;
- border-color: #ff004f;
- border-style: solid;
}
-}
-/* Large devices (laptops/desktops, 992px and up) */
-/* Laptops and Desktops */
-@media (min-width: 1025px) and (max-width: 1280px) {
- .seventh-background {
- padding: 10px;
- background-color: black;
+ .text-div {
+ display: inline-block;
+ text-align: left;
+ margin-left: 1rem;
}
- .seventh-title {
- color: var(--white);
- padding-top: 5rem;
+ .detail-title {
font-weight: bold;
- font-size: 2.2rem;
+ color: var(--white);
+ font-size: 1.5rem;
+ text-align: left;
+ margin-bottom: 10px;
}
- .seventh-subtitle {
+ .detail-value {
color: var(--white);
font-size: 1rem;
+ text-align: left;
+ margin-bottom: 10px;
}
- .touch-container {
+}
+
+/* Large devices (laptops/desktops, 992px and up) */
+/* Laptops and Desktops */
+@media (min-width: 1025px) and (max-width: 1280px) {
+ .contact-container {
+ justify-content: space-around;
display: flex;
- justify-content: center;
+ padding-top: 80px;
+ background-color: var(--black);
}
- .location-margin {
- margin: 2rem;
+ .contact-title {
+ font-weight: bold;
+ color: var(--white);
+ font-size: 2.5rem;
+ text-align: left;
+ margin-bottom: 2rem;
}
- .pin-image {
- width: 2rem;
- height: 2rem;
+ .email-icon {
+ width: 45px;
+ height: 45px;
+ background-size: contain;
}
- .address-text {
- font-size: 0.9rem;
- color: var(--white);
+ .location-icon {
+ width: 45px;
+ height: 45px;
+ background-size: contain;
+ }
+ .detail {
+ display: flex;
+ margin-bottom: 1rem;
+ align-items: center;
}
+
.name-input {
width: 40rem;
height: 2.5rem;
@@ -266,84 +264,86 @@
font-size: 1rem;
margin-bottom: 5rem;
background-color: #ff004f;
- width: 42rem;
+ width: 40rem;
padding-block: 0.8rem;
border-radius: 0.5rem;
border-width: 2px;
border-color: #ff004f;
border-style: solid;
}
+
+ .text-div {
+ display: inline-block;
+ text-align: left;
+ margin-left: 1rem;
+ }
+ .detail-title {
+ font-weight: bold;
+ color: var(--white);
+ font-size: 1.5rem;
+ text-align: left;
+ margin-bottom: 10px;
+ }
+ .detail-value {
+ color: var(--white);
+ font-size: 1rem;
+ text-align: left;
+ margin-bottom: 10px;
+ }
}
/* Extra large devices (large laptops and desktops, 1200px and up) */
/* Big Monitors */
@media only screen and (min-width: 1281px) {
- .seventh-background {
- padding: 10px;
- background-color: black;
+ .contact-container {
+ justify-content: space-between;
+ display: flex;
+ padding-top: 80px;
+ padding-inline: 6rem;
+ background-color: var(--black);
}
- .seventh-title {
- color: var(--white);
- padding-top: 5rem;
+ .contact-title {
font-weight: bold;
- font-size: 3rem;
- }
- .seventh-subtitle {
color: var(--white);
- font-size: 1rem;
+ font-size: 2.5rem;
+ text-align: left;
+ margin-bottom: 2rem;
}
- .touch-container {
- display: flex;
- justify-content: center;
+ .email-icon {
+ width: 45px;
+ height: 45px;
+ background-size: contain;
}
- .location-margin {
- margin: 2rem;
+ .location-icon {
+ width: 45px;
+ height: 45px;
+ background-size: contain;
}
- .pin-image {
- width: 2rem;
- height: 2rem;
+ .detail {
+ display: flex;
+ margin-bottom: 1rem;
+ align-items: center;
}
- .address-text {
- font-size: 0.9rem;
- color: var(--white);
- }
.name-input {
width: 40rem;
height: 2.5rem;
+ margin-top: 2rem;
padding-inline: 1rem;
- border-left-width: 0rem;
- border-right-width: 0rem;
- border-top-width: 0rem;
margin-bottom: 1rem;
- border-bottom-width: 0.2rem;
- background-color: var(--white);
- border-bottom-color: var(--white);
}
.email-input {
color: var(--white);
width: 40rem;
height: 2.5rem;
padding-inline: 1rem;
- border-left-width: 0rem;
- border-right-width: 0rem;
- border-top-width: 0rem;
margin-bottom: 1rem;
- border-bottom-width: 0.2rem;
- background-color: var(--white);
- border-bottom-color: var(--white);
}
.message-input {
width: 40rem;
height: 9rem;
padding-inline: 1rem;
- border-left-width: 0rem;
- border-right-width: 0rem;
- border-top-width: 0rem;
margin-bottom: 2rem;
- border-bottom-width: 0.2rem;
- background-color: var(--white);
- border-bottom-color: var(--white);
}
.submit-container {
display: flex;
@@ -356,11 +356,27 @@
font-size: 1rem;
margin-bottom: 5rem;
background-color: #ff004f;
- width: 40rem;
- padding-block: 0.8rem;
+ width: 42rem;
+ padding-block: 1rem;
border-radius: 0.5rem;
- border-width: 2px;
- border-color: #ff004f;
- border-style: solid;
+ }
+
+ .text-div {
+ display: inline-block;
+ text-align: left;
+ margin-left: 1rem;
+ }
+ .detail-title {
+ font-weight: bold;
+ color: var(--white);
+ font-size: 1.5rem;
+ text-align: left;
+ margin-bottom: 10px;
+ }
+ .detail-value {
+ color: var(--white);
+ font-size: 1rem;
+ text-align: left;
+ margin-bottom: 10px;
}
}
diff --git a/src/components/Contact.tsx b/src/components/Contact.tsx
index 8e1267a..bf2841b 100644
--- a/src/components/Contact.tsx
+++ b/src/components/Contact.tsx
@@ -1,40 +1,39 @@
import React from "react";
-import "./Contact.scss";
-export default function ContactUs() {
- return (
-