1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
// This approach will create a personal card using React and Lucide React icons.
// We'll use ESM imports for React and Lucide icons.
// The card will be responsive and styled using Tailwind CSS classes.
/** @jsxImportSource https://esm.sh/react */
import React from "https://esm.sh/react";
import { createRoot } from "https://esm.sh/react-dom/client";
import { FileText, Trophy, Briefcase, Palette, Book, MessageCircle } from "https://esm.sh/lucide-react";
function PersonalCard() {
return (
<div className="flex justify-center items-center min-h-screen bg-gray-100 p-4">
<div className="bg-white shadow-2xl rounded-xl max-w-md w-full overflow-hidden">
<div className="bg-gradient-to-r from-blue-500 to-purple-600 p-4 text-white">
<div className="w-24 h-24 mx-auto bg-white rounded-full border-4 border-white shadow-lg mb-4 overflow-hidden">
<img src="https://s2.loli.net/2023/10/15/HrQNvpJkUsfCxmF.jpg" alt="张小可" className="w-full h-full object-cover" />
</div>
<h1 className="text-2xl font-bold text-center">张小可</h1>
<p className="text-center text-sm">深圳市, 广东省</p>
<div className="flex justify-center mt-2 space-x-2">
<span className="bg-white text-blue-600 rounded-full px-2 py-1 text-xs font-semibold">文案策划</span>
<span className="bg-white text-purple-600 rounded-full px-2 py-1 text-xs font-semibold">内容编辑</span>
</div>
</div>
<div className="p-4">
<div className="mb-4">
<div className="flex items-center mb-2">
<FileText className="w-5 h-5 text-blue-500 mr-2" />
<h2 className="text-lg font-semibold">近期关键投入</h2>
</div>
<p className="text-sm text-gray-600">负责公司刊物文案撰写,结合营销节点策划活动文案</p>
</div>
<div className="mb-4">
<div className="flex items-center mb-2">
<Trophy className="w-5 h-5 text-blue-500 mr-2" />
<h2 className="text-lg font-semibold">履历亮点</h2>
</div>
<ul className="text-sm text-gray-600 list-disc list-inside">
<li>北京可画大学外宣部部长,负责学校官方账号运营</li>
<li>多次获得校园小说大赛一等奖等荣誉</li>
<li>在多家公司积累丰富的文案和编辑经验</li>
</ul>
</div>
<div className="mb-4">
<div className="flex items-center mb-2">
<Briefcase className="w-5 h-5 text-blue-500 mr-2" />
<h2 className="text-lg font-semibold">擅长领域</h2>
</div>
<div className="grid grid-cols-2 gap-2">
<div className="bg-blue-100 p-2 rounded">
<h3 className="font-semibold text-sm">文案策划</h3>
<p className="text-xs text-gray-600">活动文案、营销策划</p>
</div>
<div className="bg-green-100 p-2 rounded">
<h3 className="font-semibold text-sm">内容编辑</h3>
<p className="text-xs text-gray-600">商品内容优化、SEO</p>
</div>
<div className="bg-purple-100 p-2 rounded">
<h3 className="font-semibold text-sm">英语能力</h3>
<p className="text-xs text-gray-600">六级证书、口语交流</p>
</div>
<div className="bg-orange-100 p-2 rounded">
<h3 className="font-semibold text-sm">设计软件</h3>
<p className="text-xs text-gray-600">PS/AI熟练使用</p>
</div>
</div>
</div>
<div className="mb-4">
<div className="flex items-center mb-2">
<Palette className="w-5 h-5 text-blue-500 mr-2" />
<h2 className="text-lg font-semibold">兴趣爱好</h2>
</div>
<p className="text-sm text-gray-600">
🎬 中外电影赏析 | 🎨 绘画手工 | 📚 读书
</p>
</div>
</div>
<div className="bg-gray-50 p-4 flex justify-between items-center">
<p className="text-sm text-gray-600 italic">"用文字传递情感,用创意点亮生活"</p>
<div className="w-16 h-16 bg-gray-200 rounded-full overflow-hidden">
<img src="https://maxm-imggenurl.web.val.run/a-creative-logo-for-a-content-creator" alt="Logo" className="w-full h-full object-cover" />
</div>
</div>
</div>
</div>
);
}
function App() {
return <PersonalCard />;
}
// client-side only code
function client() {
createRoot(document.getElementById("root")).render(<App />);