Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: Add support for text mints #411

Merged
merged 30 commits into from
Jun 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
9497134
feat: Add support for typed based nfts
kittypurrry Mar 28, 2024
a5f11b0
Some updates to display token's displayuri instead of artifact
kittypurrry Apr 7, 2024
3ddd0b6
Update Monotype art to use 'IBM Mono Plex' to be consistent with type…
kittypurrry Apr 7, 2024
8aa8566
Remove monaco
kittypurrry Apr 7, 2024
9baff04
Merge branch 'teia-community:main' into feat/typed-nft
kittypurrry Apr 8, 2024
4328cc0
Fix lint errors
kittypurrry Apr 13, 2024
1c48db3
Merge branch 'teia-community:main' into feat/typed-nft
kittypurrry Apr 14, 2024
8fef7bc
Fix some UI issues while minting - switching between preview and edit…
kittypurrry Apr 14, 2024
9616958
Minor UI updates for very long text mints
kittypurrry Apr 14, 2024
6424135
Some minor adjustments
kittypurrry Apr 16, 2024
4e81265
Replace UltimateTextToImage with canvas solution
kittypurrry Apr 21, 2024
629db11
Merge branch 'main' into feat/typed-nft
kittypurrry Apr 21, 2024
b219adf
chore: ♻️ apply format
melMass May 2, 2024
3b836bf
fix: ✨ minor edits
melMass May 2, 2024
c7feab5
Fix font issue for generated thumbnail and changed mono font to Iosevka
kittypurrry May 5, 2024
aaea30c
Add comments and refactor thumbnail generation a bit
kittypurrry May 5, 2024
5777d40
Update char length before ellipsis since text size can accomodate for…
kittypurrry May 5, 2024
25ab072
Merge branch 'main' into feat/typed-nft
melMass May 11, 2024
b993686
style: 💎 fix various styles issues
melMass May 11, 2024
dbcf13d
chore: 🧹 convert typed_art utils to ts
melMass May 11, 2024
324478f
refactor: 📦 image generation logic
melMass May 11, 2024
9f21675
fix: 🐛 issues reported by CI
melMass May 11, 2024
1ebe8a1
fix: preview generation
melMass May 20, 2024
45e243e
chore: 🧹 prefer const
melMass May 20, 2024
8934d88
hide scrollbars and add text feed to the menu
Zir0h May 26, 2024
f5afa3c
disable description in preview cards for text/plain tokens
Zir0h May 26, 2024
7190069
use overflow:scroll
Zir0h Jun 5, 2024
e15a53f
mess around with overflow / whitespace
Zir0h Jun 6, 2024
481c8cf
Merge branch 'main' into feat/typed-nft
Zir0h Jun 6, 2024
747143a
added padding
Zir0h Jun 6, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions docker/previews.lua
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ function _M.findProfileDetails(search)
profile['description'] = _M.clean(data['metadata']['data']['description'])
profile['image'] = _M.clean(data['metadata']['data']['identicon'])
profile['type'] = 'profile'
profile['mime_type'] = ''
return profile
end

Expand Down Expand Up @@ -116,16 +117,16 @@ function _M.injectOpenGraphTags(body, info)
end

local openGraphTags = '' ..
'<meta name="description" content="' .. info['description'] .. '" />' ..
'<meta name="description" content="' .. (info['mime_type'] == 'text/plain' and '' or info['description']) .. '" />' ..
'<meta property="og:type" content="website" />' ..
'<meta property="og:title" content="' .. info['name'] .. '" />' ..
'<meta property="og:description" content="' .. info['description'] .. '" />' ..
'<meta property="og:description" content="' .. (info['mime_type'] == 'text/plain' and '' or info['description']) .. '" />' ..
'<meta property="og:image" content="' .. info['image'] .. '" />' ..
'<meta property="og:url" content="' .. url .. ngx.var.request_uri .. '" />' ..
'<meta name="twitter:card" content="summary_large_image" />' ..
'<meta name="twitter:creator" content="@TeiaCommunity" />' ..
'<meta name="twitter:title" content="' .. info['name'] .. '" />' ..
'<meta name="twitter:description" content="' .. info['description'] .. '" />' ..
'<meta name="twitter:description" content="' .. (info['mime_type'] == 'text/plain' and '' or info['description']) .. '" />' ..
'<meta name="twitter:image" content="' .. info['image'] .. '" />' ..
'<meta property="fc:frame" content="vNext"/>' ..
'<meta property="fc:frame:image" content="' .. image .. '"/>' ..
Expand Down
Loading
Loading