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

Remove Twitter links from site #1141

Merged
merged 1 commit into from
Mar 15, 2025
Merged
Show file tree
Hide file tree
Changes from all 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
1 change: 0 additions & 1 deletion landing-pages/site/archetypes/blog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
title: "{{ replace .Name "-" " " | title }}"
linkTitle: "{{ replace .Name "-" " " | title }}"
author: "Your Name"
twitter: "Your Twitter ID (optional, remove if not needed)"
github: "Your GitHub ID (optional, remove if not needed)"
linkedin: "Your LinkedIn ID (optional, remove if not needed)"
description: "Description"
Expand Down
6 changes: 1 addition & 5 deletions landing-pages/site/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ copyright = "The Apache Software Foundation"
privacy_policy = "https://policies.google.com/privacy"
blocktype = ["use-case", "testimonial"]

# First one is picked as the Twitter card image if not set on page.
# First one is picked as the card image if not set on page.
images = ["images/feature-image.png"]

# Menu title if your navbar has a versions selector to access old versions of your site.
Expand Down Expand Up @@ -125,10 +125,6 @@ no = 'Sorry to hear that. Please <a href="https://github.com/USERNAME/REPOSITORY
name = "Stack Overflow"
url = "https://stackoverflow.com/questions/tagged/airflow/"
iconName = "stackoverflow.svg"
[[params.links.media]]
name = "Twitter"
url = "https://twitter.com/apacheairflow/"
iconName = "twitter-white.svg"
[[params.links.media]]
name = "Youtube"
url = "https://www.youtube.com/channel/UCSXwxpWZQ7XZ1WL3wqevChA/"
Expand Down
2 changes: 0 additions & 2 deletions landing-pages/site/content/en/announcements/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ menu:
&nbsp;
&nbsp;

**Note:** Follow [@ApacheAirflow](https://twitter.com/ApacheAirflow) on Twitter for the latest news and announcements!

# February 10, 2025

We’ve just released Apache **Airflow 2.10.5**.
Expand Down
5 changes: 0 additions & 5 deletions landing-pages/site/layouts/blog/content.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,6 @@
<span class="blogpost-content__metadata--author">
{{ .Params.author }}
</span>
{{ with .Params.twitter }}
<a href="https://twitter.com/{{ . }}/" class="blogpost-content__metadata--social-media-icon">
{{ with resources.Get "icons/twitter-small.svg" }}{{ .Content | safeHTML }}{{ end }}
</a>
{{ end }}
{{ with .Params.github }}
<a href="https://github.com/{{ . }}/" class="blogpost-content__metadata--social-media-icon">
{{ with resources.Get "icons/github-small.svg" }}{{ .Content | safeHTML }}{{ end }}
Expand Down
2 changes: 1 addition & 1 deletion landing-pages/site/layouts/meetups/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ <h4 class="page-header host-header">Want to host a meetup?</h4>
{{ partial "text-with-icon" (dict "logo_path" "icons/meetup-icon.svg" "header" "Create an event" "text" "Create an event using meetup.com or Facebook and recruit some interesting speakers. Drinks and snacks are always nice.") }}
{{ partial "text-with-icon" (dict "logo_path" "icons/intent-icon.svg" "header" "Voice your intent" "text" "In describing your event, remember to specify the intended audience -- e.g., beginners, intermediates, developers, or architects.") }}
{{ partial "text-with-icon" (dict "logo_path" "icons/date-icon.svg" "header" "Select a date" "text" "Choosing the right day and time is essential for a good turnout. Midweek in the evening tends to work best. ") }}
{{ partial "text-with-icon" (dict "logo_path" "icons/promote-icon.svg" "header" "Promote it!" "text" "Publicize your meetup as widely as possible! Reach out to the community team, and we will publish your event in the [#announcements](https://apache-airflow.slack.com/messages/announcements) channel and tweet about it from [@ApacheAirflow](https://twitter.com/ApacheAirflow).") }}
{{ partial "text-with-icon" (dict "logo_path" "icons/promote-icon.svg" "header" "Promote it!" "text" "Publicize your meetup as widely as possible! Reach out to the community team, and we will publish your event in the [#announcements](https://apache-airflow.slack.com/messages/announcements) channel.") }}
</div>
</div>
{{ end }}
8 changes: 0 additions & 8 deletions landing-pages/site/layouts/partials/boxes/committer.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,6 @@
</a>
{{ end }}
{{ end }}
{{ if .twitter }}
{{ $url := .twitter }}
{{ with resources.Get "icons/twitter.svg" }}
<a href="{{ $url }}" class="box-event__committer--social-media-icon">
{{ .Content | safeHTML }}
</a>
{{ end }}
{{ end }}
{{ if .linkedin }}
{{ $url := .linkedin }}
{{ with resources.Get "icons/linkedin.svg" }}
Expand Down
1 change: 0 additions & 1 deletion landing-pages/site/layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
{{- template "_internal/opengraph.html" . -}}
{{- template "_internal/google_news.html" . -}}
{{- template "_internal/schema.html" . -}}
{{- template "_internal/twitter_cards.html" . -}}
{{ if eq (getenv "HUGO_ENV") "production" }}
{{ template "_internal/google_analytics_async.html" . }}
{{ end }}
Expand Down
4 changes: 0 additions & 4 deletions landing-pages/site/layouts/partials/share-social-media.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@
<div class="mt-5">
<p class="bodytext__medium--greyish-brown font-weight-500 mb-2">Share</p>
<div class="share-section--icons-wrapper">
<div class="share-section--icon"
onclick="window.open(`https://twitter.com/intent/tweet?url=${window.location.href}&original_referer=${window.location.origin}`,'targetWindow', `toolbar=no, location=no, status=no, menubar=no, directories=no, scrollbars=no, resizable=no, centerscreen=yes, chrome=yes, width=550, height=400, top=${window.outerHeight / 2 + (window.screenY || window.screenTop || 0) - 200} left=${window.outerWidth / 2 + (window.screenX || window.screenLeft || 0) - 275}`); return false;">
{{ with resources.Get "icons/twitter-small.svg" }}{{ .Content | safeHTML }}{{ end }}
</div>
<div class="share-section--icon"
onclick="window.open(`https://www.linkedin.com/sharing/share-offsite/?url=${window.location.href}`,'targetWindow', `toolbar=no, location=no, status=no, menubar=no, directories=no, scrollbars=no, resizable=no, centerscreen=yes, chrome=yes, width=750, height=600, top=${window.outerHeight / 2 + (window.screenY || window.screenTop || 0) - 300} left=${window.outerWidth / 2 + (window.screenX || window.screenLeft || 0) - 375}`); return false;">
{{ with resources.Get "icons/linkedin-small.svg" }}{{ .Content | safeHTML }}{{ end }}
Expand Down
9 changes: 0 additions & 9 deletions sphinx_airflow_theme/sphinx_airflow_theme/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,15 +73,6 @@

</a>

<a class="footer-section__media-section--link" target="_blank" href="https://twitter.com/ApacheAirflow">
<svg xmlns="http://www.w3.org/2000/svg" width="44.355" height="44.355" viewBox="0 0 44.355 44.355">
<g id="Group_211" data-name="Group 211" transform="translate(-503 -1382.2)">
<path id="Path_221" d="M541.811 1382.2h-33.267a5.546 5.546 0 0 0-5.544 5.544v33.266a5.547 5.547 0 0 0 5.544 5.545h33.267a5.546 5.546 0 0 0 5.544-5.545v-33.266a5.546 5.546 0 0 0-5.544-5.544zm-5.611 16.533c.011.244.011.488.011.732 0 7.507-5.722 16.178-16.179 16.178a16.173 16.173 0 0 1-8.7-2.539 10.92 10.92 0 0 0 1.353.078 11.4 11.4 0 0 0 7.064-2.44 5.685 5.685 0 0 1-5.311-3.947 5.725 5.725 0 0 0 2.561-.1 5.7 5.7 0 0 1-4.557-5.578v-.078a5.752 5.752 0 0 0 2.572.71 5.709 5.709 0 0 1-1.763-7.6 16.146 16.146 0 0 0 11.721 5.944 6.282 6.282 0 0 1-.144-1.3 5.688 5.688 0 0 1 9.836-3.892 11.3 11.3 0 0 0 3.615-1.375 5.721 5.721 0 0 1-2.506 3.149 11.538 11.538 0 0 0 3.271-.9 11.585 11.585 0 0 1-2.844 2.958z" fill="#fff" data-name="Path 221"></path>
</g>
</svg>

</a>

<a class="footer-section__media-section--link" target="_blank" href="https://www.youtube.com/channel/UCSXwxpWZQ7XZ1WL3wqevChA">
<svg xmlns="http://www.w3.org/2000/svg" width="49.594" height="34.941" viewBox="0 0 49.594 34.941">
<path id="Path_223" d="M1124.557 1230a6.232 6.232 0 0 0-4.385-4.413c-3.867-1.043-19.376-1.043-19.376-1.043s-15.508 0-19.376 1.043a6.232 6.232 0 0 0-4.385 4.413c-1.036 3.893-1.036 12.014-1.036 12.014s0 8.122 1.036 12.015a6.232 6.232 0 0 0 4.385 4.413c3.867 1.043 19.376 1.043 19.376 1.043s15.509 0 19.376-1.043a6.232 6.232 0 0 0 4.385-4.413c1.036-3.893 1.036-12.015 1.036-12.015s.001-8.123-1.036-12.014zm-28.833 19.388v-14.748l12.962 7.374z" fill="#fff" data-name="Path 223" transform="translate(-1076 -1224.542)"></path>
Expand Down
Loading