You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
grid-template-rows: auto 1fr auto; /* Header, Details, Footer */
620
+
gap: 1rem;
621
+
}
622
+
623
+
.header {
615
624
display: flex;
616
-
flex-direction: column;
617
625
justify-content: space-between;
626
+
align-items: center;
618
627
619
-
.header {
620
-
display: flex;
621
-
justify-content: space-between;
622
-
align-items: center;
623
-
624
-
.organizer {
625
-
font-size: 1rem;
626
-
font-weight: bold;
627
-
color: white;
628
-
}
628
+
.organizer {
629
+
font-size: 1.1rem;
630
+
font-weight: bold;
631
+
color: white;
629
632
}
633
+
}
630
634
631
-
.details {
632
-
margin-top: 1rem;
635
+
.details {
636
+
display: grid;
637
+
grid-template-rows: auto auto 1fr; /* Title, Description, Info */
638
+
gap: 0.8rem;
633
639
634
-
h2 {
635
-
font-size: 1.25rem;
636
-
font-weight: bold;
637
-
color: white;
638
-
margin-bottom: 0.5rem;
639
-
}
640
+
h2 {
641
+
color: white;
642
+
font-size: 1.3rem;
643
+
margin-bottom: 0.5rem;
644
+
}
640
645
641
-
p {
642
-
font-size: 0.875rem;
643
-
color: white;
644
-
margin-bottom: 1rem;
645
-
}
646
+
p {
647
+
color: white;
648
+
font-size: 0.9rem;
649
+
line-height: 1.4;
650
+
margin-bottom: 1rem; /* Added margin-bottom here */
651
+
}
646
652
647
-
.info {
648
-
display: flex;
649
-
flex-wrap: wrap;
650
-
gap: 1rem;
651
-
font-size: 0.875rem;
652
-
color: #00a6fb;
653
+
.info {
654
+
display: grid;
655
+
grid-template-columns: repeat(2, 1fr);
656
+
gap: 0.8rem;
657
+
font-size: 0.9rem;
658
+
color: #00a6fb;
653
659
654
-
span, a {
655
-
display: flex;
656
-
align-items: center;
660
+
span, a {
661
+
display: flex;
662
+
align-items: center;
657
663
658
-
svg {
659
-
margin-right: 0.5rem;
660
-
color: white;
661
-
}
664
+
svg {
665
+
margin-right: 0.5rem;
666
+
color: white;
662
667
}
663
668
}
664
669
}
670
+
}
665
671
666
-
.footer {
667
-
margin-top: 1rem;
668
-
display: flex;
669
-
justify-content: flex-start;
672
+
.footer {
673
+
display: flex;
674
+
justify-content: flex-start;
670
675
671
-
.share-button {
672
-
display: flex;
673
-
align-items: center;
674
-
gap: 0.5rem;
675
-
background-color: rgba(0, 166, 251, 0.2);
676
-
border: 1px solid #00a6fb;
677
-
border-radius: 0.5rem;
678
-
padding: 0.5rem 1rem;
679
-
color: white;
680
-
cursor: pointer;
681
-
transition: background-color 0.3s;
682
-
683
-
&:hover {
684
-
background-color: rgba(0, 166, 251, 0.4);
685
-
}
676
+
.share-button {
677
+
display: flex;
678
+
align-items: center;
679
+
gap: 0.5rem;
680
+
background-color: rgba(0, 166, 251, 0.2);
681
+
border: 1px solid #00a6fb;
682
+
border-radius: 0.5rem;
683
+
padding: 0.6rem 1.2rem;
684
+
color: white;
685
+
cursor: pointer;
686
+
transition: background-color 0.3s;
687
+
688
+
&:hover {
689
+
background-color: rgba(0, 166, 251, 0.4);
686
690
}
687
691
}
688
692
}
693
+
694
+
/* Responsive styles */
695
+
@media (min-width: 768px) {
696
+
flex-direction: row; /* Side-by-side layout for tablets and above */
697
+
.poster {
698
+
width: 350px; /* Fixed width for larger screens */
699
+
}
700
+
}
701
+
702
+
@media (min-width: 1024px) {
703
+
.details h2 {
704
+
font-size: 1.5rem; /* Larger title for desktops */
705
+
}
706
+
707
+
.details p {
708
+
font-size: 1rem; /* Larger description for desktops */
709
+
}
710
+
}
689
711
`;
690
712
691
713
constOSProgramCardComponent=({
@@ -771,7 +793,7 @@ const OSProgramList = [
771
793
{
772
794
organizer: 'Google',
773
795
title: 'Google Summer of Code 2025',
774
-
description: 'Work with open-source orgs under Google and get paid for contributing.',
796
+
description: 'Work with open-source orgs under Google and get paid for contributing. Work with open-source orgs under Google and get paid for contributing',
0 commit comments