Skip to content
Closed
Show file tree
Hide file tree
Changes from 5 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
3 changes: 3 additions & 0 deletions src/collections/programs/hacktoberfest-2023/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ darkthumbnail: ./hacktoberfest2023.png
date: 2023-09-29
eurl: /community/calendar
type: Event
permalink: "hacktoberfest/2023"
program: "Hacktoberfest"
programSlug: "hacktoberfest"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Revert this changes

speakers: ["Gaurav Chadha", "Pranav Singh", "Uzair Shaikh", "Yash Sharma", "Anita Ihuman", "Saurabh Soni", "Ritik Saxena", "Senali Dilumika", "Sudhanshu Dasgupta", "Rex Joshua Ibegbu"]
published: true
upcoming: false
Expand Down
40 changes: 31 additions & 9 deletions src/components/Call-To-Actions/CTA_FullWidth/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,30 +65,52 @@ const CTA_FullWidthWrapper = styled.div`

@media screen and (max-width: 699px) {
display: block;
width: 18rem;
height: 18rem;
width: 90%;
max-width: 22rem;
height: auto;
min-height: 18rem;
margin: 1.5rem auto;
border-radius: 0.25rem;
position: relative;
overflow: hidden;

img {
width: 18rem;
height: 18rem;
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
opacity: 0.35;
border-radius: 0.25rem;
object-fit: contain;
}

.cta-content {
position: absolute;
height: 18rem;
display: block;
width: 18rem;
position: relative;
height: auto;
min-height: 18rem;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
width: 100%;
background: none;
padding: 4rem 1rem;
padding: 2rem 1rem;
box-sizing: border-box;

div {
flex: none;
width: 100%;
}

p {
color: white;
}

a {
flex: none;
margin-top: 1rem;
}
}
}
`;
Expand Down