@blockspoon/cert-badge-renderer 1.0.44 → 1.0.46

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -45,7 +45,31 @@ async function generateAchievementHTML(achievementInfo, options = {}) {
45
45
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
46
46
  <title>Certificate</title>
47
47
  <style>
48
- @import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');
48
+ /* Pretendard - Regular(400), Medium(500), SemiBold(600), Bold(700) */
49
+ @font-face { font-family: 'Pretendard'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/Pretendard-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; }
50
+ @font-face { font-family: 'Pretendard'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/Pretendard-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; }
51
+ @font-face { font-family: 'Pretendard'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/Pretendard-SemiBold.woff2') format('woff2'); font-weight: 600; font-style: normal; }
52
+ @font-face { font-family: 'Pretendard'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/Pretendard-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; }
53
+ /* BR Firma - Regular(400), Medium(500), SemiBold(600), Bold(700) */
54
+ @font-face { font-family: 'BR Firma'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/BR-Firma-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; }
55
+ @font-face { font-family: 'BR Firma'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/BR-Firma-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; }
56
+ @font-face { font-family: 'BR Firma'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/BR-Firma-SemiBold.woff2') format('woff2'); font-weight: 600; font-style: normal; }
57
+ @font-face { font-family: 'BR Firma'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/BR-Firma-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; }
58
+ /* MaruBuri - Regular(400), SemiBold(600), Bold(700) */
59
+ @font-face { font-family: 'MaruBuri'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/MaruBuri-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; }
60
+ @font-face { font-family: 'MaruBuri'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/MaruBuri-SemiBold.woff2') format('woff2'); font-weight: 600; font-style: normal; }
61
+ @font-face { font-family: 'MaruBuri'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/MaruBuri-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; }
62
+ /* NanumSquareRound - Regular(400), Bold(700) */
63
+ @font-face { font-family: 'NanumSquareRound'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/NanumSquareRoundR.woff2') format('woff2'); font-weight: 400; font-style: normal; }
64
+ @font-face { font-family: 'NanumSquareRound'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/NanumSquareRoundB.woff2') format('woff2'); font-weight: 700; font-style: normal; }
65
+ /* BookkMyungjo - Regular(400), Bold(700) */
66
+ @font-face { font-family: 'BookkMyungjo'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/BookkMyungjo-Lt.woff2') format('woff2'); font-weight: 400; font-style: normal; }
67
+ @font-face { font-family: 'BookkMyungjo'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/BookkMyungjo-Bd.woff2') format('woff2'); font-weight: 700; font-style: normal; }
68
+ /* BookkGothic - Regular(400), Bold(700) */
69
+ @font-face { font-family: 'BookkGothic'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/BookkGothic-Lt.woff2') format('woff2'); font-weight: 400; font-style: normal; }
70
+ @font-face { font-family: 'BookkGothic'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/BookkGothic-Bd.woff2') format('woff2'); font-weight: 700; font-style: normal; }
71
+ /* Righteous - Regular(400) */
72
+ @font-face { font-family: 'Righteous'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/Righteous-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; }
49
73
  * {
50
74
  margin: 0;
51
75
  padding: 0;
@@ -44,7 +44,31 @@ async function generateDesignHTML(data, options = {}) {
44
44
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
45
45
  <title>Certificate</title>
46
46
  <style>
47
- @import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');
47
+ /* Pretendard - Regular(400), Medium(500), SemiBold(600), Bold(700) */
48
+ @font-face { font-family: 'Pretendard'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/Pretendard-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; }
49
+ @font-face { font-family: 'Pretendard'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/Pretendard-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; }
50
+ @font-face { font-family: 'Pretendard'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/Pretendard-SemiBold.woff2') format('woff2'); font-weight: 600; font-style: normal; }
51
+ @font-face { font-family: 'Pretendard'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/Pretendard-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; }
52
+ /* BR Firma - Regular(400), Medium(500), SemiBold(600), Bold(700) */
53
+ @font-face { font-family: 'BR Firma'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/BR-Firma-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; }
54
+ @font-face { font-family: 'BR Firma'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/BR-Firma-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; }
55
+ @font-face { font-family: 'BR Firma'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/BR-Firma-SemiBold.woff2') format('woff2'); font-weight: 600; font-style: normal; }
56
+ @font-face { font-family: 'BR Firma'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/BR-Firma-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; }
57
+ /* MaruBuri - Regular(400), SemiBold(600), Bold(700) */
58
+ @font-face { font-family: 'MaruBuri'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/MaruBuri-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; }
59
+ @font-face { font-family: 'MaruBuri'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/MaruBuri-SemiBold.woff2') format('woff2'); font-weight: 600; font-style: normal; }
60
+ @font-face { font-family: 'MaruBuri'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/MaruBuri-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; }
61
+ /* NanumSquareRound - Regular(400), Bold(700) */
62
+ @font-face { font-family: 'NanumSquareRound'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/NanumSquareRoundR.woff2') format('woff2'); font-weight: 400; font-style: normal; }
63
+ @font-face { font-family: 'NanumSquareRound'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/NanumSquareRoundB.woff2') format('woff2'); font-weight: 700; font-style: normal; }
64
+ /* BookkMyungjo - Regular(400), Bold(700) */
65
+ @font-face { font-family: 'BookkMyungjo'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/BookkMyungjo-Lt.woff2') format('woff2'); font-weight: 400; font-style: normal; }
66
+ @font-face { font-family: 'BookkMyungjo'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/BookkMyungjo-Bd.woff2') format('woff2'); font-weight: 700; font-style: normal; }
67
+ /* BookkGothic - Regular(400), Bold(700) */
68
+ @font-face { font-family: 'BookkGothic'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/BookkGothic-Lt.woff2') format('woff2'); font-weight: 400; font-style: normal; }
69
+ @font-face { font-family: 'BookkGothic'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/BookkGothic-Bd.woff2') format('woff2'); font-weight: 700; font-style: normal; }
70
+ /* Righteous - Regular(400) */
71
+ @font-face { font-family: 'Righteous'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/Righteous-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; }
48
72
  * {
49
73
  margin: 0;
50
74
  padding: 0;
@@ -45,7 +45,31 @@ async function generateAchievementHTML(achievementInfo, options = {}) {
45
45
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
46
46
  <title>Certificate</title>
47
47
  <style>
48
- @import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');
48
+ /* Pretendard - Regular(400), Medium(500), SemiBold(600), Bold(700) */
49
+ @font-face { font-family: 'Pretendard'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/Pretendard-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; }
50
+ @font-face { font-family: 'Pretendard'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/Pretendard-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; }
51
+ @font-face { font-family: 'Pretendard'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/Pretendard-SemiBold.woff2') format('woff2'); font-weight: 600; font-style: normal; }
52
+ @font-face { font-family: 'Pretendard'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/Pretendard-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; }
53
+ /* BR Firma - Regular(400), Medium(500), SemiBold(600), Bold(700) */
54
+ @font-face { font-family: 'BR Firma'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/BR-Firma-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; }
55
+ @font-face { font-family: 'BR Firma'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/BR-Firma-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; }
56
+ @font-face { font-family: 'BR Firma'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/BR-Firma-SemiBold.woff2') format('woff2'); font-weight: 600; font-style: normal; }
57
+ @font-face { font-family: 'BR Firma'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/BR-Firma-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; }
58
+ /* MaruBuri - Regular(400), SemiBold(600), Bold(700) */
59
+ @font-face { font-family: 'MaruBuri'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/MaruBuri-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; }
60
+ @font-face { font-family: 'MaruBuri'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/MaruBuri-SemiBold.woff2') format('woff2'); font-weight: 600; font-style: normal; }
61
+ @font-face { font-family: 'MaruBuri'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/MaruBuri-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; }
62
+ /* NanumSquareRound - Regular(400), Bold(700) */
63
+ @font-face { font-family: 'NanumSquareRound'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/NanumSquareRoundR.woff2') format('woff2'); font-weight: 400; font-style: normal; }
64
+ @font-face { font-family: 'NanumSquareRound'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/NanumSquareRoundB.woff2') format('woff2'); font-weight: 700; font-style: normal; }
65
+ /* BookkMyungjo - Regular(400), Bold(700) */
66
+ @font-face { font-family: 'BookkMyungjo'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/BookkMyungjo-Lt.woff2') format('woff2'); font-weight: 400; font-style: normal; }
67
+ @font-face { font-family: 'BookkMyungjo'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/BookkMyungjo-Bd.woff2') format('woff2'); font-weight: 700; font-style: normal; }
68
+ /* BookkGothic - Regular(400), Bold(700) */
69
+ @font-face { font-family: 'BookkGothic'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/BookkGothic-Lt.woff2') format('woff2'); font-weight: 400; font-style: normal; }
70
+ @font-face { font-family: 'BookkGothic'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/BookkGothic-Bd.woff2') format('woff2'); font-weight: 700; font-style: normal; }
71
+ /* Righteous - Regular(400) */
72
+ @font-face { font-family: 'Righteous'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/Righteous-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; }
49
73
  * {
50
74
  margin: 0;
51
75
  padding: 0;
@@ -44,7 +44,31 @@ async function generateDesignHTML(data, options = {}) {
44
44
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
45
45
  <title>Certificate</title>
46
46
  <style>
47
- @import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');
47
+ /* Pretendard - Regular(400), Medium(500), SemiBold(600), Bold(700) */
48
+ @font-face { font-family: 'Pretendard'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/Pretendard-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; }
49
+ @font-face { font-family: 'Pretendard'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/Pretendard-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; }
50
+ @font-face { font-family: 'Pretendard'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/Pretendard-SemiBold.woff2') format('woff2'); font-weight: 600; font-style: normal; }
51
+ @font-face { font-family: 'Pretendard'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/Pretendard-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; }
52
+ /* BR Firma - Regular(400), Medium(500), SemiBold(600), Bold(700) */
53
+ @font-face { font-family: 'BR Firma'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/BR-Firma-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; }
54
+ @font-face { font-family: 'BR Firma'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/BR-Firma-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; }
55
+ @font-face { font-family: 'BR Firma'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/BR-Firma-SemiBold.woff2') format('woff2'); font-weight: 600; font-style: normal; }
56
+ @font-face { font-family: 'BR Firma'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/BR-Firma-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; }
57
+ /* MaruBuri - Regular(400), SemiBold(600), Bold(700) */
58
+ @font-face { font-family: 'MaruBuri'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/MaruBuri-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; }
59
+ @font-face { font-family: 'MaruBuri'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/MaruBuri-SemiBold.woff2') format('woff2'); font-weight: 600; font-style: normal; }
60
+ @font-face { font-family: 'MaruBuri'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/MaruBuri-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; }
61
+ /* NanumSquareRound - Regular(400), Bold(700) */
62
+ @font-face { font-family: 'NanumSquareRound'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/NanumSquareRoundR.woff2') format('woff2'); font-weight: 400; font-style: normal; }
63
+ @font-face { font-family: 'NanumSquareRound'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/NanumSquareRoundB.woff2') format('woff2'); font-weight: 700; font-style: normal; }
64
+ /* BookkMyungjo - Regular(400), Bold(700) */
65
+ @font-face { font-family: 'BookkMyungjo'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/BookkMyungjo-Lt.woff2') format('woff2'); font-weight: 400; font-style: normal; }
66
+ @font-face { font-family: 'BookkMyungjo'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/BookkMyungjo-Bd.woff2') format('woff2'); font-weight: 700; font-style: normal; }
67
+ /* BookkGothic - Regular(400), Bold(700) */
68
+ @font-face { font-family: 'BookkGothic'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/BookkGothic-Lt.woff2') format('woff2'); font-weight: 400; font-style: normal; }
69
+ @font-face { font-family: 'BookkGothic'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/BookkGothic-Bd.woff2') format('woff2'); font-weight: 700; font-style: normal; }
70
+ /* Righteous - Regular(400) */
71
+ @font-face { font-family: 'Righteous'; src: url('https://ifwuxxjjypxzrvxilwqy.supabase.co/storage/v1/object/public/blockspoon_images/fonts/Righteous-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; }
48
72
  * {
49
73
  margin: 0;
50
74
  padding: 0;
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file