Commit fdbd95b
committed
feat: Create
This pull request extracts team member display logic into a reusable `TeamMemberCard` component to improve code maintainability and reduce duplication.
Key changes:
* Create `TeamMemberCard` component in `src/components/TeamMemberCard.vue`
* Refactor `TeamPage` to use `TeamMemberCard` for both active and inactive members
* Remove duplicate team member display code from `TeamPage`
* Remove unused `smoothScroll` and `onGoToPanel` code
* Add `:key` attributes to template loops for better Vue performance
This reduces code duplication and makes team member display logic reusable across the application.TeamMemberCard component and refactor TeamPage
1 parent dca89fd commit fdbd95b
2 files changed
+49
-75
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 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 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 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 | | - | |
| 26 | + | |
| 27 | + | |
55 | 28 | | |
56 | 29 | | |
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 | | - | |
| 30 | + | |
| 31 | + | |
86 | 32 | | |
87 | 33 | | |
88 | 34 | | |
| |||
108 | 54 | | |
109 | 55 | | |
110 | 56 | | |
111 | | - | |
| 57 | + | |
112 | 58 | | |
113 | 59 | | |
114 | 60 | | |
| 61 | + | |
115 | 62 | | |
116 | 63 | | |
117 | 64 | | |
118 | 65 | | |
| 66 | + | |
119 | 67 | | |
120 | 68 | | |
121 | 69 | | |
122 | | - | |
123 | 70 | | |
124 | 71 | | |
125 | 72 | | |
| |||
150 | 97 | | |
151 | 98 | | |
152 | 99 | | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | 100 | | |
168 | 101 | | |
169 | 102 | | |
170 | 103 | | |
171 | | - | |
172 | 104 | | |
173 | 105 | | |
174 | 106 | | |
| |||
0 commit comments