--- a +++ b/templates/liver_disease_info.html @@ -0,0 +1,186 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <title>Diabetes: In Depth</title> + <style> + body { + font-family: Arial, sans-serif; + margin: 0; + padding: 0; + background-image: url('/static/main\ bg\ 6.jpg'); + background-size: cover; + background-position: center; + color: #333; + } + + header { + background-color: rgba(0, 0, 0, 0.5); + color: #fff; + padding: 20px; + text-align: center; + position: relative; + } + + .logo { + position: absolute; + top: 10px; + left: 20px; + right:20px; + width: 100px; + height: auto; + } + + .container { + max-width: 800px; + margin: 20px auto; + padding: 20px; + background-color: rgba(255, 255, 255, 0.8); + border-radius: 8px; + box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); + } + + h1 { + color: #000000; + text-align: center; + } + + h2 { + color: #333; + } + + p { + margin-bottom: 20px; + } + + a { + color: #0faacd; + } + + ul { + list-style-type: none; + padding: 0; + } + + li { + margin-bottom: 10px; + } + + footer { + background-color: rgba(0, 0, 0, 0.5); + color: #fff; + text-align: center; + padding: 20px; + position: fixed; + left: 0; + bottom: 0; + width: 100%; + } + </style> +</head> +<body> + <header> + <img src="/static/NEWLOGO.png" alt="Logo" class="logo"> + <h1>LIVER</h1> + </header> + <div class="container"> + <h2>Liver Disease: A Comprehensive Guide</h2> + +<p>Liver disease is a broad term encompassing any condition that affects the liver, a vital organ responsible for various functions like filtering blood, producing proteins, and storing energy. Here's a comprehensive breakdown of liver diseases:</p> + +<h3>Types of Liver Disease:</h3> + +<p>Liver diseases can be categorized based on cause:</p> + +<ul> + <li><strong>Viral hepatitis:</strong> Inflammation caused by viruses. Common types include: + <ul> + <li>Hepatitis A: Acute infection usually spread through contaminated food or water.</li> + <li>Hepatitis B: Chronic infection spread through bodily fluids. Vaccination is available.</li> + <li>Hepatitis C: Chronic infection spread through bodily fluids. Highly treatable with medication.</li> + </ul> + </li> + <li><strong>Alcoholic liver disease:</strong> Spectrum of liver damage caused by excessive alcohol consumption.</li> + <li><strong>Nonalcoholic fatty liver disease (NAFLD):</strong> Fat buildup in the liver not caused by alcohol. Can progress to serious conditions if left unmanaged.</li> + <li><strong>Autoimmune hepatitis:</strong> The immune system attacks the liver cells.</li> + <li><strong>Inherited liver diseases:</strong> Genetic disorders causing liver problems, like hemochromatosis (iron overload) and Wilson disease (copper buildup).</li> + <li><strong>Biliary diseases:</strong> Affect the bile ducts that carry bile from the liver to the intestines. Examples include gallstones and primary biliary cholangitis.</li> + <li><strong>Liver cancer:</strong> Uncontrolled cell growth in the liver.</li> +</ul> + +<h3>Common Causes of Liver Disease:</h3> + +<p>Liver disease symptoms can vary depending on the type and severity. Here are some general signs:</p> + +<ul> + <li>Fatigue</li> + <li>Nausea and vomiting</li> + <li>Loss of appetite</li> + <li>Abdominal pain or swelling</li> + <li>Dark urine</li> + <li>Pale stools</li> + <li>Jaundice (yellowing of the skin and whites of the eyes)</li> + <li>Itchy skin</li> +</ul> + +<h3>Diagnosis of Liver Disease:</h3> + +<p>Doctors diagnose liver disease through a combination of methods:</p> + +<ul> + <li><strong>Blood tests:</strong> Evaluate liver function and detect abnormalities.</li> + <li><strong>Imaging tests:</strong> Ultrasound, CT scan, or MRI scan to visualize the liver.</li> + <li><strong>Liver biopsy:</strong> Tissue sample extraction for detailed analysis.</li> +</ul> + +<h3>Treatment of Liver Disease:</h3> + +<p>Treatment options depend on the specific type and cause of the liver disease. Here are some common approaches:</p> + +<ul> + <li><strong>Medications:</strong> Antiviral drugs for hepatitis, medications to manage NAFLD and autoimmune hepatitis.</li> + <li><strong>Lifestyle changes:</strong> Diet modifications, weight loss, and alcohol cessation are crucial.</li> + <li><strong>Surgery:</strong> In some cases, surgery may be necessary to remove diseased tissue or address complications.</li> + <li><strong>Liver transplant:</strong> For severe end-stage liver disease, a liver transplant may be an option.</li> +</ul> + +<h3>Complications of Liver Disease:</h3> + +<p>Untreated liver disease can lead to serious complications like:</p> + +<ul> + <li>Cirrhosis: Scarring of the liver that impairs function.</li> + <li>Liver failure: Inability of the liver to perform its essential functions.</li> + <li>Liver cancer</li> +</ul> + +<h3>Prevention of Liver Disease:</h3> + +<p>With proper diagnosis, treatment, and lifestyle modifications, many people with liver disease can live long and healthy lives. Here are some tips for managing liver disease:</p> + +<ul> + <li>Follow your doctor's recommendations: Adhere to prescribed medications and dietary guidelines.</li> + <li>Maintain a healthy weight: Exercise regularly and eat a balanced diet.</li> + <li>Avoid alcohol: Abstain from alcohol consumption if advised by your doctor.</li> + <li>Get regular checkups: Monitor your liver function with regular doctor visits and tests.</li> + <li>Join a support group: Connect with others who understand the challenges of living with liver disease.</li> +</ul> + +<h3>Additional Resources:</h3> + +<ul> + <li>American Liver Foundation: <a href="https://liverfoundation.org/">https://liverfoundation.org/</a></li> + <li>National Institute of Diabetes and Digestive and Kidney Diseases: <a href="https://www.niddk.nih.gov/">https://www.niddk.nih.gov/</a></li> +</ul> + + </div> + <br> + <br> + <br> + <br> + <br> + <footer> + </footer> +</body> +</html>