From 2edfdfa49e495c5b9b8a219db7fc7afd20ab4bda Mon Sep 17 00:00:00 2001 From: Kiko Beats Date: Fri, 2 Aug 2024 10:04:34 +0200 Subject: [PATCH] =?UTF-8?q?docs:=20rename=20twitter=20=E2=86=92=20x=20(#17?= =?UTF-8?q?38)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * ci: remove urlint use lychee instead * docs: rename twitter → x --- src/components/patterns/Microlink/Microlink.stories.js | 7 +++---- src/components/patterns/Toolbar/ToolbarLinks.js | 2 +- src/pages/blog/custom-rules.md | 2 +- src/pages/blog/microlink-sdk-4-5.md | 4 ++-- src/pages/blog/product-brief-2.md | 4 ++-- src/pages/blog/product-brief-3.md | 2 +- src/pages/blog/product-brief-4.md | 8 ++++---- src/pages/docs/api/parameters/iframe.md | 3 +-- 8 files changed, 15 insertions(+), 17 deletions(-) diff --git a/src/components/patterns/Microlink/Microlink.stories.js b/src/components/patterns/Microlink/Microlink.stories.js index b9fcd21de..e7a62694f 100644 --- a/src/components/patterns/Microlink/Microlink.stories.js +++ b/src/components/patterns/Microlink/Microlink.stories.js @@ -9,7 +9,7 @@ const code = ` import { Microlink } from 'components/patterns' import { Fragment } from 'react' -const url = 'https://twitter.com/futurism/status/882987478541533189' +const url = 'https://x.com/futurism/status/882987478541533189' export default () => ( @@ -26,8 +26,7 @@ const DATA = { title: 'Futurism on Twitter', publisher: 'Twitter', image: { - url: - 'https://pbs.twimg.com/amplify_video_thumb/882986340605939712/img/k-NlEfo7z0Xvo9ab.jpg', + url: 'https://pbs.twimg.com/amplify_video_thumb/882986340605939712/img/k-NlEfo7z0Xvo9ab.jpg', width: 720, height: 720, type: 'jpg', @@ -44,7 +43,7 @@ const DATA = { size: 2113, size_pretty: '2.11 kB' }, - url: 'https://twitter.com/futurism/status/882987478541533189' + url: 'https://x.com/futurism/status/882987478541533189' } storiesOf('Patterns', module).add('Microlink', () => ( diff --git a/src/components/patterns/Toolbar/ToolbarLinks.js b/src/components/patterns/Toolbar/ToolbarLinks.js index 3845ddc86..910a7135c 100644 --- a/src/components/patterns/Toolbar/ToolbarLinks.js +++ b/src/components/patterns/Toolbar/ToolbarLinks.js @@ -192,7 +192,7 @@ export const NavGitHub = createNavItem({ export const NavTwitter = createNavItem({ children: 'Twitter', - href: 'https://twitter.com/microlinkhq', + href: 'https://x.com/microlinkhq', title: '@microlinkhq on Twitter', icon: false }) diff --git a/src/pages/blog/custom-rules.md b/src/pages/blog/custom-rules.md index 71e6ff671..2ee183384 100644 --- a/src/pages/blog/custom-rules.md +++ b/src/pages/blog/custom-rules.md @@ -18,7 +18,7 @@ Today we’re happy to introduce a new core functionality called **Custom Rules* **Custom Rules** provide you an interface to interact with the API, specifying new data fields that can be extracted from an specific URL. -Imagine you want ot interact with an Instagram profile url, like [@elonmusk](https://twitter.com/elonmusk)'s profile. +Imagine you want ot interact with an Instagram profile url, like [@elonmusk](https://x.com/elonmusk)'s profile. ![](https://i.imgur.com/subDjQ1.png) diff --git a/src/pages/blog/microlink-sdk-4-5.md b/src/pages/blog/microlink-sdk-4-5.md index 1543b9a13..9ea9a4448 100644 --- a/src/pages/blog/microlink-sdk-4-5.md +++ b/src/pages/blog/microlink-sdk-4-5.md @@ -17,7 +17,7 @@ Microlink SDK size variations. The card approach improves a lot of the URL preview experience, making it possible for you to adopt it on your own website or application. -However, some domains on the Internet (like **Instagram**, **SoundCloud**, **Spotify**, **Facebook**, **Twitter**,…) have their own way of embedding their content, making the Microlink card displayed less recognizable than using their own way. +However, some domains on the Internet (like **Instagram**, **SoundCloud**, **Spotify**, **Facebook**, **X**,…) have their own way of embedding their content, making the Microlink card displayed less recognizable than using their own way. **Microlink SDK v4.5** introduces the ability to set `iframe` as the [media](/docs/sdk/parameters/media/) property for using a native embed solution always when it's available. @@ -90,6 +90,6 @@ A non exhaustive list of the most common providers could be: - [Spotify](/meta?url=https%3A%2F%2Fopen.spotify.com%2Ftrack%2F1W2919zs8SBCLTrOB1ftQT) - [TED](/meta?url=https%3A%2F%2Fwww.ted.com%2Ftalks%2Fmonique_w_morris_why_black_girls_are_targeted_for_punishment_at_school_and_how_to_change_that%3Futm_campaign%3Dtedspread%26utm_medium%3Dreferral%26utm_source%3Dtedcomshare) - [Twitch](/meta?url=https%3A%2F%2Fwww.twitch.tv%2Fshroud%2Fclip%2FAuspiciousTubularBunnyFUNgineer) -- [Twitter](/meta?url=https%3A%2F%2Ftwitter.com%2Ffuturism%2Fstatus%2F882987478541533189) - [Vimeo](/meta?url=https%3A%2F%2Fvimeo.com%2F186386161) +- [X](/meta?url=https%3A%2F%2Fx.com%2Ffuturism%2Fstatus%2F882987478541533189) - [YouTube](/meta?url=https%3A%2F%2Fyoutube.com%2Fwatch%3Fv%3D9P6rdqiybaw) diff --git a/src/pages/blog/product-brief-2.md b/src/pages/blog/product-brief-2.md index 2775d91c5..dff632176 100644 --- a/src/pages/blog/product-brief-2.md +++ b/src/pages/blog/product-brief-2.md @@ -42,7 +42,7 @@ Maintaining documentation is laborious and requires effort. We needed to combine After comparing multiple approaches on the matter and seeing how other companies take on the challenge, we decided on [Vercel documentation](https://github.com/vercel/docs) portal. - + Although it required some laborious work, the final result is impressive. We are very grateful to [Vercel](https://vercel.com) for making it possible. @@ -56,7 +56,7 @@ Our current target is improving the data accuracy related with **video** content On this period, we did a lot of internal improvements and developed [metascraper-youtube](https://www.npmjs.com/package/metascraper-youtube) for enhancing the results when you want to get information from a YouTube url. -Under the hood, we’re testing something pretty exciting: Adding a new **video property** ([spoiler](https://api.microlink.io/?url=https://twitter.com/verge/status/957383241714970624)) into the [Microlink API](/docs/api). +Under the hood, we’re testing something pretty exciting: Adding a new **video property** ([spoiler](https://api.microlink.io/?url=https://x.com/verge/status/957383241714970624)) into the [Microlink API](/docs/api). It would return any video detected in the target URL. This also allowing us to build a richer content preview (with the [Microlink SDK](/docs/sdk/getting-started/overview/)). diff --git a/src/pages/blog/product-brief-3.md b/src/pages/blog/product-brief-3.md index f4f55b2ac..f97a9f298 100644 --- a/src/pages/blog/product-brief-3.md +++ b/src/pages/blog/product-brief-3.md @@ -75,7 +75,7 @@ We added properties to control the video, like [autoplay](/docs/sdk/parameters/m
Our fancy loading animation, claps to{' '} - 👏. + 👏.
We improved the transition between how the card looks before the content of the card is loaded, to give it a more *natural* look. diff --git a/src/pages/blog/product-brief-4.md b/src/pages/blog/product-brief-4.md index 8cee0b93e..1b898f35d 100644 --- a/src/pages/blog/product-brief-4.md +++ b/src/pages/blog/product-brief-4.md @@ -79,14 +79,14 @@ We extended the original idea, adding support for detecting more video providers -**Twitter** - - - **Vimeo** +**X** + + + **YouTube** diff --git a/src/pages/docs/api/parameters/iframe.md b/src/pages/docs/api/parameters/iframe.md index 645fae50d..b6de81db9 100644 --- a/src/pages/docs/api/parameters/iframe.md +++ b/src/pages/docs/api/parameters/iframe.md @@ -317,7 +317,6 @@ A non exhaustive list of supported providers are: - [Tuxx](https://www.tuxx.be/) - [tvcf](https://tvcf.co.kr) - [Twinmotion](https://twinmotion.unrealengine.com) -- [Twitter](https://www.twitter.com/) - [TypeCast](https://typecast.ai) - [Typlog](https://typlog.com) - [UAPod](https://uapod.univ-antilles.fr/) @@ -349,7 +348,7 @@ A non exhaustive list of supported providers are: - [Wokwi](https://wokwi.com) - [Wolfram Cloud](https://www.wolframcloud.com) - [WordPress.com](https://wordpress.com/) -- [X](https://www.x.com/) +- [X](https://x.com/) - [YouTube](https://www.youtube.com/) - [YUMPU](https://www.yumpu.com/) - [Zeplin](https://zeplin.io)