$ show yangshun/front-end-interview-handbook
This repository is the Front End Interview Handbook, a comprehensive collection of front-end interview questions and answers covering HTML, CSS, JavaScript, system design, behavioral topics, and company-specific experiences. It is built as a static documentation site using Docusaurus 3, with a custom theme that includes sidebar advertisements and a modified table of contents. The site supports 10 languages through i18n and is deployed at frontendinterviewhandbook.com. While primarily a content repository, it demonstrates solid software engineering practices in its Docusaurus configuration, custom theme components, and multilingual setup. The content is curated from the h5bp/Front-end-Developer-Interview-Questions repository and community contributions, with references to authoritative sources. The repository also includes blog posts and success stories. It is not a traditional application or data pipeline but a hybrid of a documentation site and a curated knowledge base.
The LLM identified 2 files worth highlighting for reuse:
A reusable Docusaurus component that displays sidebar advertisements with an animated gradient border. It conditionally shows different ads (GreatFrontEnd or FAANGTechLeads) based on the current URL path, using BrowserOnly to avoid SSR issues. The component is self-contained, uses CSS @property for animation, and can be easily extracted into other Docusaurus projects.
A custom table of contents component that overrides the default Docusaurus TOC to include an advertisement at the top. It demonstrates how to swizzle Docusaurus theme components and inject custom content while preserving original functionality. The component is isolated and can be reused in other Docusaurus sites needing custom TOC behavior.