feat: release new landing page and tailwind updates#426
Conversation
…oup across 1 directory (#412) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…dates (#413) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…dates (#415) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…dates (#417) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…up across 1 directory (#420) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…422) Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
| runs-on: ubuntu-latest | ||
| environment: v3-deployment | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
| - name: Setup Node | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: "20" | ||
| - name: Install yarn | ||
| run: npm install -g yarn | ||
| - name: Restore cache | ||
| uses: actions/cache@v4 | ||
| with: | ||
| path: | | ||
| .next/cache | ||
| key: ${{ runner.os }}-nextjs-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }} | ||
| restore-keys: | | ||
| ${{ runner.os }}-nextjs-${{ hashFiles('**/yarn.lock') }}- | ||
| - name: Install dependencies | ||
| run: yarn install --immutable | ||
| - name: Build component previews | ||
| run: yarn storybook:build | ||
| - name: Build with Next.js | ||
| env: | ||
| NEXT_PUBLIC_APP_URL: ${{ vars.NEXT_PUBLIC_APP_URL }} | ||
| NEXT_PUBLIC_SUPABASE_URL: ${{ vars.NEXT_PUBLIC_SUPABASE_URL }} | ||
| NEXT_PUBLIC_SUPABASE_ANON_KEY: ${{ vars.NEXT_PUBLIC_SUPABASE_ANON_KEY }} | ||
| NEXT_PUBLIC_POSTHOG_KEY: ${{ vars.NEXT_PUBLIC_POSTHOG_KEY }} | ||
| NEXT_PUBLIC_POSTHOG_HOST: ${{ vars.NEXT_PUBLIC_POSTHOG_HOST }} | ||
| NEXT_PUBLIC_PLUNK_API_KEY: ${{ vars.NEXT_PUBLIC_PLUNK_API_KEY }} | ||
| run: yarn build | ||
| - name: Deploy to Cloudflare Pages | ||
| uses: cloudflare/wrangler-action@v3 | ||
| with: | ||
| apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} | ||
| accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} | ||
| command: pages deploy out --project-name=animata-v3 --branch=main | ||
| gitHubToken: ${{ secrets.GITHUB_TOKEN }} |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Deploying animata with
|
| Latest commit: |
4361f7e
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://a03e34ca.animata.pages.dev |
| Branch Preview URL: | https://fix-conflicts.animata.pages.dev |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: cb637cca1d
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
|
||
| if (!doc) { | ||
| notFound(); | ||
| } | ||
|
|
||
| const toc = await getTableOfContents(doc.body.raw); | ||
| const toc = await getTableOfContents(doc.content); |
There was a problem hiding this comment.
getTableOfContents parses markdown, but this call now feeds doc.content, which is Velite’s rendered markdown output rather than the original MDX source; that causes TOC extraction to return empty items and removes the right-hand table of contents for docs pages. The same regression pattern is also present in app/(main)/blog/[[...slug]]/page.tsx, so both sections lose TOC data unless you switch back to raw body content for parsing.
Useful? React with 👍 / 👎.
| if (idPart.startsWith(`${cat}-`)) { | ||
| return `${cat}/${idPart.slice(cat.length + 1)}`; | ||
| } |
There was a problem hiding this comment.
Map preview IDs to actual story modules
This path derivation assumes Storybook IDs map 1:1 to story filenames, but IDs are derived from story title, so valid docs can resolve to non-existent files. For example, button-external-link--primary becomes @/animata/button/external-link.stories while the real file is external-link-button.stories.tsx, which triggers the dynamic import error path and shows a failed preview instead of the component.
Useful? React with 👍 / 👎.
No description provided.