This repository was archived by the owner on Aug 7, 2024. It is now read-only.
Commit b098d3c
feat: user profile embed on external site (#9500)
* feat: add `@vercel/og` package
* feat: boilerplate embed endpoint on `edge` runtime
* feat: integrate `embed` endpoint into `[username]` route SSR
* feat: add `satori`; remove `@vercel/og` package
* feat: add embed `Profile` component
* feat: integrate embed `Profile` with `satori` in `embed` endpoint
* chore: move `Youtube` to `embeds/internal` dir
* feat: boilerplate embed url on user profile
* fix: nits
* feat: add `twemoji` util function
* feat: implement `twemoji` in `loadAdditiionalAsset` prop
* feat: add embed url field to profile share modal
* chore: modify theme fallback value
* fix(build): generate new `package-lock`
* Update components/embeds/external/Profile.js
* refactor: merge repeated part in components/user/UserProfile.js
Suggestion by @a0m0rajab
Co-authored-by: Abdurrahman Rajab <[email protected]>
* fix: remove redundant return
---------
Co-authored-by: Eddie Jaoude <[email protected]>
Co-authored-by: Abdurrahman Rajab <[email protected]>1 parent 56ca28a commit b098d3c
File tree
15 files changed
+4887
-1691
lines changed- components
- embeds
- external
- internal
- user
- pages
- api/profiles/[username]
- docs
- how-to-guides
- public
- services/utils
15 files changed
+4887
-1691
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
File renamed without changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
156 | 157 | | |
157 | 158 | | |
158 | 159 | | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
159 | 184 | | |
160 | 185 | | |
161 | 186 | | |
| |||
0 commit comments