Skip to content

Commit f229597

Browse files
authored
Merge pull request #861 from Shamli-Singh-Yadav/Author-Profile-Page-#845
Author profile page #845
2 parents d783e7a + ddb7cc2 commit f229597

13 files changed

+371
-3
lines changed
File renamed without changes.

Author/Author-page.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,21 +69,21 @@ <h3 class="bg-primary"><span class="bg-primary-1">Authors</span></h3>
6969
<img src="img/r-img1.jpg" alt="">
7070
<p class="names">Rabindranath Tagore</p>
7171
<p class="quote">“You cannot cross the sea merely by standing and staring at the water.”</p>
72-
<p class="lead"><a href="#">About the author</a></p>
72+
<p class="lead"><a href="rabindranath_tagore.html">About the author</a></p>
7373
</div>
7474

7575
<div class="auth">
7676
<img src="./a-img2.jpg" alt="">
7777
<p class="names">A.P.J.Abdul Kalam</p>
7878
<p class="quote">“Failure will never overtake me if my determination to succeed is strong enough.”</p>
79-
<p class="lead"><a href="About.html">About the author</a></p>
79+
<p class="lead"><a href="APJ_abdul_kalam.html">About the author</a></p>
8080
</div>
8181

8282
<div class="auth">
8383
<img src="img/img3.jpg" alt="">
8484
<p class="names">William Shakespeare</p>
8585
<p class="quote">“Our doubts are traitors, and make us lose the good we oft might win by fearing to attempt.”</p>
86-
<p class="lead"><a href="#">About the author</a></p>
86+
<p class="lead"><a href="William.html">About the author</a></p>
8787
</div>
8888

8989
</div>
@@ -99,3 +99,4 @@ <h3 class="bg-primary"><span class="bg-primary-1">Authors</span></h3>
9999

100100

101101

102+

Author/William.html

Lines changed: 184 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,184 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>William Shakespeare</title>
7+
<style>
8+
* {
9+
margin: 0;
10+
padding: 0;
11+
box-sizing: border-box;
12+
font-family: "Georgia", serif;
13+
}
14+
15+
body {
16+
background-color: #f2f4f7;
17+
color: #333;
18+
line-height: 1.6;
19+
}
20+
21+
.profile-container {
22+
display: flex;
23+
justify-content: space-between;
24+
align-items: flex-start;
25+
background: #fff;
26+
width: 85%;
27+
margin: 40px auto;
28+
border-radius: 16px;
29+
padding: 40px;
30+
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
31+
flex-wrap: wrap;
32+
}
33+
34+
.text-section {
35+
flex: 2;
36+
margin-right: 40px;
37+
min-width: 280px;
38+
}
39+
40+
.text-section h1 {
41+
font-size: 2.4em;
42+
color: #0a2342;
43+
margin-bottom: 15px;
44+
}
45+
46+
.text-section p {
47+
font-size: 1.05em;
48+
color: #444;
49+
}
50+
51+
.image-section {
52+
flex: 1;
53+
text-align: center;
54+
min-width: 240px;
55+
}
56+
57+
.image-section img {
58+
width: 250px;
59+
border-radius: 12px;
60+
box-shadow: 0 4px 10px rgba(0,0,0,0.2);
61+
}
62+
63+
.books-section {
64+
text-align: center;
65+
margin: 60px auto;
66+
width: 90%;
67+
}
68+
69+
.books-section h2 {
70+
color: #0a2342;
71+
font-size: 2em;
72+
margin-bottom: 30px;
73+
}
74+
75+
.book-gallery {
76+
display: flex;
77+
justify-content: center;
78+
flex-wrap: wrap;
79+
gap: 25px;
80+
}
81+
82+
.book-card {
83+
background: #fff;
84+
width: 180px;
85+
border-radius: 12px;
86+
padding: 15px;
87+
box-shadow: 0 3px 8px rgba(0,0,0,0.1);
88+
transition: transform 0.3s ease;
89+
}
90+
91+
.book-card:hover {
92+
transform: translateY(-5px);
93+
}
94+
95+
.book-card img {
96+
width: 100%;
97+
border-radius: 8px;
98+
margin-bottom: 10px;
99+
}
100+
101+
.book-card p {
102+
font-weight: bold;
103+
color: #333;
104+
font-size: 0.9em;
105+
}
106+
107+
footer {
108+
text-align: center;
109+
margin: 40px 0 20px;
110+
color: #555;
111+
font-style: italic;
112+
}
113+
114+
@media (max-width: 768px) {
115+
.profile-container {
116+
flex-direction: column;
117+
align-items: center;
118+
text-align: center;
119+
}
120+
121+
.text-section {
122+
margin-right: 0;
123+
margin-bottom: 20px;
124+
}
125+
126+
.image-section img {
127+
width: 200px;
128+
}
129+
}
130+
</style>
131+
</head>
132+
<body>
133+
134+
<div class="profile-container">
135+
<div class="text-section">
136+
<h1>William Shakespeare</h1>
137+
<p>
138+
William Shakespeare (1564–1616) was an English playwright, poet, and actor, widely regarded as the
139+
greatest writer in the English language and the world’s most famous dramatist.
140+
Known as the “Bard of Avon,” his works have shaped literature, theater, and culture for centuries.
141+
</p>
142+
<p>
143+
He wrote 39 plays, 154 sonnets, and several narrative poems. His plays explore timeless themes
144+
of love, power, betrayal, and the human condition — blending deep emotion with poetic brilliance.
145+
Shakespeare’s influence continues to resonate through language, art, and performance across the world.
146+
</p>
147+
</div>
148+
<div class="image-section">
149+
<img src="img/img3.jpg" alt="William Shakespeare">
150+
</div>
151+
</div>
152+
153+
<div class="books-section">
154+
<h2>Famous Works by William Shakespeare</h2>
155+
<div class="book-gallery">
156+
<div class="book-card">
157+
<img src="img/hamlet.jpg" alt="Hamlet">
158+
<p>Hamlet</p>
159+
</div>
160+
<div class="book-card">
161+
<img src="img/romeo-and-juliet.jpg" alt="Romeo and Juliet">
162+
<p>Romeo and Juliet</p>
163+
</div>
164+
<div class="book-card">
165+
<img src="img/macbeth.jpg" alt="Macbeth">
166+
<p>Macbeth</p>
167+
</div>
168+
<div class="book-card">
169+
<img src="img/othello.jpg" alt="Othello">
170+
<p>Othello</p>
171+
</div>
172+
<div class="book-card">
173+
<img src="img/king-lear.jpg" alt="King Lear">
174+
<p>King Lear</p>
175+
</div>
176+
</div>
177+
</div>
178+
179+
<footer>
180+
<p>“All the world’s a stage, and all the men and women merely players.” – William Shakespeare</p>
181+
</footer>
182+
183+
</body>
184+
</html>

Author/img/gitanjali.jpg

78.2 KB
Loading

Author/img/gora.jpg

68.4 KB
Loading

Author/img/hamlet.jpg

7.75 KB
Loading

Author/img/kabuliwala.jpg

231 KB
Loading

Author/img/king-lear.jpg

7.07 KB
Loading

Author/img/macbeth.jpg

7.7 KB
Loading

Author/img/othello.jpg

7.85 KB
Loading

0 commit comments

Comments
 (0)