Skip to content

Commit

Permalink
docs: Add CTA to community calendar subscription (apache#24474)
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagorossener authored Jun 21, 2023
1 parent 80f1554 commit caabf88
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
34 changes: 33 additions & 1 deletion docs/src/pages/community.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,26 @@ const StyledNewsletterIframe = styled('iframe')`
}
`;

const StyledLink = styled('a')`
display: inline-flex;
align-items: center;
font-size: 20px;
font-weight: bold;
line-height: 1.4;
margin-top: 12px;
${mq[1]} {
font-size: 18px;
}
img {
width: 24px;
height: 24px;
margin-right: 12px;
${mq[1]} {
display: none;
}
}
`;

const Community = () => {
return (
<Layout
Expand Down Expand Up @@ -208,7 +228,19 @@ const Community = () => {
<SectionHeader
level="h2"
title="Superset Community Calendar"
subtitle="Join us for live demos, meetups, discussions, and more!"
subtitle={
<>
Join us for live demos, meetups, discussions, and more!
<br />
<StyledLink
href="https://calendar.google.com/calendar/u/0/[email protected]"
target="_blank"
>
<img src="/img/calendar-icon.svg" alt="calendar-icon" />
Subscribe to the Superset Community Calendar
</StyledLink>
</>
}
/>
<StyledCalendarIframe
src="https://calendar.google.com/calendar/embed?src=superset.committers%40gmail.com&ctz=America%2FLos_Angeles"
Expand Down
1 change: 1 addition & 0 deletions docs/static/img/calendar-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit caabf88

Please sign in to comment.