stack/docs/src/components/mdx
Madison dd9938fe57
[Docs][Content] - Rework overview page and slight updates to codeblocks (#1056)
<!--

Make sure you've read the CONTRIBUTING.md guidelines:
https://github.com/stack-auth/stack-auth/blob/dev/CONTRIBUTING.md
-->

## Changes
### overview Page Redesign
- Added centered hero section with Stack Auth logo and welcome message
- Replaced verbose "Why Stack Auth" section with a clean Quick start
guide for next.js
- added Components section with compact card links. 
- Streamlined QuickLinks and Apps sections
- Added lastModified frontmatter support

### Frontmatter schema extension
- Extended frontmatter schema to support optional lastModified field
- Enables pages to display when they were last updated

### Last Modified Display
- Added subtle "Last Updated" text at the bottom of pages that have the
lastModified frontmatter field

### Copy Button for Code Blocks
- Added copy-to-clipboard button to  all codeblocks
- Button appears on hover, shows checkmark feedback when copied
- Applies to all code blocks

### New Code Examples
- Added setup/overview examples for the overview page quick start
	- install - npx command
	- use-auth - useUser example




<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **New Features**
  * Code blocks gain a copy-to-clipboard button.
  * Docs pages now show "Last updated" timestamps when available.

* **Documentation**
* Overview page redesigned into a hero + quick-start, component
showcase, and explore sections with clearer links.
* Setup examples expanded to include an "install" quick-start and an
authentication "use" example.

<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-12-17 15:39:35 -06:00
..
api-sequence-diagram.tsx New docs (#698) 2025-06-20 13:30:01 -07:00
app-card.tsx [docs] Various fixes throughout docs site (#1042) 2025-12-04 08:45:54 -06:00
auth-card.tsx New docs (#698) 2025-06-20 13:30:01 -07:00
base-codeblock.tsx [Docs][Content] - Rework overview page and slight updates to codeblocks (#1056) 2025-12-17 15:39:35 -06:00
button.tsx [Docs][Content] - MCP installation instructions (#915) 2025-10-10 13:31:48 -05:00
card-group.tsx New docs (#698) 2025-06-20 13:30:01 -07:00
card.tsx Adds oauth providers, fixes bottom page navigation with mobile suppor… (#726) 2025-07-08 19:51:24 -07:00
clickable-code-styles.css New docs (#698) 2025-06-20 13:30:01 -07:00
dynamic-code-block-overlay.tsx [Docs][Util][Content] - refactor docs to single source (#919) 2025-10-20 12:42:46 -05:00
dynamic-code-block.tsx [Docs][Util][Content] - refactor docs to single source (#919) 2025-10-20 12:42:46 -05:00
embedded-link.tsx [Docs][Site] + [Dashboard][UI] - Adds docs to Stack Companion (#869) 2025-10-30 20:01:30 -05:00
index.ts [docs] Various fixes throughout docs site (#1042) 2025-12-04 08:45:54 -06:00
info.tsx [Docs][Content] - MCP installation instructions (#915) 2025-10-10 13:31:48 -05:00
jwt-viewer.tsx [Docs][Content][UI] - JWT docs and JWT component (#905) 2025-09-29 13:05:33 -05:00
mdx-cards.css New docs (#698) 2025-06-20 13:30:01 -07:00
mdx-code.css New docs (#698) 2025-06-20 13:30:01 -07:00
mdx-info.css New docs (#698) 2025-06-20 13:30:01 -07:00
mermaid.tsx Fix lint 2025-08-12 18:50:53 -07:00
platform-codeblock.tsx [Docs][Util][Content] - refactor docs to single source (#919) 2025-10-20 12:42:46 -05:00
platform-config.ts [Docs][Util][Content] - refactor docs to single source (#919) 2025-10-20 12:42:46 -05:00
quick-links.tsx [docs] Various fixes throughout docs site (#1042) 2025-12-04 08:45:54 -06:00
reset-code-styles.css New docs (#698) 2025-06-20 13:30:01 -07:00
sdk-components.tsx [Docs][Util][Content] - refactor docs to single source (#919) 2025-10-20 12:42:46 -05:00
stack-container.tsx [Docs][UI] - Components pop-up dynamic-codeblock (#877) 2025-09-10 01:54:20 -05:00
stack-reset.css [Docs][UI] - Components pop-up dynamic-codeblock (#877) 2025-09-10 01:54:20 -05:00