-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #151 from aapJoysakoi/about
created an about page.
- Loading branch information
Showing
2 changed files
with
72 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
/* src/pages/About.css */ | ||
.about-container { | ||
padding: 20px; | ||
max-width: 800px; | ||
margin: 0 auto; | ||
background-color: #f9f9f9; | ||
border-radius: 8px; | ||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); | ||
} | ||
|
||
.about-container h1 { | ||
text-align: center; | ||
color: #874343; | ||
font-family: 'Arial', sans-serif; | ||
} | ||
|
||
.about-content { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
} | ||
|
||
.about-image { | ||
max-width: 100%; | ||
height: auto; | ||
border-radius: 8px; | ||
margin-bottom: 20px; | ||
} | ||
|
||
.about-text { | ||
text-align: justify; | ||
color: #090909; | ||
font-family: 'Georgia', serif; | ||
font-size: x-large; | ||
} | ||
|
||
.about-text p { | ||
margin-bottom: 15px; | ||
line-height: 1.6; | ||
} | ||
|
||
.about-text ul { | ||
list-style-type: disc; | ||
padding-left: 20px; | ||
} | ||
|
||
.about-text ul li { | ||
margin-bottom: 10px; | ||
color: #780d0d; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,27 @@ | ||
import React from 'react' | ||
// src/pages/About.jsx | ||
import React from 'react'; | ||
import '../css/About.css'; | ||
|
||
const About = () => { | ||
return ( | ||
<div>About</div> | ||
) | ||
} | ||
<div className="about-container"> | ||
<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> | ||
<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> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default About; |