Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
222 lines (199 loc) Β· 5.63 KB
/
Copy pathindex.html
File metadata and controls
222 lines (199 loc) Β· 5.63 KB
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Git Workshop - Team Members</title>
<style>
body {
font-family: "Arial", sans-serif;
line-height: 1.6;
margin: 0;
padding: 20px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
min-height: 100vh;
color: #333;
}
.container {
max-width: 1200px;
margin: 0 auto;
background: rgba(255, 255, 255, 0.95);
padding: 30px;
border-radius: 15px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
h1 {
text-align: center;
color: #4a5568;
margin-bottom: 10px;
font-size: 2.5em;
}
.subtitle {
text-align: center;
color: #718096;
margin-bottom: 40px;
font-size: 1.2em;
}
.team-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 20px;
margin-top: 30px;
}
.member-card {
background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
border: 2px solid #e2e8f0;
border-radius: 10px;
padding: 25px;
text-align: center;
transition: transform 0.3s ease, box-shadow 0.3s ease;
position: relative;
overflow: hidden;
}
.member-card:hover {
transform: translateY(-5px);
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
.member-card::before {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
height: 4px;
background: linear-gradient(90deg, #667eea, #764ba2);
}
.member-number {
display: inline-block;
background: #667eea;
color: white;
width: 30px;
height: 30px;
border-radius: 50%;
line-height: 30px;
font-weight: bold;
margin-bottom: 15px;
}
.full-name {
font-size: 1.3em;
font-weight: bold;
color: #2d3748;
margin-bottom: 8px;
}
.nickname {
font-size: 1.1em;
color: #667eea;
font-style: italic;
margin-bottom: 8px;
}
.student-id {
font-size: 0.95em;
color: #718096;
font-family: "Courier New", monospace;
background: #f7fafc;
padding: 5px 10px;
border-radius: 5px;
display: inline-block;
}
.template-note {
background: #fff5f5;
border: 1px solid #fed7d7;
border-radius: 8px;
padding: 15px;
margin: 20px 0;
color: #c53030;
text-align: center;
}
.instructions {
background: #f0fff4;
border: 1px solid #c6f6d5;
border-radius: 8px;
padding: 20px;
margin: 30px 0;
color: #22543d;
}
.instructions h3 {
color: #2f855a;
margin-top: 0;
}
.instructions ol {
margin: 10px 0;
padding-left: 20px;
}
.instructions li {
margin: 8px 0;
}
.git-commands {
background: #2d3748;
color: #f7fafc;
padding: 15px;
border-radius: 5px;
font-family: "Courier New", monospace;
margin: 10px 0;
overflow-x: auto;
}
.footer {
text-align: center;
margin-top: 40px;
padding-top: 20px;
border-top: 2px solid #e2e8f0;
color: #718096;
}
</style>
</head>
<body>
<div class="container">
<h1>π Git Workshop</h1>
<p class="subtitle">Web Development Team Collaboration Exercise</p>
<div class="template-note">
<strong>π Template Instructions:</strong> Replace the placeholder
information below with actual team member details
</div>
<div class="instructions">
<h3>π― Workshop Tasks</h3>
<ol>
<li>
<strong>Update index.html:</strong> Add the full name, nickname, and
student ID of every team member
</li>
<li>
<strong>Create Personal Branches:</strong> Each member creates a
branch named after themselves
</li>
<li>
<strong>Individual Commit:</strong> Make a commit with a personal
commit message before merging
</li>
<li>
<strong>Merge to Main:</strong> Merge your branch into the main
branch following proper Git procedures
</li>
</ol>
<h3>π» Git Commands Reference</h3>
<div class="git-commands">
<p># Create and switch to your branch git checkout -b your-name</p>
<p># Add your changes git add index.html</p>
<p>
# Commit with personal message git commit -m "Add [Your Name] to
team members"
</p>
<p># Switch back to main git checkout main</p>
<p># Merge your branch git merge your-name</p>
<p># Clean up (optional) git branch -d your-name</p>
</div>
</div>
<div class="team-grid">
<!-- Member - Template -->
<div class="member-card">
<div class="member-number">1</div>
<div class="full-name">[Full Name 1]</div>
<div class="nickname">"[Nickname 1]"</div>
<div class="student-id">[Student ID 1]</div>
</div>
<div class="footer">
<p>π BU Git Workshop Template - Web Development Exercise</p>
<p>Remember to follow proper Git workflow and commit your changes!</p>
</div>
</div>
</body>
</html>