ts-glitter 13.8.791 → 13.8.795

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.
Files changed (32) hide show
  1. package/lowcode/Entry.js +1 -1
  2. package/lowcode/Entry.ts +1 -1
  3. package/lowcode/cms-plugin/ai-message.js +1 -1
  4. package/lowcode/cms-plugin/ai-message.ts +1 -1
  5. package/lowcode/editor-config.js +1 -1
  6. package/lowcode/editor-config.ts +1 -1
  7. package/lowcode/glitterBundle/module/html-generate.js +2 -2
  8. package/lowcode/glitterBundle/module/html-generate.ts +2 -2
  9. package/lowcode/landing-page/about-src/Frame 1368227889.png +0 -0
  10. package/lowcode/landing-page/about-src/Frame 1368227890.png +0 -0
  11. package/lowcode/landing-page/about-src/Frame 1368227891.png +0 -0
  12. package/lowcode/landing-page/about-src/Frame 1368227893.png +0 -0
  13. package/lowcode/landing-page/about-src/Frame 1368227901.png +0 -0
  14. package/lowcode/landing-page/about-src/bg1.png +0 -0
  15. package/lowcode/landing-page/about-src/bg2_desktop.png +0 -0
  16. package/lowcode/landing-page/about-src/ceo.png +0 -0
  17. package/lowcode/landing-page/about-src/cto.png +0 -0
  18. package/lowcode/landing-page/about-src/desk_gp.png +0 -0
  19. package/lowcode/landing-page/about-src/foot-right.png +0 -0
  20. package/lowcode/landing-page/about-src/lily.png +0 -0
  21. package/lowcode/landing-page/about-src/mkt.png +0 -0
  22. package/lowcode/landing-page/about-src/mobile-bg.png +0 -0
  23. package/lowcode/landing-page/about-src/mobile_time_line.png +0 -0
  24. package/lowcode/landing-page/about-src/soe.png +0 -0
  25. package/lowcode/landing-page/about-src/team_work_1.png +0 -0
  26. package/lowcode/landing-page/about-src/team_work_2.png +0 -0
  27. package/lowcode/landing-page/about-src/team_work_3.png +0 -0
  28. package/lowcode/landing-page/about-src/time_line.png +0 -0
  29. package/lowcode/landing-page/about-us.js +156 -14
  30. package/lowcode/landing-page/about-us.ts +156 -14
  31. package/package.json +1 -1
  32. package/src/export/export-test.ts +8 -8
package/lowcode/Entry.js CHANGED
@@ -68,7 +68,7 @@ export class Entry {
68
68
  }
69
69
  window.renderClock = (_a = window.renderClock) !== null && _a !== void 0 ? _a : clockF();
70
70
  console.log(`Entry-time:`, window.renderClock.stop());
71
- glitter.share.editerVersion = 'V_13.8.791';
71
+ glitter.share.editerVersion = 'V_13.8.795';
72
72
  glitter.share.start = new Date();
73
73
  const vm = {
74
74
  appConfig: [],
package/lowcode/Entry.ts CHANGED
@@ -68,7 +68,7 @@ export class Entry {
68
68
  }
69
69
  (window as any).renderClock = (window as any).renderClock ?? clockF();
70
70
  console.log(`Entry-time:`, (window as any).renderClock.stop());
71
- glitter.share.editerVersion = 'V_13.8.791';
71
+ glitter.share.editerVersion = 'V_13.8.795';
72
72
  glitter.share.start = new Date();
73
73
  const vm: {
74
74
  appConfig: any;
@@ -851,7 +851,7 @@ ${BgWidget.save(gvc.event(() => {
851
851
  }
852
852
  }
853
853
  AiMessage.config = {
854
- color: 'linear.svg-gradient(135deg, var(--main-orange) 0%, #ff6c02 100%)',
854
+ color: 'linear-gradient(135deg, var(--main-orange) 0%, #ff6c02 100%)',
855
855
  head: 'https://liondesign-prd.s3.amazonaws.com/file/252530754/1695093945424-Frame 62 (1).png',
856
856
  name: '萊恩設計',
857
857
  user_data: {
@@ -10,7 +10,7 @@ import {AiEditor} from "../editor/ai-editor.js";
10
10
 
11
11
  export class AiMessage {
12
12
  public static config: any = {
13
- color: 'linear.svg-gradient(135deg, var(--main-orange) 0%, #ff6c02 100%)',
13
+ color: 'linear-gradient(135deg, var(--main-orange) 0%, #ff6c02 100%)',
14
14
  head: 'https://liondesign-prd.s3.amazonaws.com/file/252530754/1695093945424-Frame 62 (1).png',
15
15
  name: '萊恩設計',
16
16
  user_data: {
@@ -4,7 +4,7 @@ export class EditorConfig {
4
4
  case 'shopnex':
5
5
  return {
6
6
  main_color: '#FFB400',
7
- btn_background: 'linear.svg-gradient(143deg, #FFB400 -22.7%, #FF6C02 114.57%);',
7
+ btn_background: 'linear-gradient(143deg, #FFB400 -22.7%, #FF6C02 114.57%);',
8
8
  };
9
9
  default:
10
10
  return {
@@ -9,7 +9,7 @@ export class EditorConfig {
9
9
  case 'shopnex':
10
10
  return {
11
11
  main_color: '#FFB400',
12
- btn_background: 'linear.svg-gradient(143deg, #FFB400 -22.7%, #FF6C02 114.57%);',
12
+ btn_background: 'linear-gradient(143deg, #FFB400 -22.7%, #FF6C02 114.57%);',
13
13
  };
14
14
  default:
15
15
  return {
@@ -1688,7 +1688,7 @@ ${obj.gvc.bindView({
1688
1688
  window.parent.document.querySelector(`.it-${widget.id}`).style.background = '#F2F2F2';
1689
1689
  }
1690
1690
  $(e).children('.editorChild').get(0).style.background =
1691
- 'linear.svg-gradient(143deg, rgba(255, 180, 0, 0.2) -22.7%, rgba(255, 108, 2, 0.2) 114.57%)';
1691
+ 'linear-gradient(143deg, rgba(255, 180, 0, 0.2) -22.7%, rgba(255, 108, 2, 0.2) 114.57%)';
1692
1692
  }),
1693
1693
  },
1694
1694
  ];
@@ -1714,7 +1714,7 @@ ${obj.gvc.bindView({
1714
1714
  window.parent.document.querySelector(`.it-${widget.id}`).style.background = '#F2F2F2';
1715
1715
  }
1716
1716
  $(e).children('.editorChild').get(0).style.background =
1717
- 'linear.svg-gradient(143deg, rgba(255, 180, 0, 0.2) -22.7%, rgba(255, 108, 2, 0.2) 114.57%)';
1717
+ 'linear-gradient(143deg, rgba(255, 180, 0, 0.2) -22.7%, rgba(255, 108, 2, 0.2) 114.57%)';
1718
1718
  }),
1719
1719
  },
1720
1720
  {
@@ -2151,7 +2151,7 @@ ${e.line}
2151
2151
  (window.parent as any).document.querySelector(`.it-${widget.id}`).style.background = '#F2F2F2';
2152
2152
  }
2153
2153
  ($(e).children('.editorChild').get(0) as any).style.background =
2154
- 'linear.svg-gradient(143deg, rgba(255, 180, 0, 0.2) -22.7%, rgba(255, 108, 2, 0.2) 114.57%)';
2154
+ 'linear-gradient(143deg, rgba(255, 180, 0, 0.2) -22.7%, rgba(255, 108, 2, 0.2) 114.57%)';
2155
2155
  }),
2156
2156
  },
2157
2157
  ];
@@ -2179,7 +2179,7 @@ ${e.line}
2179
2179
  (window.parent as any).document.querySelector(`.it-${widget.id}`).style.background = '#F2F2F2';
2180
2180
  }
2181
2181
  ($(e).children('.editorChild').get(0) as any).style.background =
2182
- 'linear.svg-gradient(143deg, rgba(255, 180, 0, 0.2) -22.7%, rgba(255, 108, 2, 0.2) 114.57%)';
2182
+ 'linear-gradient(143deg, rgba(255, 180, 0, 0.2) -22.7%, rgba(255, 108, 2, 0.2) 114.57%)';
2183
2183
  }),
2184
2184
  },
2185
2185
  {
@@ -1,20 +1,162 @@
1
1
  const html = String.raw;
2
2
  export class AboutUs {
3
3
  static main(gvc) {
4
- return html `<div class="ms-2 d-flex align-items-center" style="gap:10px;"><svg width="223" height="50" viewBox="0 0 223 28" fill="none"
5
- xmlns="http://www.w3.org/2000/svg">
6
- <path d="M1.812 17.972C2.28067 18.342 3.08233 18.8477 4.217 19.489C5.37633 20.1303 6.474 20.451 7.51 20.451C8.57067 20.451 9.101 20.044 9.101 19.23C9.101 18.86 8.953 18.5393 8.657 18.268C8.361 17.972 7.81833 17.639 7.029 17.269C6.23967 16.899 5.64767 16.6153 5.253 16.418C4.85833 16.196 4.328 15.8507 3.662 15.382C3.02067 14.8887 2.52733 14.383 2.182 13.865C1.19533 12.459 0.702 10.6707 0.702 8.5C0.702 6.32933 1.50367 4.504 3.107 3.024C4.735 1.51933 6.85633 0.766998 9.471 0.766998C11.247 0.766998 12.8873 0.964332 14.392 1.359C15.8967 1.729 16.6737 2.22233 16.723 2.839C16.723 2.913 16.723 2.987 16.723 3.061C16.723 3.92433 16.4517 5.022 15.909 6.354C15.3663 7.66133 14.984 8.389 14.762 8.537C13.1833 7.723 11.765 7.316 10.507 7.316C9.27367 7.316 8.657 7.76 8.657 8.648C8.657 9.19067 9.11333 9.67167 10.026 10.091C10.2233 10.1897 10.507 10.3253 10.877 10.498C11.247 10.6707 11.6663 10.8803 12.135 11.127C12.6283 11.349 13.1463 11.645 13.689 12.015C14.2563 12.3603 14.8607 12.829 15.502 13.421C16.8093 14.6543 17.463 16.2823 17.463 18.305C17.463 20.9443 16.7353 23.1027 15.28 24.78C13.8247 26.4573 11.58 27.3207 8.546 27.37C7.066 27.37 5.72167 27.2467 4.513 27C3.329 26.7533 2.293 26.2723 1.405 25.557C0.517 24.8417 0.073 23.9783 0.073 22.967C0.073 21.9557 0.258 20.9567 0.628 19.97C0.998 18.9587 1.39267 18.2927 1.812 17.972ZM40.6343 26.371C40.6343 26.7903 39.3886 27 36.8973 27C34.4059 27 33.1603 26.7903 33.1603 26.371V17.861H27.9803V26.371C27.9803 26.7903 26.7346 27 24.2433 27C21.7519 27 20.5063 26.7903 20.5063 26.371V1.84C20.5063 1.322 21.7519 1.063 24.2433 1.063C26.7346 1.063 27.9803 1.322 27.9803 1.84V10.535H33.1603V1.914C33.1603 1.56867 33.7769 1.322 35.0103 1.174C35.6516 1.12467 36.2806 1.1 36.8973 1.1L38.7843 1.174C40.0176 1.322 40.6343 1.56867 40.6343 1.914V26.371ZM55.3068 27.37C51.8534 27.37 49.0291 26.2353 46.8338 23.966C44.6631 21.6967 43.5778 18.3913 43.5778 14.05C43.5778 9.684 44.6754 6.37867 46.8708 4.134C49.0908 1.88933 51.9398 0.766998 55.4178 0.766998C58.9204 0.766998 61.7448 1.877 63.8908 4.097C66.0368 6.29233 67.1098 9.63467 67.1098 14.124C67.1098 18.5887 66.0121 21.9187 63.8168 24.114C61.6214 26.2847 58.7848 27.37 55.3068 27.37ZM55.3438 7.871C54.1598 7.871 53.1608 8.41367 52.3468 9.499C51.5574 10.5843 51.1628 12.1137 51.1628 14.087C51.1628 16.0357 51.5451 17.5403 52.3098 18.601C53.0744 19.637 54.0734 20.155 55.3068 20.155C56.5648 20.155 57.5761 19.6247 58.3408 18.564C59.1301 17.5033 59.5248 15.9863 59.5248 14.013C59.5248 12.0397 59.1178 10.5227 58.3038 9.462C57.5144 8.40133 56.5278 7.871 55.3438 7.871ZM73.2995 27.074C71.0548 27.074 69.9325 26.8273 69.9325 26.334V2.358C69.9325 1.51933 70.3148 1.1 71.0795 1.1H77.5915C81.2421 1.1 83.8691 1.85233 85.4725 3.357C87.1005 4.86167 87.9145 7.04467 87.9145 9.906C87.9145 12.274 87.1498 14.4447 85.6205 16.418C84.8558 17.4047 83.7335 18.194 82.2535 18.786C80.7735 19.378 79.0468 19.674 77.0735 19.674V26.297C77.0735 26.593 76.6048 26.8027 75.6675 26.926C74.7548 27.0247 73.9655 27.074 73.2995 27.074ZM77.0735 7.538V13.384H77.5545C78.4178 13.384 79.1455 13.1127 79.7375 12.57C80.3295 12.0273 80.6255 11.2627 80.6255 10.276C80.6255 9.28933 80.4158 8.58633 79.9965 8.167C79.6018 7.74767 78.8865 7.538 77.8505 7.538H77.0735ZM111.458 26.186C111.458 26.704 110.299 26.963 107.98 26.963C105.661 26.963 104.403 26.778 104.206 26.408L98.027 14.864V26.371C98.027 26.815 96.88 27.037 94.586 27.037C92.3167 27.037 91.182 26.815 91.182 26.371V1.618C91.182 1.248 92.1564 1.063 94.105 1.063C94.8697 1.063 95.7577 1.137 96.769 1.285C97.805 1.40833 98.434 1.655 98.656 2.025L104.576 13.421V1.803C104.576 1.33433 105.723 1.1 108.017 1.1C110.311 1.1 111.458 1.33433 111.458 1.803V26.186ZM127.199 11.386C127.668 11.386 127.902 12.2493 127.902 13.976C127.902 14.494 127.841 15.1107 127.717 15.826C127.619 16.5167 127.421 16.862 127.125 16.862H122.426V20.562H129.234C129.654 20.562 129.937 21.1047 130.085 22.19C130.159 22.6587 130.196 23.1643 130.196 23.707C130.196 24.225 130.122 24.9033 129.974 25.742C129.826 26.5807 129.58 27 129.234 27H116.58C115.643 27 115.174 26.6177 115.174 25.853V2.062C115.174 1.42067 115.458 1.1 116.025 1.1H129.271C129.789 1.1 130.048 2.19767 130.048 4.393C130.048 6.56367 129.789 7.649 129.271 7.649H122.426V11.386H127.199ZM147.148 2.099C147.444 1.359 148.986 0.989 151.773 0.989C152.489 0.989 153.364 1.05067 154.4 1.174C155.461 1.27267 155.991 1.37133 155.991 1.47L149.701 14.272L156.213 26.519C156.287 26.6423 155.757 26.7657 154.622 26.889C153.488 26.9877 152.526 27.037 151.736 27.037C148.604 27.037 146.889 26.6177 146.593 25.779L143.818 18.712L141.302 26.001C141.056 26.6917 139.477 27.037 136.566 27.037C135.851 27.037 134.963 26.9877 133.902 26.889C132.842 26.7903 132.361 26.6547 132.459 26.482L138.231 13.68L132.237 1.47C132.163 1.34666 132.669 1.23566 133.754 1.137C134.864 1.01366 135.802 0.951998 136.566 0.951998C139.674 0.951998 141.376 1.396 141.672 2.284L144.225 8.5L147.148 2.099Z"
7
- fill="url(#paint0_linear_3001_1051)"></path>
8
- <defs>
9
- <linearGradient id="paint0_linear_3001_1051" x1="-6" y1="-22.75" x2="13.6088"
10
- y2="74.6316" gradientUnits="userSpaceOnUse">
11
- <stop stop-color="#FFB400"></stop>
12
- <stop offset="1" stop-color="#FF6C02"></stop>
13
- </linearGradient>
14
- </defs>
15
- </svg>
16
- <div style="text-align: center; color: #8D8D8D; font-size: 38px; font-family: Lilita One; font-weight: 400; word-wrap: break-word">POS</div>
17
- </div>`;
4
+ const css = String.raw;
5
+ gvc.addStyle(css `
6
+ .f_40 {
7
+ color: #393939;
8
+ text-align: center;
9
+ font-size: 40px;
10
+ font-style: normal;
11
+ font-weight: 900;
12
+ line-height: normal;
13
+ letter-spacing: 3.2px;
14
+ margin: 0;
15
+ padding: 0;
16
+ }
17
+ .f_20 {
18
+ color: #393939;
19
+ font-size: 20px;
20
+ font-style: normal;
21
+ font-weight: 500;
22
+ line-height: normal;
23
+ letter-spacing: 0.8px;
24
+ margin: 0;
25
+ padding: 0;
26
+ }
27
+ @media (max-width: 768px) {
28
+ .f_40 {
29
+ font-size: 28px;
30
+ }
31
+ .f_20 {
32
+ font-size: 16px;
33
+ }
34
+ .t_m {
35
+ color: #000;
36
+ font-size: 18px;
37
+ font-style: normal;
38
+ font-weight: 500;
39
+ line-height: 140%; /* 25.2px */
40
+ }
41
+ }
42
+ .t_m {
43
+ color: #000;
44
+ font-size: 20px;
45
+ font-style: normal;
46
+ font-weight: 500;
47
+ line-height: 140%; /* 25.2px */
48
+ }
49
+ .c_container {
50
+ width: 1440px;
51
+ }
52
+ .gradint {
53
+ background: linear-gradient(138deg, #FFB400 -7.89%, #FF6C02 107.55%);
54
+ background-clip: text;
55
+ -webkit-background-clip: text;
56
+ -webkit-text-fill-color: transparent;
57
+ }
58
+ `);
59
+ return html `
60
+ <img src="${gvc.glitter.root_path}/landing-page/about-src/${(document.body.clientWidth < 800) ? `mobile-bg` : `bg1`}.png" class="position-absolute left-0 w-100" style="z-index:0;top:60px;">
61
+
62
+ <div class="w-100 d-flex align-items-center justify-content-center position-relative" style="z-index: 2;padding-bottom: 20px;">
63
+ <div class="c_container" style="max-width: 1100px;z-index:3;${((document.body.clientWidth < 800)) ? `padding-left:30px;padding-right:30px;padding-top: 44px;` : `padding-top: 88px;`}">
64
+ <div class="d-flex flex-column align-items-center justify-content-center mx-auto" style="gap:${(((document.body.clientWidth < 800))) ? `16` : `24`}px;">
65
+ <h1 class="f_40">關於我們</h1>
66
+ <h2 class="f_20">從<span class="gradint fw-bold f_20">零</span>開始出發,打造<span class="gradint fw-bold f_20">完美系統</span></h2>
67
+ </div>
68
+ <div style="${(document.body.clientWidth < 800) ? `gap:18px;margin-top: 32px;` : `margin-top: 64px;`}" class="d-flex flex-column flex-sm-row justify-content-between">
69
+ <img src="${gvc.glitter.root_path}/landing-page/about-src/team_work_1.png" class="" style="max-width: 100%;width: 743px;">
70
+ <div class="d-flex flex-lg-column" style="${(document.body.clientWidth < 800) ? `width:100%;` : `width: calc(100% - 773px);`}">
71
+ <img src="${gvc.glitter.root_path}/landing-page/about-src/team_work_3.png" class="" style="${(document.body.clientWidth < 800) ? `width: calc(50% - 10px);` : `width: 100%;`}">
72
+ <div class="flex-fill"></div>
73
+ <img src="${gvc.glitter.root_path}/landing-page/about-src/team_work_2.png" class="" style="${(document.body.clientWidth < 800) ? `width: calc(50% - 10px);` : `width: 100%;`}">
74
+ </div>
75
+ </div>
76
+ <div class="d-flex flex-column align-items-center justify-content-center mx-auto" style="${(((document.body.clientWidth < 800))) ? `gap:8;margin-top:132px;` : `gap:16px;margin-top:200px;`}">
77
+ <h1 class="f_20 gradint fw-bold">一路走來</h1>
78
+ <h2 class="f_40 fw-bold">回顧過去的足跡<br>
79
+ 展望更加輝煌的未來</h2>
80
+ </div>
81
+ ${(document.body.clientWidth > 800) ? `
82
+ <img src="${gvc.glitter.root_path}/landing-page/about-src/time_line.png" class="" style="width: 100%;margin-bottom:293px;margin-top:59px;">
83
+ ` : `
84
+ <img src="${gvc.glitter.root_path}/landing-page/about-src/mobile_time_line.png" class="" style="width: calc(100% + 30px);margin-left:-15px;margin-top:17px;">
85
+ `}
86
+ <div class="d-flex flex-column align-items-center justify-content-center mx-auto" style="${(((document.body.clientWidth < 800))) ? `gap:8;margin-top:132px;` : ``}">
87
+ <h1 class="f_20 gradint fw-bold">團隊介紹</h1>
88
+ <h2 class="f_40 fw-bold">熱愛突破的專家團隊<br>
89
+ 塑造未來電商格局</h2>
90
+ </div>
91
+ <div class="row" style="${document.body.clientWidth < 800 ? `margin-top:47px;margin-bottom:47px;` : `margin-top:97px;margin-bottom:47px;`}">
92
+ ${[
93
+ {
94
+ title: 'Sam',
95
+ carer: 'CEO',
96
+ desc: `曾任上櫃公司軟體架構規劃師,精通多種程式開發領域,是把萬能瑞士刀,可以解決各種技術難題。`,
97
+ src: `ceo`
98
+ },
99
+ {
100
+ title: 'Daniel',
101
+ carer: 'CTO',
102
+ desc: `精通多種編程語言與技術框架,能獨立設計高效且可擴展的系統架構。`,
103
+ src: `cto`
104
+ },
105
+ `empty`,
106
+ `empty`,
107
+ `empty`,
108
+ {
109
+ title: 'Zack',
110
+ carer: 'Senior Engineer',
111
+ desc: `經驗豐富的軟體開發專家,擅長前後端分離及模組化JS渲染工程,提升開發效率並降低錯誤率。`,
112
+ src: `soe`
113
+ },
114
+ {
115
+ title: 'Lily',
116
+ carer: 'Product Manager',
117
+ desc: `負責將創新設計與功能需求融合,推動產品從構想到實現的全過程。`,
118
+ src: `lily`
119
+ },
120
+ {
121
+ title: 'Juno',
122
+ carer: 'Marketing Specialist',
123
+ desc: `擅長制定並執行有效的行銷策略,提升品牌知名度和銷售量。`,
124
+ src: `mkt`
125
+ }
126
+ ].map((dd) => {
127
+ if (dd === 'empty') {
128
+ if (document.body.clientWidth > 800) {
129
+ return `<div class="col-3"></div>`;
130
+ }
131
+ else {
132
+ return ``;
133
+ }
134
+ }
135
+ return `<div class="col-6 col-sm-3 mb-4 mb-lg-5">
136
+ <img src="${gvc.glitter.root_path}/landing-page/about-src/${dd.src}.png" class="w-100 rounded-3" >
137
+ <div class="d-flex flex-column">
138
+ <h3 class="t_m mt-2 m-0 p-0">${dd.title}</h3>
139
+ <div class="fs-base fw-500 " style="color:#ADADAD;margin-top:0px !important;">${dd.carer}</div>
140
+ <span class="fs-6" style="color: #393939;
141
+ font-size: 16px;
142
+ font-style: normal;
143
+ font-weight: 400;
144
+ line-height: normal;
145
+ letter-spacing: 0.64px;">${dd.desc}</span>
146
+ </div>
147
+ </div>`;
148
+ }).join('')}
149
+ </div>
150
+
151
+ </div>
152
+ ${document.body.clientWidth < 1100 ? `<img src="${gvc.glitter.root_path}/landing-page/about-src/foot-right.png" class="position-absolute " style="z-index:0;bottom: 50px;width:400px;right:-30%;">` :
153
+ [
154
+ `<img src="${gvc.glitter.root_path}/landing-page/about-src/bg2_desktop.png" class="position-absolute" style="z-index:0;bottom: -43vw;width:100%;">`,
155
+ `<img src="${gvc.glitter.root_path}/landing-page/about-src/desk_gp.png" class="position-absolute" style="z-index:0;right:calc((100vw - 1400px) / 2);width:600px;bottom: 500px;">`
156
+ ].join('')}
157
+ </div>
158
+
159
+ `;
18
160
  }
19
161
  }
20
162
  window.glitter.setModule(import.meta.url, AboutUs);
@@ -4,20 +4,162 @@ const html = String.raw
4
4
 
5
5
  export class AboutUs {
6
6
  public static main(gvc: GVC) {
7
- return html`<div class="ms-2 d-flex align-items-center" style="gap:10px;"><svg width="223" height="50" viewBox="0 0 223 28" fill="none"
8
- xmlns="http://www.w3.org/2000/svg">
9
- <path d="M1.812 17.972C2.28067 18.342 3.08233 18.8477 4.217 19.489C5.37633 20.1303 6.474 20.451 7.51 20.451C8.57067 20.451 9.101 20.044 9.101 19.23C9.101 18.86 8.953 18.5393 8.657 18.268C8.361 17.972 7.81833 17.639 7.029 17.269C6.23967 16.899 5.64767 16.6153 5.253 16.418C4.85833 16.196 4.328 15.8507 3.662 15.382C3.02067 14.8887 2.52733 14.383 2.182 13.865C1.19533 12.459 0.702 10.6707 0.702 8.5C0.702 6.32933 1.50367 4.504 3.107 3.024C4.735 1.51933 6.85633 0.766998 9.471 0.766998C11.247 0.766998 12.8873 0.964332 14.392 1.359C15.8967 1.729 16.6737 2.22233 16.723 2.839C16.723 2.913 16.723 2.987 16.723 3.061C16.723 3.92433 16.4517 5.022 15.909 6.354C15.3663 7.66133 14.984 8.389 14.762 8.537C13.1833 7.723 11.765 7.316 10.507 7.316C9.27367 7.316 8.657 7.76 8.657 8.648C8.657 9.19067 9.11333 9.67167 10.026 10.091C10.2233 10.1897 10.507 10.3253 10.877 10.498C11.247 10.6707 11.6663 10.8803 12.135 11.127C12.6283 11.349 13.1463 11.645 13.689 12.015C14.2563 12.3603 14.8607 12.829 15.502 13.421C16.8093 14.6543 17.463 16.2823 17.463 18.305C17.463 20.9443 16.7353 23.1027 15.28 24.78C13.8247 26.4573 11.58 27.3207 8.546 27.37C7.066 27.37 5.72167 27.2467 4.513 27C3.329 26.7533 2.293 26.2723 1.405 25.557C0.517 24.8417 0.073 23.9783 0.073 22.967C0.073 21.9557 0.258 20.9567 0.628 19.97C0.998 18.9587 1.39267 18.2927 1.812 17.972ZM40.6343 26.371C40.6343 26.7903 39.3886 27 36.8973 27C34.4059 27 33.1603 26.7903 33.1603 26.371V17.861H27.9803V26.371C27.9803 26.7903 26.7346 27 24.2433 27C21.7519 27 20.5063 26.7903 20.5063 26.371V1.84C20.5063 1.322 21.7519 1.063 24.2433 1.063C26.7346 1.063 27.9803 1.322 27.9803 1.84V10.535H33.1603V1.914C33.1603 1.56867 33.7769 1.322 35.0103 1.174C35.6516 1.12467 36.2806 1.1 36.8973 1.1L38.7843 1.174C40.0176 1.322 40.6343 1.56867 40.6343 1.914V26.371ZM55.3068 27.37C51.8534 27.37 49.0291 26.2353 46.8338 23.966C44.6631 21.6967 43.5778 18.3913 43.5778 14.05C43.5778 9.684 44.6754 6.37867 46.8708 4.134C49.0908 1.88933 51.9398 0.766998 55.4178 0.766998C58.9204 0.766998 61.7448 1.877 63.8908 4.097C66.0368 6.29233 67.1098 9.63467 67.1098 14.124C67.1098 18.5887 66.0121 21.9187 63.8168 24.114C61.6214 26.2847 58.7848 27.37 55.3068 27.37ZM55.3438 7.871C54.1598 7.871 53.1608 8.41367 52.3468 9.499C51.5574 10.5843 51.1628 12.1137 51.1628 14.087C51.1628 16.0357 51.5451 17.5403 52.3098 18.601C53.0744 19.637 54.0734 20.155 55.3068 20.155C56.5648 20.155 57.5761 19.6247 58.3408 18.564C59.1301 17.5033 59.5248 15.9863 59.5248 14.013C59.5248 12.0397 59.1178 10.5227 58.3038 9.462C57.5144 8.40133 56.5278 7.871 55.3438 7.871ZM73.2995 27.074C71.0548 27.074 69.9325 26.8273 69.9325 26.334V2.358C69.9325 1.51933 70.3148 1.1 71.0795 1.1H77.5915C81.2421 1.1 83.8691 1.85233 85.4725 3.357C87.1005 4.86167 87.9145 7.04467 87.9145 9.906C87.9145 12.274 87.1498 14.4447 85.6205 16.418C84.8558 17.4047 83.7335 18.194 82.2535 18.786C80.7735 19.378 79.0468 19.674 77.0735 19.674V26.297C77.0735 26.593 76.6048 26.8027 75.6675 26.926C74.7548 27.0247 73.9655 27.074 73.2995 27.074ZM77.0735 7.538V13.384H77.5545C78.4178 13.384 79.1455 13.1127 79.7375 12.57C80.3295 12.0273 80.6255 11.2627 80.6255 10.276C80.6255 9.28933 80.4158 8.58633 79.9965 8.167C79.6018 7.74767 78.8865 7.538 77.8505 7.538H77.0735ZM111.458 26.186C111.458 26.704 110.299 26.963 107.98 26.963C105.661 26.963 104.403 26.778 104.206 26.408L98.027 14.864V26.371C98.027 26.815 96.88 27.037 94.586 27.037C92.3167 27.037 91.182 26.815 91.182 26.371V1.618C91.182 1.248 92.1564 1.063 94.105 1.063C94.8697 1.063 95.7577 1.137 96.769 1.285C97.805 1.40833 98.434 1.655 98.656 2.025L104.576 13.421V1.803C104.576 1.33433 105.723 1.1 108.017 1.1C110.311 1.1 111.458 1.33433 111.458 1.803V26.186ZM127.199 11.386C127.668 11.386 127.902 12.2493 127.902 13.976C127.902 14.494 127.841 15.1107 127.717 15.826C127.619 16.5167 127.421 16.862 127.125 16.862H122.426V20.562H129.234C129.654 20.562 129.937 21.1047 130.085 22.19C130.159 22.6587 130.196 23.1643 130.196 23.707C130.196 24.225 130.122 24.9033 129.974 25.742C129.826 26.5807 129.58 27 129.234 27H116.58C115.643 27 115.174 26.6177 115.174 25.853V2.062C115.174 1.42067 115.458 1.1 116.025 1.1H129.271C129.789 1.1 130.048 2.19767 130.048 4.393C130.048 6.56367 129.789 7.649 129.271 7.649H122.426V11.386H127.199ZM147.148 2.099C147.444 1.359 148.986 0.989 151.773 0.989C152.489 0.989 153.364 1.05067 154.4 1.174C155.461 1.27267 155.991 1.37133 155.991 1.47L149.701 14.272L156.213 26.519C156.287 26.6423 155.757 26.7657 154.622 26.889C153.488 26.9877 152.526 27.037 151.736 27.037C148.604 27.037 146.889 26.6177 146.593 25.779L143.818 18.712L141.302 26.001C141.056 26.6917 139.477 27.037 136.566 27.037C135.851 27.037 134.963 26.9877 133.902 26.889C132.842 26.7903 132.361 26.6547 132.459 26.482L138.231 13.68L132.237 1.47C132.163 1.34666 132.669 1.23566 133.754 1.137C134.864 1.01366 135.802 0.951998 136.566 0.951998C139.674 0.951998 141.376 1.396 141.672 2.284L144.225 8.5L147.148 2.099Z"
10
- fill="url(#paint0_linear_3001_1051)"></path>
11
- <defs>
12
- <linearGradient id="paint0_linear_3001_1051" x1="-6" y1="-22.75" x2="13.6088"
13
- y2="74.6316" gradientUnits="userSpaceOnUse">
14
- <stop stop-color="#FFB400"></stop>
15
- <stop offset="1" stop-color="#FF6C02"></stop>
16
- </linearGradient>
17
- </defs>
18
- </svg>
19
- <div style="text-align: center; color: #8D8D8D; font-size: 38px; font-family: Lilita One; font-weight: 400; word-wrap: break-word">POS</div>
20
- </div>`
7
+ const css = String.raw
8
+ gvc.addStyle(css`
9
+ .f_40 {
10
+ color: #393939;
11
+ text-align: center;
12
+ font-size: 40px;
13
+ font-style: normal;
14
+ font-weight: 900;
15
+ line-height: normal;
16
+ letter-spacing: 3.2px;
17
+ margin: 0;
18
+ padding: 0;
19
+ }
20
+ .f_20 {
21
+ color: #393939;
22
+ font-size: 20px;
23
+ font-style: normal;
24
+ font-weight: 500;
25
+ line-height: normal;
26
+ letter-spacing: 0.8px;
27
+ margin: 0;
28
+ padding: 0;
29
+ }
30
+ @media (max-width: 768px) {
31
+ .f_40 {
32
+ font-size: 28px;
33
+ }
34
+ .f_20 {
35
+ font-size: 16px;
36
+ }
37
+ .t_m {
38
+ color: #000;
39
+ font-size: 18px;
40
+ font-style: normal;
41
+ font-weight: 500;
42
+ line-height: 140%; /* 25.2px */
43
+ }
44
+ }
45
+ .t_m {
46
+ color: #000;
47
+ font-size: 20px;
48
+ font-style: normal;
49
+ font-weight: 500;
50
+ line-height: 140%; /* 25.2px */
51
+ }
52
+ .c_container {
53
+ width: 1440px;
54
+ }
55
+ .gradint {
56
+ background: linear-gradient(138deg, #FFB400 -7.89%, #FF6C02 107.55%);
57
+ background-clip: text;
58
+ -webkit-background-clip: text;
59
+ -webkit-text-fill-color: transparent;
60
+ }
61
+ `)
62
+ return html`
63
+ <img src="${gvc.glitter.root_path}/landing-page/about-src/${(document.body.clientWidth<800) ? `mobile-bg`:`bg1`}.png" class="position-absolute left-0 w-100" style="z-index:0;top:60px;">
64
+
65
+ <div class="w-100 d-flex align-items-center justify-content-center position-relative" style="z-index: 2;padding-bottom: 20px;">
66
+ <div class="c_container" style="max-width: 1100px;z-index:3;${((document.body.clientWidth<800)) ? `padding-left:30px;padding-right:30px;padding-top: 44px;`:`padding-top: 88px;`}">
67
+ <div class="d-flex flex-column align-items-center justify-content-center mx-auto" style="gap:${(((document.body.clientWidth<800))) ? `16`:`24`}px;">
68
+ <h1 class="f_40">關於我們</h1>
69
+ <h2 class="f_20">從<span class="gradint fw-bold f_20">零</span>開始出發,打造<span class="gradint fw-bold f_20">完美系統</span></h2>
70
+ </div>
71
+ <div style="${(document.body.clientWidth<800) ? `gap:18px;margin-top: 32px;`:`margin-top: 64px;`}" class="d-flex flex-column flex-sm-row justify-content-between">
72
+ <img src="${gvc.glitter.root_path}/landing-page/about-src/team_work_1.png" class="" style="max-width: 100%;width: 743px;">
73
+ <div class="d-flex flex-lg-column" style="${(document.body.clientWidth<800) ? `width:100%;`:`width: calc(100% - 773px);`}">
74
+ <img src="${gvc.glitter.root_path}/landing-page/about-src/team_work_3.png" class="" style="${(document.body.clientWidth<800) ? `width: calc(50% - 10px);`:`width: 100%;`}">
75
+ <div class="flex-fill"></div>
76
+ <img src="${gvc.glitter.root_path}/landing-page/about-src/team_work_2.png" class="" style="${(document.body.clientWidth<800) ? `width: calc(50% - 10px);`:`width: 100%;`}">
77
+ </div>
78
+ </div>
79
+ <div class="d-flex flex-column align-items-center justify-content-center mx-auto" style="${(((document.body.clientWidth<800))) ? `gap:8;margin-top:132px;`:`gap:16px;margin-top:200px;`}">
80
+ <h1 class="f_20 gradint fw-bold">一路走來</h1>
81
+ <h2 class="f_40 fw-bold">回顧過去的足跡<br>
82
+ 展望更加輝煌的未來</h2>
83
+ </div>
84
+ ${(document.body.clientWidth>800) ? `
85
+ <img src="${gvc.glitter.root_path}/landing-page/about-src/time_line.png" class="" style="width: 100%;margin-bottom:293px;margin-top:59px;">
86
+ `:`
87
+ <img src="${gvc.glitter.root_path}/landing-page/about-src/mobile_time_line.png" class="" style="width: calc(100% + 30px);margin-left:-15px;margin-top:17px;">
88
+ `}
89
+ <div class="d-flex flex-column align-items-center justify-content-center mx-auto" style="${(((document.body.clientWidth<800))) ? `gap:8;margin-top:132px;`:``}">
90
+ <h1 class="f_20 gradint fw-bold">團隊介紹</h1>
91
+ <h2 class="f_40 fw-bold">熱愛突破的專家團隊<br>
92
+ 塑造未來電商格局</h2>
93
+ </div>
94
+ <div class="row" style="${document.body.clientWidth<800 ? `margin-top:47px;margin-bottom:47px;`:`margin-top:97px;margin-bottom:47px;`}">
95
+ ${[
96
+ {
97
+ title:'Sam',
98
+ carer:'CEO',
99
+ desc:`曾任上櫃公司軟體架構規劃師,精通多種程式開發領域,是把萬能瑞士刀,可以解決各種技術難題。`,
100
+ src:`ceo`
101
+ },
102
+ {
103
+ title:'Daniel',
104
+ carer:'CTO',
105
+ desc:`精通多種編程語言與技術框架,能獨立設計高效且可擴展的系統架構。`,
106
+ src:`cto`
107
+ },
108
+ `empty`,
109
+ `empty`,
110
+ `empty`,
111
+ {
112
+ title:'Zack',
113
+ carer:'Senior Engineer',
114
+ desc:`經驗豐富的軟體開發專家,擅長前後端分離及模組化JS渲染工程,提升開發效率並降低錯誤率。`,
115
+ src:`soe`
116
+ },
117
+ {
118
+ title:'Lily',
119
+ carer:'Product Manager',
120
+ desc:`負責將創新設計與功能需求融合,推動產品從構想到實現的全過程。`,
121
+ src:`lily`
122
+ },
123
+ {
124
+ title:'Juno',
125
+ carer:'Marketing Specialist',
126
+ desc:`擅長制定並執行有效的行銷策略,提升品牌知名度和銷售量。`,
127
+ src:`mkt`
128
+ }
129
+ ].map((dd:any)=>{
130
+ if(dd==='empty'){
131
+ if(document.body.clientWidth>800){
132
+ return `<div class="col-3"></div>`
133
+ }else{
134
+ return ``
135
+ }
136
+
137
+ }
138
+ return `<div class="col-6 col-sm-3 mb-4 mb-lg-5">
139
+ <img src="${gvc.glitter.root_path}/landing-page/about-src/${dd.src}.png" class="w-100 rounded-3" >
140
+ <div class="d-flex flex-column">
141
+ <h3 class="t_m mt-2 m-0 p-0">${dd.title}</h3>
142
+ <div class="fs-base fw-500 " style="color:#ADADAD;margin-top:0px !important;">${dd.carer}</div>
143
+ <span class="fs-6" style="color: #393939;
144
+ font-size: 16px;
145
+ font-style: normal;
146
+ font-weight: 400;
147
+ line-height: normal;
148
+ letter-spacing: 0.64px;">${dd.desc}</span>
149
+ </div>
150
+ </div>`
151
+ }).join('')}
152
+ </div>
153
+
154
+ </div>
155
+ ${document.body.clientWidth < 1100 ? `<img src="${gvc.glitter.root_path}/landing-page/about-src/foot-right.png" class="position-absolute " style="z-index:0;bottom: 50px;width:400px;right:-30%;">`:
156
+ [
157
+ `<img src="${gvc.glitter.root_path}/landing-page/about-src/bg2_desktop.png" class="position-absolute" style="z-index:0;bottom: -43vw;width:100%;">`,
158
+ `<img src="${gvc.glitter.root_path}/landing-page/about-src/desk_gp.png" class="position-absolute" style="z-index:0;right:calc((100vw - 1400px) / 2);width:600px;bottom: 500px;">`
159
+ ].join('')}
160
+ </div>
161
+
162
+ `
21
163
  }
22
164
  }
23
165
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ts-glitter",
3
- "version": "13.8.791",
3
+ "version": "13.8.795",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -316,7 +316,7 @@ const a=[
316
316
  "elem": "span",
317
317
  "class": "",
318
318
  "inner": "GLITTER.AI",
319
- "style": " background: -webkit-linear.svg-gradient(#9c47fc, #356ad2);\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;",
319
+ "style": " background: -webkit-linear-gradient(#9c47fc, #356ad2);\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;",
320
320
  "setting": [],
321
321
  "dataFrom": "static",
322
322
  "atrExpand": {
@@ -1476,7 +1476,7 @@ const a=[
1476
1476
  "elem": "i",
1477
1477
  "class": "fa-light fa-globe text-gradient-primary mb-3",
1478
1478
  "inner": "",
1479
- "style": "\n font-size: 28px;;\n display: block;\n background: -webkit-linear.svg-gradient(#9c47fc, #356ad2);\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n ;;",
1479
+ "style": "\n font-size: 28px;;\n display: block;\n background: -webkit-linear-gradient(#9c47fc, #356ad2);\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n ;;",
1480
1480
  "setting": [],
1481
1481
  "dataFrom": "static",
1482
1482
  "atrExpand": {
@@ -1884,7 +1884,7 @@ const a=[
1884
1884
  "elem": "i",
1885
1885
  "class": "bx bxl-instagram-alt text-gradient-primary mb-2",
1886
1886
  "inner": "",
1887
- "style": "\n font-size: 40px;;\n display: block;\n background: -webkit-linear.svg-gradient(#9c47fc, #356ad2);\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n ;",
1887
+ "style": "\n font-size: 40px;;\n display: block;\n background: -webkit-linear-gradient(#9c47fc, #356ad2);\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n ;",
1888
1888
  "setting": [],
1889
1889
  "dataFrom": "static",
1890
1890
  "atrExpand": {
@@ -2088,7 +2088,7 @@ const a=[
2088
2088
  "elem": "i",
2089
2089
  "class": "fa-regular fa-shop text-gradient-primary mb-3",
2090
2090
  "inner": "",
2091
- "style": "\n font-size: 28px;;\n display: block;\n background: -webkit-linear.svg-gradient(#9c47fc, #356ad2);\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n font-size:24px;;",
2091
+ "style": "\n font-size: 28px;;\n display: block;\n background: -webkit-linear-gradient(#9c47fc, #356ad2);\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n font-size:24px;;",
2092
2092
  "setting": [],
2093
2093
  "dataFrom": "static",
2094
2094
  "atrExpand": {
@@ -2292,7 +2292,7 @@ const a=[
2292
2292
  "elem": "i",
2293
2293
  "class": " mb-3\nfa-regular fa-handshake text-gradient-primary ",
2294
2294
  "inner": "",
2295
- "style": "\n font-size: 28px;;\n display: block;\n background: -webkit-linear.svg-gradient(#9c47fc, #356ad2);\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n font-size:24px;;",
2295
+ "style": "\n font-size: 28px;;\n display: block;\n background: -webkit-linear-gradient(#9c47fc, #356ad2);\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n font-size:24px;;",
2296
2296
  "setting": [],
2297
2297
  "dataFrom": "static",
2298
2298
  "atrExpand": {
@@ -2497,7 +2497,7 @@ const a=[
2497
2497
  "elem": "i",
2498
2498
  "class": " mb-3\nfa-sharp fa-regular fa-chart-mixed text-gradient-primary ",
2499
2499
  "inner": "",
2500
- "style": "\n font-size: 28px;;\n display: block;\n background: -webkit-linear.svg-gradient(#9c47fc, #356ad2);\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n font-size:24px;;",
2500
+ "style": "\n font-size: 28px;;\n display: block;\n background: -webkit-linear-gradient(#9c47fc, #356ad2);\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n font-size:24px;;",
2501
2501
  "setting": [],
2502
2502
  "dataFrom": "static",
2503
2503
  "atrExpand": {
@@ -2701,7 +2701,7 @@ const a=[
2701
2701
  "elem": "i",
2702
2702
  "class": " mb-3\nfa-sharp fa-light fa-coins text-gradient-primary ",
2703
2703
  "inner": "",
2704
- "style": "\n font-size: 28px;;\n display: block;\n background: -webkit-linear.svg-gradient(#9c47fc, #356ad2);\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n font-size:24px;;",
2704
+ "style": "\n font-size: 28px;;\n display: block;\n background: -webkit-linear-gradient(#9c47fc, #356ad2);\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n font-size:24px;;",
2705
2705
  "setting": [],
2706
2706
  "dataFrom": "static",
2707
2707
  "atrExpand": {
@@ -2905,7 +2905,7 @@ const a=[
2905
2905
  "elem": "i",
2906
2906
  "class": " mb-3\nfa-regular fa-building text-gradient-primary ",
2907
2907
  "inner": "",
2908
- "style": "\n font-size: 28px;;\n display: block;\n background: -webkit-linear.svg-gradient(#9c47fc, #356ad2);\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n font-size:24px;;",
2908
+ "style": "\n font-size: 28px;;\n display: block;\n background: -webkit-linear-gradient(#9c47fc, #356ad2);\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n font-size:24px;;",
2909
2909
  "setting": [],
2910
2910
  "dataFrom": "static",
2911
2911
  "atrExpand": {