Skip to content

Commit 9a9b3ec

Browse files
committed
Refactor LogoSection in Connect component for improved layout and styling
1 parent fbf1b42 commit 9a9b3ec

1 file changed

Lines changed: 21 additions & 18 deletions

File tree

src/Page/Connect.jsx

Lines changed: 21 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -957,22 +957,23 @@ const LogoSection = styled.div`
957957
margin-bottom: 3rem;
958958
animation: fadeInUp 1s ease-out;
959959
960-
img {
961-
width: 120px;
962-
height: 120px;
963-
object-fit: contain;
964-
margin-bottom: 1.5rem;
965-
filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.1));
966-
}
967-
968960
h1 {
969961
font-size: 2.5rem;
970962
font-weight: 800;
971-
background: linear-gradient(135deg, #00d4ff, #00ff88, #ff00d4);
972-
-webkit-background-clip: text;
973-
-webkit-text-fill-color: transparent;
974-
background-clip: text;
963+
color: white;
975964
margin-bottom: 1rem;
965+
display: flex;
966+
align-items: center;
967+
justify-content: center;
968+
gap: 1rem;
969+
flex-wrap: wrap;
970+
971+
img {
972+
height: 3rem;
973+
width: auto;
974+
object-fit: contain;
975+
filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.1));
976+
}
976977
}
977978
978979
p {
@@ -986,14 +987,15 @@ const LogoSection = styled.div`
986987
@media (max-width: 768px) {
987988
h1 {
988989
font-size: 2rem;
990+
gap: 0.5rem;
991+
992+
img {
993+
height: 2.5rem;
994+
}
989995
}
990996
p {
991997
font-size: 1rem;
992998
}
993-
img {
994-
width: 100px;
995-
height: 100px;
996-
}
997999
}
9981000
9991001
@keyframes fadeInUp {
@@ -1307,8 +1309,9 @@ const Connect = () => {
13071309

13081310
<Container>
13091311
<LogoSection>
1310-
<img src="/DDColorLOGO.png" alt="DevDisplay Logo" />
1311-
<h1>Connect with DevDisplay</h1>
1312+
<h1>
1313+
Connect with <img src="/DDColorLOGO.png" alt="DevDisplay" />
1314+
</h1>
13121315
<p>The First Global Platform and community for Developers to Fulfill All Their Tech Needs.</p>
13131316
</LogoSection>
13141317

0 commit comments

Comments
 (0)