You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ka...@apache.org on 2019/11/15 18:03:19 UTC

[airflow-site] branch aip-11 updated: Add favicon, GA, feature-image (#173)

This is an automated email from the ASF dual-hosted git repository.

kamilbregula pushed a commit to branch aip-11
in repository https://gitbox.apache.org/repos/asf/airflow-site.git


The following commit(s) were added to refs/heads/aip-11 by this push:
     new e601af1  Add favicon, GA, feature-image (#173)
e601af1 is described below

commit e601af1e7d121038e461d16cb7376086196e9059
Author: Kamil BreguĊ‚a <mi...@users.noreply.github.com>
AuthorDate: Fri Nov 15 19:03:09 2019 +0100

    Add favicon, GA, feature-image (#173)
---
 landing-pages/site/config.toml                     |   8 ++--
 landing-pages/site/layouts/partials/favicons.html  |  36 ++++++++++++++++++
 landing-pages/site/static/browserconfig.xml        |   2 +
 landing-pages/site/static/favicon.ico              | Bin 0 -> 1150 bytes
 .../site/static/favicons/android-icon-144x144.png  | Bin 0 -> 10254 bytes
 .../site/static/favicons/android-icon-192x192.png  | Bin 0 -> 14026 bytes
 .../site/static/favicons/android-icon-36x36.png    | Bin 0 -> 2503 bytes
 .../site/static/favicons/android-icon-48x48.png    | Bin 0 -> 3219 bytes
 .../site/static/favicons/android-icon-72x72.png    | Bin 0 -> 4718 bytes
 .../site/static/favicons/android-icon-96x96.png    | Bin 0 -> 6220 bytes
 .../site/static/favicons/apple-icon-114x114.png    | Bin 0 -> 7407 bytes
 .../site/static/favicons/apple-icon-120x120.png    | Bin 0 -> 7927 bytes
 .../site/static/favicons/apple-icon-144x144.png    | Bin 0 -> 10254 bytes
 .../site/static/favicons/apple-icon-152x152.png    | Bin 0 -> 11188 bytes
 .../site/static/favicons/apple-icon-180x180.png    | Bin 0 -> 14539 bytes
 .../site/static/favicons/apple-icon-57x57.png      | Bin 0 -> 3791 bytes
 .../site/static/favicons/apple-icon-60x60.png      | Bin 0 -> 3978 bytes
 .../site/static/favicons/apple-icon-72x72.png      | Bin 0 -> 4718 bytes
 .../site/static/favicons/apple-icon-76x76.png      | Bin 0 -> 4903 bytes
 .../static/favicons/apple-icon-precomposed.png     | Bin 0 -> 14515 bytes
 landing-pages/site/static/favicons/apple-icon.png  | Bin 0 -> 14515 bytes
 .../site/static/favicons/favicon-16x16.png         | Bin 0 -> 1407 bytes
 .../site/static/favicons/favicon-32x32.png         | Bin 0 -> 2250 bytes
 .../site/static/favicons/favicon-96x96.png         | Bin 0 -> 6220 bytes
 .../site/static/favicons/ms-icon-144x144.png       | Bin 0 -> 10254 bytes
 .../site/static/favicons/ms-icon-150x150.png       | Bin 0 -> 10995 bytes
 .../site/static/favicons/ms-icon-310x310.png       | Bin 0 -> 33710 bytes
 .../site/static/favicons/ms-icon-70x70.png         | Bin 0 -> 4532 bytes
 landing-pages/site/static/images/feature-image.png | Bin 0 -> 63044 bytes
 landing-pages/site/static/manifest.json            |  41 +++++++++++++++++++++
 30 files changed, 83 insertions(+), 4 deletions(-)

diff --git a/landing-pages/site/config.toml b/landing-pages/site/config.toml
index 78d6f14..472bdd0 100644
--- a/landing-pages/site/config.toml
+++ b/landing-pages/site/config.toml
@@ -52,7 +52,7 @@ anchor = "smart"
 [services]
 [services.googleAnalytics]
 # Comment out the next line to disable GA tracking. Also disables the feature described in [params.ui.feedback].
-id = "UA-00000000-0"
+id = "UA-140539454-1"
 
 # Language configuration
 
@@ -71,16 +71,16 @@ copyright = "The Apache Software Foundation"
 privacy_policy = "https://policies.google.com/privacy"
 
 # First one is picked as the Twitter card image if not set on page.
-# images = ["images/project-illustration.png"]
+images = ["images/feature-image.png"]
 
 # Menu title if your navbar has a versions selector to access old versions of your site.
 # This menu appears only if you have at least one [params.versions] set.
 version_menu = "Releases"
 
 # Repository configuration (URLs for in-page links to opening issues and suggesting changes)
-github_repo = "https://github.com/google/docsy-example"
+github_repo = "https://github.com/apache/airflow-site"
 # An optional link to a related project repo. For example, the sibling repository where your product code lives.
-github_project_repo = "https://github.com/google/docsy"
+github_project_repo = "https://github.com/apache/airflow"
 
 # Specify a value here if your content directory is not in your repo's root directory
 # github_subdir = ""
diff --git a/landing-pages/site/layouts/partials/favicons.html b/landing-pages/site/layouts/partials/favicons.html
new file mode 100644
index 0000000..783c197
--- /dev/null
+++ b/landing-pages/site/layouts/partials/favicons.html
@@ -0,0 +1,36 @@
+{{/*
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+
+   http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.
+*/}}
+
+<link rel="apple-touch-icon" sizes="57x57" href="{{ "/favicons/apple-icon-57x57.png" | relURL }}">
+<link rel="apple-touch-icon" sizes="60x60" href="{{ "/favicons/apple-icon-60x60.png" | relURL }}">
+<link rel="apple-touch-icon" sizes="72x72" href="{{ "/favicons/apple-icon-72x72.png" | relURL }}">
+<link rel="apple-touch-icon" sizes="76x76" href="{{ "/favicons/apple-icon-76x76.png" | relURL }}">
+<link rel="apple-touch-icon" sizes="114x114" href="{{ "/favicons/apple-icon-114x114.png" | relURL }}">
+<link rel="apple-touch-icon" sizes="120x120" href="{{ "/favicons/apple-icon-120x120.png" | relURL }}">
+<link rel="apple-touch-icon" sizes="144x144" href="{{ "/favicons/apple-icon-144x144.png" | relURL }}">
+<link rel="apple-touch-icon" sizes="152x152" href="{{ "/favicons/apple-icon-152x152.png" | relURL }}">
+<link rel="apple-touch-icon" sizes="180x180" href="{{ "/favicons/apple-icon-180x180.png" | relURL }}">
+<link rel="icon" type="image/png" sizes="192x192"  href="{{ "/favicons/android-icon-192x192.png" | relURL }}">
+<link rel="icon" type="image/png" sizes="32x32" href="{{ "/favicons/favicon-32x32.png" | relURL }}">
+<link rel="icon" type="image/png" sizes="96x96" href="{{ "/favicons/favicon-96x96.png" | relURL }}">
+<link rel="icon" type="image/png" sizes="16x16" href="{{ "/favicons/favicon-16x16.png" | relURL }}">
+<link rel="manifest" href="{{ "/manifest.json" | relURL }}">
+<meta name="msapplication-TileColor" content="#ffffff">
+<meta name="msapplication-TileImage" content="{{ "/favicons/ms-icon-144x144.png" | relURL }}">
+<meta name="theme-color" content="#ffffff">
diff --git a/landing-pages/site/static/browserconfig.xml b/landing-pages/site/static/browserconfig.xml
new file mode 100644
index 0000000..64a3ee8
--- /dev/null
+++ b/landing-pages/site/static/browserconfig.xml
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="utf-8"?>
+<browserconfig><msapplication><tile><square70x70logo src="/favicons/ms-icon-70x70.png"/><square150x150logo src="/favicons/ms-icon-150x150.png"/><square310x310logo src="/favicons/ms-icon-310x310.png"/><TileColor>#ffffff</TileColor></tile></msapplication></browserconfig>
diff --git a/landing-pages/site/static/favicon.ico b/landing-pages/site/static/favicon.ico
new file mode 100644
index 0000000..ee8205e
Binary files /dev/null and b/landing-pages/site/static/favicon.ico differ
diff --git a/landing-pages/site/static/favicons/android-icon-144x144.png b/landing-pages/site/static/favicons/android-icon-144x144.png
new file mode 100644
index 0000000..21fa7bf
Binary files /dev/null and b/landing-pages/site/static/favicons/android-icon-144x144.png differ
diff --git a/landing-pages/site/static/favicons/android-icon-192x192.png b/landing-pages/site/static/favicons/android-icon-192x192.png
new file mode 100644
index 0000000..74f2188
Binary files /dev/null and b/landing-pages/site/static/favicons/android-icon-192x192.png differ
diff --git a/landing-pages/site/static/favicons/android-icon-36x36.png b/landing-pages/site/static/favicons/android-icon-36x36.png
new file mode 100644
index 0000000..8106b8b
Binary files /dev/null and b/landing-pages/site/static/favicons/android-icon-36x36.png differ
diff --git a/landing-pages/site/static/favicons/android-icon-48x48.png b/landing-pages/site/static/favicons/android-icon-48x48.png
new file mode 100644
index 0000000..2e7afcb
Binary files /dev/null and b/landing-pages/site/static/favicons/android-icon-48x48.png differ
diff --git a/landing-pages/site/static/favicons/android-icon-72x72.png b/landing-pages/site/static/favicons/android-icon-72x72.png
new file mode 100644
index 0000000..d7a50fc
Binary files /dev/null and b/landing-pages/site/static/favicons/android-icon-72x72.png differ
diff --git a/landing-pages/site/static/favicons/android-icon-96x96.png b/landing-pages/site/static/favicons/android-icon-96x96.png
new file mode 100644
index 0000000..90c27d8
Binary files /dev/null and b/landing-pages/site/static/favicons/android-icon-96x96.png differ
diff --git a/landing-pages/site/static/favicons/apple-icon-114x114.png b/landing-pages/site/static/favicons/apple-icon-114x114.png
new file mode 100644
index 0000000..b17cbc2
Binary files /dev/null and b/landing-pages/site/static/favicons/apple-icon-114x114.png differ
diff --git a/landing-pages/site/static/favicons/apple-icon-120x120.png b/landing-pages/site/static/favicons/apple-icon-120x120.png
new file mode 100644
index 0000000..8e8648c
Binary files /dev/null and b/landing-pages/site/static/favicons/apple-icon-120x120.png differ
diff --git a/landing-pages/site/static/favicons/apple-icon-144x144.png b/landing-pages/site/static/favicons/apple-icon-144x144.png
new file mode 100644
index 0000000..21fa7bf
Binary files /dev/null and b/landing-pages/site/static/favicons/apple-icon-144x144.png differ
diff --git a/landing-pages/site/static/favicons/apple-icon-152x152.png b/landing-pages/site/static/favicons/apple-icon-152x152.png
new file mode 100644
index 0000000..6d75e6b
Binary files /dev/null and b/landing-pages/site/static/favicons/apple-icon-152x152.png differ
diff --git a/landing-pages/site/static/favicons/apple-icon-180x180.png b/landing-pages/site/static/favicons/apple-icon-180x180.png
new file mode 100644
index 0000000..9020739
Binary files /dev/null and b/landing-pages/site/static/favicons/apple-icon-180x180.png differ
diff --git a/landing-pages/site/static/favicons/apple-icon-57x57.png b/landing-pages/site/static/favicons/apple-icon-57x57.png
new file mode 100644
index 0000000..3583d90
Binary files /dev/null and b/landing-pages/site/static/favicons/apple-icon-57x57.png differ
diff --git a/landing-pages/site/static/favicons/apple-icon-60x60.png b/landing-pages/site/static/favicons/apple-icon-60x60.png
new file mode 100644
index 0000000..e014a9b
Binary files /dev/null and b/landing-pages/site/static/favicons/apple-icon-60x60.png differ
diff --git a/landing-pages/site/static/favicons/apple-icon-72x72.png b/landing-pages/site/static/favicons/apple-icon-72x72.png
new file mode 100644
index 0000000..d7a50fc
Binary files /dev/null and b/landing-pages/site/static/favicons/apple-icon-72x72.png differ
diff --git a/landing-pages/site/static/favicons/apple-icon-76x76.png b/landing-pages/site/static/favicons/apple-icon-76x76.png
new file mode 100644
index 0000000..669edf9
Binary files /dev/null and b/landing-pages/site/static/favicons/apple-icon-76x76.png differ
diff --git a/landing-pages/site/static/favicons/apple-icon-precomposed.png b/landing-pages/site/static/favicons/apple-icon-precomposed.png
new file mode 100644
index 0000000..1df2998
Binary files /dev/null and b/landing-pages/site/static/favicons/apple-icon-precomposed.png differ
diff --git a/landing-pages/site/static/favicons/apple-icon.png b/landing-pages/site/static/favicons/apple-icon.png
new file mode 100644
index 0000000..1df2998
Binary files /dev/null and b/landing-pages/site/static/favicons/apple-icon.png differ
diff --git a/landing-pages/site/static/favicons/favicon-16x16.png b/landing-pages/site/static/favicons/favicon-16x16.png
new file mode 100644
index 0000000..93b9a19
Binary files /dev/null and b/landing-pages/site/static/favicons/favicon-16x16.png differ
diff --git a/landing-pages/site/static/favicons/favicon-32x32.png b/landing-pages/site/static/favicons/favicon-32x32.png
new file mode 100644
index 0000000..dd27c73
Binary files /dev/null and b/landing-pages/site/static/favicons/favicon-32x32.png differ
diff --git a/landing-pages/site/static/favicons/favicon-96x96.png b/landing-pages/site/static/favicons/favicon-96x96.png
new file mode 100644
index 0000000..90c27d8
Binary files /dev/null and b/landing-pages/site/static/favicons/favicon-96x96.png differ
diff --git a/landing-pages/site/static/favicons/ms-icon-144x144.png b/landing-pages/site/static/favicons/ms-icon-144x144.png
new file mode 100644
index 0000000..21fa7bf
Binary files /dev/null and b/landing-pages/site/static/favicons/ms-icon-144x144.png differ
diff --git a/landing-pages/site/static/favicons/ms-icon-150x150.png b/landing-pages/site/static/favicons/ms-icon-150x150.png
new file mode 100644
index 0000000..1d2f282
Binary files /dev/null and b/landing-pages/site/static/favicons/ms-icon-150x150.png differ
diff --git a/landing-pages/site/static/favicons/ms-icon-310x310.png b/landing-pages/site/static/favicons/ms-icon-310x310.png
new file mode 100644
index 0000000..caf2995
Binary files /dev/null and b/landing-pages/site/static/favicons/ms-icon-310x310.png differ
diff --git a/landing-pages/site/static/favicons/ms-icon-70x70.png b/landing-pages/site/static/favicons/ms-icon-70x70.png
new file mode 100644
index 0000000..125a564
Binary files /dev/null and b/landing-pages/site/static/favicons/ms-icon-70x70.png differ
diff --git a/landing-pages/site/static/images/feature-image.png b/landing-pages/site/static/images/feature-image.png
new file mode 100644
index 0000000..61ecff7
Binary files /dev/null and b/landing-pages/site/static/images/feature-image.png differ
diff --git a/landing-pages/site/static/manifest.json b/landing-pages/site/static/manifest.json
new file mode 100644
index 0000000..7d95e55
--- /dev/null
+++ b/landing-pages/site/static/manifest.json
@@ -0,0 +1,41 @@
+{
+  "name": "App",
+  "icons": [
+    {
+      "density": "0.75",
+      "sizes": "36x36",
+      "src": "/favicons/android-icon-36x36.png",
+      "type": "image/png"
+    },
+    {
+      "density": "1.0",
+      "sizes": "48x48",
+      "src": "/favicons/android-icon-48x48.png",
+      "type": "image/png"
+    },
+    {
+      "density": "1.5",
+      "sizes": "72x72",
+      "src": "/favicons/android-icon-72x72.png",
+      "type": "image/png"
+    },
+    {
+      "density": "2.0",
+      "sizes": "96x96",
+      "src": "/favicons/android-icon-96x96.png",
+      "type": "image/png"
+    },
+    {
+      "density": "3.0",
+      "sizes": "144x144",
+      "src": "/favicons/android-icon-144x144.png",
+      "type": "image/png"
+    },
+    {
+      "density": "4.0",
+      "sizes": "192x192",
+      "src": "/favicons/android-icon-192x192.png",
+      "type": "image/png"
+    }
+  ]
+}