Browse Source

💄 style(template): update button text and icons

- 修改第一个按钮文本从"预览"为"下载"
- 注释掉第二个按钮的"下载"文本
- 调整图标与文本的对应关系
yourname 3 months ago
parent
commit
28f2fd8186
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/client/home/pages/TemplateSquare.tsx

+ 2 - 2
src/client/home/pages/TemplateSquare.tsx

@@ -173,7 +173,7 @@ const TemplateSquare: React.FC = () => {
           className="flex-1"
         >
           <Eye className="w-4 h-4 mr-2" />
-          预览
+          下载
         </Button>
         <Button
           size="sm"
@@ -182,7 +182,7 @@ const TemplateSquare: React.FC = () => {
           disabled={!template.isFree && !user?.membership}
         >
           <Download className="w-4 h-4 mr-2" />
-          下载
+          {/* 下载 */}
         </Button>
       </CardFooter>
     </Card>