Skip to content

Commit 003fee2

Browse files
committed
fix: migrated to a new BlueskyPostEmbed file in global folder and
removed legacy approaches
1 parent c314403 commit 003fee2

File tree

6 files changed

+5
-116
lines changed

6 files changed

+5
-116
lines changed

app/components/EmbeddableBlueskyPost.client.vue

Lines changed: 0 additions & 94 deletions
This file was deleted.

app/components/EmbeddableBlueskyPost.vue renamed to app/components/global/BlueskyPostEmbed.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,11 @@ function onPostMessage(event: MessageEvent) {
8787
max-width: 37.5rem;
8888
width: 100%;
8989
margin: 1.5rem auto;
90+
/* ARC: Necessary to remove the thin white line at the bottom of the embed. Also sets border-radius */
9091
border-radius: 0.75rem;
9192
overflow: hidden;
93+
/* CHROME: Necessary to remove the thin white line at the bottom of the embed. Also sets border-radius */
94+
clip-path: inset(0 0 1px 0 round 0.75rem);
9295
}
9396
9497
.bluesky-embed-container > .loading-spinner {

app/pages/blog/alpha-release.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ people's frustrations with the npm experience on the web and the CLI. The questi
4343
as they voiced frustrations with the user experience including code browsing, missing data, trust signals, surfacing
4444
dependencies, and the friction surrounding the publishing experience.
4545

46-
<EmbeddableBlueskyPost url="https://bsky.app/profile/danielroe.dev/post/3md3cmrg56k2r" />
46+
<BlueskyPostEmbed url="https://bsky.app/profile/danielroe.dev/post/3md3cmrg56k2r" />
4747

4848
It was clear there was a huge opportunity to build a fast, modern browser for the npm registry with an improved
4949
developer experience, and that there were people willing to work with Daniel to build it.

app/pages/blog/nuxt.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ draft: false
1515

1616
What a great meta-framework!!
1717

18-
<EmbeddableBlueskyPost url="https://bsky.app/profile/danielroe.dev/post/3md3cmrg56k2r" />
18+
<BlueskyPostEmbed url="https://bsky.app/profile/danielroe.dev/post/3md3cmrg56k2r" />

app/plugins/bluesky-embed.client.ts

Lines changed: 0 additions & 10 deletions
This file was deleted.

app/plugins/bluesky-embed.ts

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)