Skip to main content
Ctrl+K

Squareone

  • Applications
  • Packages
  • Develop
  • Change log
  • GitHub
  • Applications
  • Packages
  • Develop
  • Change log
  • GitHub

Section Navigation

  • Squareone
    • Branding Squareone deployments
    • Writing content in MDX
    • Documentation page
    • Customizing the footer
    • COmanage enrollment landing pages
    • Admin section access
    • Configuration reference
  • Applications in the Squareone monorepo
  • Squareone deployment guide
  • Customizing the footer

Customizing the footer#

The footer content in Squareone can be customized using MDX files, similar to page content. This page explains how to configure the footer and what components are available. For general information about writing MDX content, see Writing content in MDX.

Configuration#

footerMdxPath#

The footerMdxPath configuration key specifies the path to the footer MDX file, relative to the mdxDir directory.

squareone.config.yaml#
mdxDir: src/content/pages
footerMdxPath: footer.mdx

The default value is footer.mdx. If the file is not found, Squareone falls back to a hardcoded default footer with Rubin Observatory branding.

Footer components#

In addition to the common MDX components described in Writing content in MDX, footer MDX files have access to specialized components for footer layout.

FooterNav#

A styled navigation container for footer links. Use this to wrap navigation links that appear at the top of the footer.

<FooterNav>
  <Link href="/terms">Acceptable use policy</Link>
</FooterNav>

You can include multiple links:

<FooterNav>
  <Link href="/terms">Acceptable use policy</Link>
  <Link href="/support">Support</Link>
</FooterNav>

FundingNotice#

A container for funding acknowledgments, legal notices, and other fine-print text. Content inside FundingNotice is styled with a smaller font size.

<FundingNotice>

First paragraph of funding acknowledgment text with [inline links](https://example.com).

Second paragraph continues here.

</FundingNotice>

Note that blank lines between paragraphs create separate <p> elements, which is the intended behavior for multi-paragraph notices.

PartnerLogos#

Displays partner organization logos. By default, this shows the Rubin Observatory partner logos (NSF, DOE, NOIRLab, AURA, SLAC).

<PartnerLogos alt="Logos of partner organizations." />

The alt prop provides alternative text for accessibility. You can optionally provide a custom image with the src prop:

<PartnerLogos src="/path/to/custom-logos.png" alt="Custom partner logos." />

Link#

The Link component is available for internal navigation links. See Writing content in MDX for details on using this component.

Example footer MDX#

Here is a complete example of a footer MDX file:

footer.mdx#
{/* Custom footer content */}
{/* Available components: FooterNav, FundingNotice, PartnerLogos, Link */}

<FooterNav>
  <Link href="/terms">Acceptable use policy</Link>
</FooterNav>

<FundingNotice>

The U.S. National Science Foundation ([NSF](https://www.nsf.gov/)) and the U.S. Department of Energy ([DOE](https://www.energy.gov/)) Office of Science will support Rubin Observatory in its operations phase to carry out the Legacy Survey of Space and Time.

NSF is an independent federal agency created by Congress in 1950 to promote the progress of science.

</FundingNotice>

<PartnerLogos alt="Logos of the Vera C. Rubin Observatory, NSF, US DOE, NOIRLab, AURA, and SLAC." />

This example demonstrates:

  • Comments: Use {/* comment */} syntax for MDX comments.

  • FooterNav: Contains navigation links using the Link component.

  • FundingNotice: Multi-paragraph funding text with inline Markdown links.

  • PartnerLogos: Partner logo display with descriptive alt text.

This page was last modified on 2025-12-02.

https://squareone.lsst.io/apps/squareone/footer-customization.html

previous

Documentation page

next

COmanage enrollment landing pages

Help improve this page

Found a mistake or something missing? Edit this page on GitHub.

This page was last modified on 2025-12-02.

On this page
  • Configuration
    • footerMdxPath
  • Footer components
    • FooterNav
    • FundingNotice
    • PartnerLogos
    • Link
  • Example footer MDX

Rubin Observatory

  • For scientists
  • News

Documentation

data.lsst.cloud

Community forum

© Copyright 2021-2023 Association of Universities for Research in Astronomy, Inc. (AURA).

The U.S. National Science Foundation (NSF) and the U.S. Department of Energy (DOE) Office of Science will support Rubin Observatory in its operations phase to carry out the Legacy Survey of Space and Time. They will also provide support for scientific research with the data. During operations, NSF funding is managed by the Association of Universities for Research in Astronomy (AURA) under a cooperative agreement with NSF, and DOE funding is managed by SLAC National Accelerator Laboratory (SLAC), under contract by DOE. Rubin Observatory is operated by NSF NOIRLab and SLAC.

NSF is an independent federal agency created by Congress in 1950 to promote the progress of science. NSF supports basic research and people to create knowledge that transforms the future.

The DOE Office of Science is the single largest supporter of basic research in the physical sciences in the United States and is working to address some of the most pressing challenges of our time.

Logos of the Vera C. Rubin Observatory, NSF, US DOE, NOIRLab, AURA, and SLAC.