Skip to content

Commit a42bdb4

Browse files
committed
change style
1 parent ca8dcf7 commit a42bdb4

File tree

1 file changed

+51
-4
lines changed

1 file changed

+51
-4
lines changed

src/pages/index.js

Lines changed: 51 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,16 +70,63 @@ export default function Home() {
7070
</div>
7171
</div>
7272

73-
<div className="container margin-top--lg">
73+
74+
{/* Instructors cards at the bottom */}
75+
<section className="margin-top--lg">
76+
<h2 className={styles.sectionTitle}>Course Instructors</h2>
77+
<div className={styles.features}>
78+
<div className={styles.feature}>
79+
<img
80+
className="avatar__photo avatar__photo--xl"
81+
src="/img/tyd.jpg"
82+
alt="Yida Tao"
83+
width="160"
84+
height="160"
85+
style={{ borderRadius: '50%', marginBottom: '1rem' }}
86+
/>
87+
<h3>Yida Tao</h3>
88+
<p>Course Instructor</p>
89+
<p>
90+
<a href="mailto:[email protected]">✉ Email</a>{' '}
91+
·{' '}
92+
<a href="https://your-website.example.com" target="_blank" rel="noreferrer">
93+
🌐 Website
94+
</a>
95+
</p>
96+
</div>
97+
98+
<div className={styles.feature}>
99+
<img
100+
className="avatar__photo avatar__photo--xl"
101+
src="/img/sustech-logo.png"
102+
alt="Co‑Instructor"
103+
width="160"
104+
height="160"
105+
style={{ borderRadius: '50%', marginBottom: '1rem' }}
106+
/>
107+
<h3>Co‑Instructor</h3>
108+
<p>Teaching Assistant</p>
109+
<p>
110+
<a href="mailto:[email protected]">✉ Email</a>{' '}
111+
·{' '}
112+
<a href="https://co-instructor.example.com" target="_blank" rel="noreferrer">
113+
🌐 Website
114+
</a>
115+
</p>
116+
</div>
117+
</div>
118+
</section>
119+
120+
{/* <div className="container margin-top--lg">
74121
<div className="row">
75122
<div className="col col--6">
76123
<div className="avatar avatar--vertical">
77124
<img
78125
className="avatar__photo avatar__photo--xl"
79126
src="/img/tyd.jpg"
80127
alt="Instructor"
81-
width="200"
82-
height="200"
128+
width="300"
129+
height="300"
83130
/>
84131
<div className="avatar__intro">
85132
<div className="avatar__name">Yida Tao</div>
@@ -107,7 +154,7 @@ export default function Home() {
107154
</div>
108155
</div>
109156
</div>
110-
</div>
157+
</div> */}
111158

112159
</div>
113160
</main>

0 commit comments

Comments
 (0)