Lashtw commited on
Commit
254929a
·
verified ·
1 Parent(s): 47b8dd1

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +6 -8
index.html CHANGED
@@ -115,10 +115,8 @@
115
  <div class="p-6 border-b border-slate-100 bg-slate-50">
116
  <div class="flex justify-between items-center mb-2">
117
  <h1 class="text-2xl font-bold text-indigo-600 flex items-center gap-2">
118
- <!-- Magic Wand Icon (SVG) -->
119
- <svg viewBox="0 0 512 512" class="w-8 h-8 fill-current">
120
- <path d="M447.4 9.4c-9.4-9.4-24.6-9.4-33.9 0l-80 80c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l80-80c9.4-9.4 9.4-24.6 0-33.9zM368 224c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zm64-96c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zm-64 96c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zM96 192c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zM0 224c0-17.7 14.3-32 32-32s32 14.3 32 32-14.3 32-32 32-32-14.3-32-32zM64 64c0-17.7 14.3-32 32-32s32 14.3 32 32-14.3 32-32 32-32-14.3-32-32zm0 384c0-17.7 14.3-32 32-32s32 14.3 32 32-14.3 32-32 32-32-14.3-32-32zm256 32c0-17.7 14.3-32 32-32s32 14.3 32 32-14.3 32-32 32-32-14.3-32-32zm-64-96c0-17.7 14.3-32 32-32s32 14.3 32 32-14.3 32-32 32-32-14.3-32-32zm-96-32c0-17.7 14.3-32 32-32s32 14.3 32 32-14.3 32-32 32-32-14.3-32-32zm336-32c0-17.7 14.3-32 32-32s32 14.3 32 32-14.3 32-32 32-32-14.3-32-32zm-136.6 20.7c-9.4-9.4-24.6-9.4-33.9 0L19.4 430.6c-9.4 9.4-9.4 24.6 0 33.9l62.1 62.1c9.4 9.4 24.6 9.4 33.9 0l229.3-229.3c9.4-9.4 9.4-24.6 0-33.9l-62.1-62.1z"/>
121
- </svg>
122
  摺紙魔術設計師
123
  </h1>
124
  </div>
@@ -446,7 +444,7 @@
446
  class="grid-cell relative border border-slate-300"
447
  >
448
  <div class="rotation-wrapper" :style="{ transform: `rotate(${cell.rotation}deg)` }">
449
- <span v-if="cell.type === 'text'" class="text-2xl font-bold cell-text" :style="{ color: cell.color }">{{ cell.content }}</span>
450
 
451
  <!-- Render Icon: Emoji -->
452
  <span v-if="cell.type === 'icon'" class="text-3xl leading-none select-none">{{ icons[cell.content] }}</span>
@@ -493,12 +491,12 @@
493
  :class="{ 'ring-4 ring-indigo-500 ring-inset z-20': selectedCellIndex === index }"
494
  >
495
  <div class="rotation-wrapper pointer-events-none" :style="{ transform: `rotate(${cell.rotation}deg)` }">
496
- <span v-if="cell.type === 'text'" class="text-4xl md:text-5xl font-bold cell-text block" :style="{ color: cell.color }">
497
  {{ cell.content }}
498
  </span>
499
 
500
  <!-- Render Icon: Emoji -->
501
- <span v-if="cell.type === 'icon'" class="text-4xl md:text-5xl leading-none select-none">{{ icons[cell.content] }}</span>
502
 
503
  <!-- Image Renderer -->
504
  <img v-if="cell.type === 'image'" :src="cell.content" class="w-4/5 h-4/5 object-contain">
@@ -1003,7 +1001,7 @@
1003
  textNode.setAttribute("fill", color);
1004
  textNode.setAttribute("font-family", fontFamily);
1005
  textNode.setAttribute("font-weight", fontWeight);
1006
- textNode.setAttribute("font-size", "45");
1007
  textNode.textContent = content;
1008
 
1009
  svg.appendChild(textNode);
 
115
  <div class="p-6 border-b border-slate-100 bg-slate-50">
116
  <div class="flex justify-between items-center mb-2">
117
  <h1 class="text-2xl font-bold text-indigo-600 flex items-center gap-2">
118
+ <!-- Top Hat Icon U+1F3A9 -->
119
+ <span class="text-3xl">🎩</span>
 
 
120
  摺紙魔術設計師
121
  </h1>
122
  </div>
 
444
  class="grid-cell relative border border-slate-300"
445
  >
446
  <div class="rotation-wrapper" :style="{ transform: `rotate(${cell.rotation}deg)` }">
447
+ <span v-if="cell.type === 'text'" class="text-4xl font-bold cell-text" :style="{ color: cell.color }">{{ cell.content }}</span>
448
 
449
  <!-- Render Icon: Emoji -->
450
  <span v-if="cell.type === 'icon'" class="text-3xl leading-none select-none">{{ icons[cell.content] }}</span>
 
491
  :class="{ 'ring-4 ring-indigo-500 ring-inset z-20': selectedCellIndex === index }"
492
  >
493
  <div class="rotation-wrapper pointer-events-none" :style="{ transform: `rotate(${cell.rotation}deg)` }">
494
+ <span v-if="cell.type === 'text'" class="text-5xl md:text-7xl font-bold cell-text block" :style="{ color: cell.color }">
495
  {{ cell.content }}
496
  </span>
497
 
498
  <!-- Render Icon: Emoji -->
499
+ <span v-if="cell.type === 'icon'" class="text-5xl md:text-7xl leading-none select-none">{{ icons[cell.content] }}</span>
500
 
501
  <!-- Image Renderer -->
502
  <img v-if="cell.type === 'image'" :src="cell.content" class="w-4/5 h-4/5 object-contain">
 
1001
  textNode.setAttribute("fill", color);
1002
  textNode.setAttribute("font-family", fontFamily);
1003
  textNode.setAttribute("font-weight", fontWeight);
1004
+ textNode.setAttribute("font-size", "60");
1005
  textNode.textContent = content;
1006
 
1007
  svg.appendChild(textNode);