blob: bcbba05ebab80bf4ba8859d99614eb9246521077 [file]
<!--
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.
-->
{# Comet docs layout — extends pydata_sphinx_theme to add a project footer.
All client-side enhancements live in _static/comet-ux.js, registered via
html_js_files in conf.py. #}
{% extends "pydata_sphinx_theme/layout.html" %}
{# Font loading: use the print→all swap pattern so Google Fonts doesn't
block first paint. preconnect warms up the connection; the stylesheet
is requested non-blocking and then promoted to apply once loaded. The
<noscript> fallback covers JS-disabled browsers. #}
{% block extrahead %}
{{ super() }}
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="preload" as="style"
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap">
<link rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap"
media="print" onload="this.media='all'">
<noscript>
<link rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap">
</noscript>
{% endblock %}
{% block footer %}
<footer class="comet-footer" role="contentinfo">
<div class="comet-footer__inner">
<!-- Brand: logo only — no duplicated tagline -->
<a class="comet-footer__brand" href="{{ pathto('index') }}" aria-label="Apache DataFusion Comet — home">
<img src="{{ pathto('_static/images/DataFusionComet-Logo-Light.png', 1) }}"
class="comet-footer__logo only-light"
width="3256" height="836"
loading="lazy" decoding="async"
alt="" />
<img src="{{ pathto('_static/images/DataFusionComet-Logo-Dark.png', 1) }}"
class="comet-footer__logo only-dark pst-js-only"
width="3256" height="836"
loading="lazy" decoding="async"
alt="" />
</a>
<!-- Two compact link columns: documentation + community -->
<nav class="comet-footer__links" aria-label="Footer navigation">
<div class="comet-footer__col">
<div class="comet-footer__col-title">Documentation</div>
<a href="{{ pathto('user-guide/index') }}">User Guide</a>
<a href="{{ pathto('contributor-guide/index') }}">Contributor Guide</a>
<a href="{{ pathto('changelog/index') }}">Changelog</a>
</div>
<div class="comet-footer__col">
<div class="comet-footer__col-title">Community</div>
<a href="https://github.com/apache/datafusion-comet" target="_blank" rel="noopener">GitHub</a>
<a href="https://datafusion.apache.org/contributor-guide/communication.html" target="_blank" rel="noopener">Slack &amp; Discord</a>
<a href="https://apache.org" target="_blank" rel="noopener">Apache Software Foundation</a>
</div>
</nav>
</div>
<!-- Legal: license, copyright, trademark — single quiet line -->
<div class="comet-footer__legal">
<p>
&copy; 2023&ndash;2026 Apache Software Foundation &nbsp;·&nbsp;
Licensed under the <a href="https://www.apache.org/licenses/LICENSE-2.0" target="_blank" rel="noopener">Apache License 2.0</a>
</p>
<p class="comet-footer__trademark">
Apache DataFusion, Apache DataFusion Comet, the Apache feather logo, and the Apache DataFusion project logo are trademarks of The Apache Software Foundation.
</p>
</div>
</footer>
{% endblock %}