Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add “Resources” section in the Airflow website #233 #1062

Merged
merged 4 commits into from
Sep 30, 2024
Merged
Show file tree
Hide file tree
Changes from 3 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
319 changes: 213 additions & 106 deletions landing-pages/site/assets/scss/_community-page.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,115 +16,222 @@
* specific language governing permissions and limitations
* under the License.
*/
@import "media";
@import "fonts";

.list-link {
@extend .bodytext__medium--greyish-brown;
text-decoration: underline;
}

.community {
&--header-container {
max-width: 100%;
margin: 0 auto;
}

&--header-join {
@extend .header__small--greyish-brown;
text-align: center;
}

&--header-persona {
@extend .header__xsmall--greyish-brown;
text-align: center;
margin-bottom: 2.5vh;
}

&--accordion-container {
margin: 60px 18px;
}

&--accordion-container .dev-list {
@extend .bodytext__medium--brownish-grey;
margin-left: auto;
}

&--committers-header {
@extend .header__small--greyish-brown;
text-align: center;
margin-top: 70px;
margin-bottom: 40px;

&.large-margin {
margin-top: 100px;
margin-bottom: 40px;
}
}

@media (min-width: $tablet) {
.community {
@import "media";
@import "fonts";

.list-link {
@extend .bodytext__medium--greyish-brown;
text-decoration: underline;
}

.community {
&--header-container {
max-width: 100%;
margin: 0 auto;
}

&--header-join {
@extend .header__small--greyish-brown;
text-align: center;
}

&--header-persona {
@extend .header__xsmall--greyish-brown;
text-align: center;
margin-bottom: 2.5vh;
}

&--accordion-container {
margin: 60px 18px;
}

&--accordion-container .dev-list {
@extend .bodytext__medium--brownish-grey;
margin-left: auto;
}

&--committers-header {
@extend .header__small--greyish-brown;
text-align: center;
margin-top: 70px;
margin-bottom: 40px;

&.large-margin {
margin-top: 100px;
margin-bottom: 40px;
}
}

&--resources-header {
@extend .header__small--greyish-brown;
text-align: center;
margin-top: 50px;
}

.section::before {
display: block;
content: " ";
margin-top: -160px;
height: 160px;
visibility: hidden;
}

@media(max-width:1280px) {
.roadmap main {
padding-left: 0
}

.roadmap .td-sidebar {
position: static;
background-color: transparent;
padding: 0;
margin: 0;
max-width: unset;
height: 530px
}
}

.wy-nav-side-toc {
position: sticky;
top: 263px;
overflow-x: auto;
overflow-y: auto;
border-left: 1px solid rgba(211, 211, 211, 0.128);
height: 100px;
padding-left: 30px;
max-height: -webkit-calc(100vh - 163px);
max-height: calc(100vh - 163px);
font-size: 14px;
line-height: 1.43;
}


@media (min-width: $tablet) {
.community {
&--grid {
display: grid;
grid-template-columns: 50% 50%;
grid-template-areas:
"dev user";
}
}
}

@media (min-width: $tablet) {
.resources {
&--grid {
display: grid;
grid-template-columns: 50% 50%;
grid-template-areas:
"dev user";
display: grid;
grid-template-areas:
"dev user";
}
}
}

&--dev {
grid-area: dev;
}

&--user {
grid-area: user;
}
}

@media (min-width: $fullhd) {
.community {
.list-items {
max-width: 1220px;
margin-right: auto;
margin-left: auto;
}

.list-item {
width: 25%;
}
}
}

@media (max-width: $tablet) {
.community {
&--header-container {
max-width: 580px;
}

&--header-join {
font-family: $primary-font !important;
font-size: 24px !important;
line-height: 1.5 !important;
}

&--accordion-container {
margin: 40px 0;
}

&--committers-header {
font-size: 36px !important;
line-height: 1.22 !important;
margin-top: 60px;

&.large-margin {
margin-top: 60px;
margin-bottom: 40px;
}
}

&--button-container {
margin-top: 20px;
}
}
}
.col-12 {
-webkit-box-flex: 0;
-webkit-flex: 0 0 100%;
-ms-flex: 0 0 100%;
flex: 0 0 80%;
max-width: 100%;
}

&--dev {
grid-area: dev;
}

&--user {
grid-area: user;
}
}

@media (min-width: $fullhd) {
.community {
.list-items {
max-width: 1220px;
margin-right: auto;
margin-left: auto;
}

.list-item {
width: 25%;
}
}
}

*,
*::before,
*::after {
-webkit-box-sizing: border-box;
box-sizing: border-box;
}

@media (max-width: $tablet) {
.community {
&--header-container {
max-width: 580px;
}

&--header-join {
font-family: $primary-font !important;
font-size: 24px !important;
line-height: 1.5 !important;
}

&--accordion-container {
margin: 40px 0;
}

&--committers-header {
font-size: 36px !important;
line-height: 1.22 !important;
margin-top: 60px;

&.large-margin {
margin-top: 60px;
margin-bottom: 40px;
}
}

&--button-container {
margin-top: 20px;
}
}
}

.desktop-only {
@media (max-width: $tablet) {
display: none;
}

.base-layout {
padding: 0px 0 60px;
}
}

.no-desktop {
@media (min-width: calc(#{$tablet} + 1px)) {
display: none;
}
}


.mobile-only {
@media(min-width:calc(640px + 1px)) {
display: none
}
}

@media (min-width: 768px) {
.td-main main {
padding-top: 0rem;
}
}

.d-flex {
justify-content: flex-end;
}

.roadmap .wy-nav-side-toc {
top: 263px !important;
}
22 changes: 22 additions & 0 deletions landing-pages/site/content/en/community/resources.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<div class="resources--grid">
<div class="community--dev">
<div class="community--accordion-container">
{{< accordion title="Promo Materials"
description="Download official Apache Airflow branding materials, including logos and banners, to accurately represent and promote the project."
logo_path="icons/documentation-icon.svg" open="true">}}
<ul class="ticks-blue mx-auto">
<li><a href="https://cwiki.apache.org/confluence/display/AIRFLOW/Airflow+logos">Airflow logos</a>
</li>
<li><a href="https://cwiki.apache.org/confluence/display/AIRFLOW/Brandbook">Brandbook</a></li>
<li><a href="https://cwiki.apache.org/confluence/display/AIRFLOW/Drawio+Diagrams">Drawio
Diagrams</a></li>
<li><a href="https://cwiki.apache.org/confluence/display/AIRFLOW/Lucidchart+Diagrams">Lucidchart
Diagrams</a></li>
<li><a href="https://cwiki.apache.org/confluence/display/AIRFLOW/Promo+stuff">Promo stuff</a></li>
<li><a href="https://cwiki.apache.org/confluence/display/AIRFLOW/Proposed+Logo+Redesign">Proposed
Logo Redesign</a></li>
</ul>
{{< /accordion>}}
</div>
</div>
</div>
2 changes: 2 additions & 0 deletions landing-pages/site/content/en/ecosystem/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ If you would you like to be included on this page, please reach out to the [Apac

[Apache Airflow: Complete Hands-On Beginner to Advanced Class](https://www.udemy.com/course/apache-airflow-course) by Alexandra Abbas on Udemy

[Data Pipelines with Apache Airflow](https://www.manning.com/books/data-pipelines-with-apache-airflow) Apache Airflow Book by Bas P. Harenslak and Julian Rutger de Ruiter on Amazon
potiuk marked this conversation as resolved.
Show resolved Hide resolved

&nbsp;

## Airflow as a Service
Expand Down
Loading
Loading