Skip to content

Commit 31c41fe

Browse files
committed
fix(v4): match footer profile link
1 parent 50d98ec commit 31c41fe

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

apps/v4/e2e/site.spec.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ test.describe("shadcn v4 site", () => {
6262
await expect(page.locator(".home-examples-root")).toContainText("Compute Environment")
6363
await expect(page.locator(".home-examples-root")).toContainText("How did you hear about us?")
6464
await expect(page.locator(".home-examples-root")).toContainText("Processing your request")
65+
await expect(page.getByRole("contentinfo").getByRole("link", { name: "shadcn" })).toHaveAttribute(
66+
"href",
67+
"https://twitter.com/shadcn",
68+
)
6569

6670
await page.goto("/docs")
6771

apps/v4/src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1031,7 +1031,7 @@ export function App(props: AppProps) {
10311031
<footer class="site-footer">
10321032
<div class="container footer-row">
10331033
<p>
1034-
Built by <a href="https://x.com/shadcn">shadcn</a> at{" "}
1034+
Built by <a href="https://twitter.com/shadcn">shadcn</a> at{" "}
10351035
<a href="https://vercel.com/new?utm_source=shadcn_site&utm_medium=web&utm_campaign=docs_cta_deploy_now_callout">
10361036
Vercel
10371037
</a>

0 commit comments

Comments
 (0)