Skip to content

Commit

Permalink
Merge pull request #157 from zalabhavy/About
Browse files Browse the repository at this point in the history
About Enhancement and Responsiveness added
  • Loading branch information
Avdhesh-Varshney authored Jun 28, 2024
2 parents 6199760 + 71b603b commit e4cb61c
Show file tree
Hide file tree
Showing 2 changed files with 73 additions and 3 deletions.
38 changes: 37 additions & 1 deletion src/css/About.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,14 @@
height: auto;
border-radius: 8px;
margin-bottom: 20px;
border: 5px solid #874343;
}

.about-text {
text-align: justify;
color: #090909;
font-family: 'Georgia', serif;
font-size: x-large;
font-size: 18px;
}

.about-text p {
Expand All @@ -48,3 +49,38 @@
margin-bottom: 10px;
color: #780d0d;
}

blockquote {
margin: 20px 0;
padding: 10px 20px;
background-color: #f0f0f0;
border-left: 5px solid #874343;
font-style: italic;
color: #333;
}

@media (min-width: 768px) {
.about-image {
width: 35%;
margin-right: 20px;
}
}
/* Media query for smaller screens */
@media (max-width: 767px) {
.about-image {
width: 75%;
margin-bottom: 20px;
}
.about-text p {
line-height: 1.4;
font-size: 20px;
}
.about-text ul li {
font-size: 20px;
margin-bottom: 6px;
}
.blockquote
{
font-size: 20px;
}
}
38 changes: 36 additions & 2 deletions src/pages/About.jsx
Original file line number Diff line number Diff line change
@@ -1,23 +1,57 @@
// src/pages/About.jsx
import React from 'react';
import '../css/About.css';

const About = () => {
return (
<div className="about-container">
<h1> Aacharya Chanakya</h1>
<h1>Aacharya Chanakya</h1>
<div className="about-content">
<img src="https://upload.wikimedia.org/wikipedia/commons/c/cd/Chanakya_artistic_depiction.jpg" alt="Chanakya" className="about-image" />
<div className="about-text">
<p>Chanakya, also known as Kautilya or Vishnugupta, was an ancient Indian teacher, philosopher, economist, jurist, and royal advisor. He is traditionally identified as the author of the ancient Indian political treatise, the Arthashastra.</p>
<p>Born in 350 BCE in India, Chanakya played a crucial role in the establishment of the Maurya Empire. He was the chief advisor to both Emperor Chandragupta and his son, Bindusara.</p>
<blockquote>
"A person should not be too honest. Straight trees are cut first and honest people are screwed first."
</blockquote>
<p>Chanakya's work is considered pioneering in the fields of political science and economics. His strategies and principles are still studied and revered in modern times.</p>
<p>His notable works include:</p>
<ul>
<li><b>Arthashastra:</b> A treatise on statecraft, economic policy, and military strategy.</li>
<li><b>Chanakya Niti:</b> A collection of aphorisms offering guidance on various aspects of life.</li>
</ul>
<p>Chanakya's wisdom and teachings continue to influence and inspire leaders and scholars around the world.</p>
<blockquote>
"Learn from the mistakes of others. You can't live long enough to make them all yourselves."
</blockquote>
<p>He is often credited with having played a significant role in creating one of the largest empires in ancient India.</p>
<p>Chanakya was a brilliant strategist, and his works emphasize the importance of strong governance and strategic planning.</p>
<p>Many of his sayings and aphorisms are still quoted and provide timeless wisdom on politics, leadership, and life.</p>
<blockquote>
"The world's biggest power is the youth and beauty of a woman."
</blockquote>
<p>His life and teachings are a source of inspiration for those studying political science, economics, and leadership.</p>
<p>Other notable aspects of Chanakya's life include:</p>
<ul>
<li><b>Role in Chandragupta's Rise:</b> Chanakya's strategies were pivotal in helping Chandragupta overthrow the Nanda dynasty and establish the Maurya Empire.</li>
<li><b>Educational Contributions:</b> He was a professor at Takshashila University, one of the earliest universities in the world.</li>
<li><b>Diplomatic Skills:</b> Chanakya was a master of diplomacy and used his skills to forge alliances that were crucial for the expansion of the Maurya Empire.</li>
</ul>
<p>Chanakya's influence extended beyond his lifetime, and his teachings have been passed down through generations.</p>
<blockquote>
"As soon as the fear approaches near, attack and destroy it."
</blockquote>
<p>Here are some more of his notable teachings:</p>
<ul>
<li>"A person should not be too honest. Straight trees are cut first and honest people are screwed first."</li>
<li>"The world's biggest power is the youth and beauty of a woman."</li>
<li>"As soon as the fear approaches near, attack and destroy it."</li>
</ul>
<p>Chanakya's principles on leadership and governance are still relevant in today's world:</p>
<ul>
<li><b>Focus on Strength:</b> A ruler should always focus on building and maintaining strength to protect and expand the kingdom.</li>
<li><b>Importance of Allies:</b> Strong alliances are crucial for a kingdom's security and prosperity.</li>
<li><b>Manage Resources:</b> Efficient management of resources is key to the economic stability of the state.</li>
</ul>
</div>
</div>
</div>
Expand Down

0 comments on commit e4cb61c

Please sign in to comment.