Skip to content

Commit

Permalink
Update Twitter URL
Browse files Browse the repository at this point in the history
  • Loading branch information
diegohaz committed May 19, 2024
1 parent c366d7d commit aa6920e
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ body:
label: Workaround
description: >
If you have fixed this issue in userland, please describe your solution here to help others.
[Why are workarounds important?](https://twitter.com/diegohaz/status/1551476114027069441)
[Why are workarounds important?](https://x.com/diegohaz/status/1551476114027069441)
- type: textarea
attributes:
label: Possible solutions
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ body:
label: Workaround
description: >
If you have implemented this feature in userland, please describe or link to your solution here to help others.
[Why are workarounds important?](https://twitter.com/diegohaz/status/1551476114027069441)
[Why are workarounds important?](https://x.com/diegohaz/status/1551476114027069441)
- type: textarea
attributes:
label: Possible implementations
Expand Down
2 changes: 1 addition & 1 deletion examples/combobox-links/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import "./style.css";

const links = [
{
href: "https://twitter.com/ariakitjs",
href: "https://x.com/ariakitjs",
children: "Twitter",
target: "_blank",
},
Expand Down
2 changes: 1 addition & 1 deletion examples/combobox-links/test-browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ test("click on target blank link", async ({ page, context }) => {
]);
await expect(getPopover(page)).not.toBeVisible();
await expect(getCombobox(page)).toHaveValue("");
await expect(newPage).toHaveURL(/https:\/\/twitter.com/);
await expect(newPage).toHaveURL(/https:\/\/x.com/);
});

test("https://github.com/ariakit/ariakit/issues/2056", async ({ page }) => {
Expand Down
7 changes: 2 additions & 5 deletions examples/hovercard-disclosure/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default function Example() {
<span className="hovercard-wrapper">
<Ariakit.HovercardProvider>
<Ariakit.HovercardAnchor
href="https://twitter.com/ariakitjs"
href="https://x.com/ariakitjs"
className="anchor"
>
@ariakitjs
Expand All @@ -37,10 +37,7 @@ export default function Example() {
Ariakit
</Ariakit.HovercardHeading>
<p>Toolkit for building accessible web apps with React.</p>
<a
href="https://twitter.com/ariakitjs"
className="button primary flat"
>
<a href="https://x.com/ariakitjs" className="button primary flat">
Follow
</a>
</Ariakit.Hovercard>
Expand Down
2 changes: 1 addition & 1 deletion examples/hovercard-shadow-dom/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default function Example() {
if (open) setCount(count + 1);
}}
>
<Ariakit.HovercardAnchor href="https://twitter.com/ariakitjs">
<Ariakit.HovercardAnchor href="https://x.com/ariakitjs">
@ariakitjs
</Ariakit.HovercardAnchor>
<Ariakit.Hovercard gutter={16}>
Expand Down
7 changes: 2 additions & 5 deletions examples/hovercard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default function Example() {
<div className="wrapper">
<Ariakit.HovercardProvider>
<Ariakit.HovercardAnchor
href="https://twitter.com/ariakitjs"
href="https://x.com/ariakitjs"
className="anchor"
>
@ariakitjs
Expand All @@ -21,10 +21,7 @@ export default function Example() {
Ariakit
</Ariakit.HovercardHeading>
<p>Toolkit for building accessible web apps with React.</p>
<a
href="https://twitter.com/ariakitjs"
className="button primary flat"
>
<a href="https://x.com/ariakitjs" className="button primary flat">
Follow
</a>
</Ariakit.Hovercard>
Expand Down
2 changes: 1 addition & 1 deletion packages/ariakit-react-core/src/focusable/focusable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ export const useFocusable = createHook<TagName, FocusableOptions>(
// don't pass the autoFocus prop to the element and instead manually focus
// the element when it's mounted. The order in which this effect runs also
// matters. See
// https://twitter.com/diegohaz/status/1408180632933388289
// https://x.com/diegohaz/status/1408180632933388289
const autoFocusRef = useEvent((element: HTMLElement | null) => {
if (!focusable) return;
if (!autoFocus) return;
Expand Down
2 changes: 1 addition & 1 deletion packages/ariakit-react/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<img alt="GitHub Repo stars" src="https://img.shields.io/github/stars/ariakit/ariakit?style=social">
</a>
&nbsp;
<a href="https://twitter.com/ariakitjs">
<a href="https://x.com/ariakitjs">
<img alt="Follow Ariakit on Twitter" src="https://img.shields.io/twitter/follow/ariakitjs.svg">
</a>
</div>
Expand Down
2 changes: 1 addition & 1 deletion website/components/footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const links = [
{
title: "Community",
links: [
{ title: "Twitter", href: "https://twitter.com/ariakitjs" },
{ title: "Twitter", href: "https://x.com/ariakitjs" },
{ title: "GitHub", href: "https://github.com/ariakit/ariakit" },
{
title: "Discussions",
Expand Down

0 comments on commit aa6920e

Please sign in to comment.