Skip to content

Add Table of Contents component and integrate it into the Page layout #38

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

maribelferreira
Copy link
Collaborator

@maribelferreira maribelferreira commented Apr 17, 2025

Copy link

cloudflare-workers-and-pages bot commented Apr 17, 2025

Deploying veraid-website with  Cloudflare Pages  Cloudflare Pages

Latest commit: 1a2aa4e
Status: ✅  Deploy successful!
Preview URL: https://c684b678.veraid-website.pages.dev
Branch Preview URL: https://toc.veraid-website.pages.dev

View logs

Copy link
Member

@gnarea gnarea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but I think we should hide it on mobile.

}

interface Props {
frontmatter?: Frontmatter;
showBrandInTitle?: boolean;
headings?: Heading[];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this property actually used? Where?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gnarea Yes, this property is needed to receive and utilise heading data that Astro automatically extracts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants