--- a +++ b/templates/gi.html @@ -0,0 +1,172 @@ +<!DOCTYPE html> +<html lang="en"> + +<head> + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <title>Gastrointestinal Diseases: In Depth</title> + <style> + body { + font-family: Arial, sans-serif; + margin: 0; + padding: 0; + background-image: url('/static/gi\ bg.png'); + 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; + 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; + border: #000000; + border-radius: 5%; + } + + 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>Gastrointestinal Diseases</h1> + </header> + <div class="container"> + <h2>Gastrointestinal Diseases: A Comprehensive Guide</h2> + + <p>Gastrointestinal (GI) diseases affect the digestive system, which includes the stomach, intestines, liver, pancreas, and esophagus. These conditions can range from mild discomfort to severe life-threatening issues.</p> + + <h3>Types of Gastrointestinal Diseases:</h3> + + <ul> + <li><strong>Gastroesophageal Reflux Disease (GERD):</strong> A chronic condition where stomach acid flows back into the esophagus, causing heartburn and irritation.</li> + <li><strong>Peptic Ulcers:</strong> Sores that develop on the lining of the stomach or small intestine due to acid erosion.</li> + <li><strong>Crohn's Disease:</strong> An inflammatory bowel disease (IBD) that can affect any part of the GI tract, causing pain, diarrhea, and malnutrition.</li> + <li><strong>Ulcerative Colitis:</strong> Another type of IBD that specifically affects the colon and rectum, leading to inflammation and ulcers.</li> + <li><strong>Diverticulitis:</strong> Inflammation or infection of pouches that can form in the walls of the colon.</li> + <li><strong>Irritable Bowel Syndrome (IBS):</strong> A functional disorder causing abdominal pain, bloating, and changes in bowel habits.</li> + <li><strong>Liver Diseases:</strong> Conditions like hepatitis, fatty liver disease, and cirrhosis that impair liver function.</li> + </ul> + + <h3>Common Causes of Gastrointestinal Diseases:</h3> + + <ul> + <li><strong>Unhealthy diet:</strong> Low fiber, high-fat diets can contribute to GI issues.</li> + <li><strong>Infections:</strong> Bacterial, viral, or parasitic infections can affect the GI tract.</li> + <li><strong>Genetics:</strong> Some conditions, like Crohn's disease, have a hereditary component.</li> + <li><strong>Stress:</strong> Chronic stress can worsen symptoms of IBS and GERD.</li> + <li><strong>Smoking and alcohol:</strong> Both can damage the stomach lining and liver.</li> + <li><strong>Use of NSAIDs:</strong> Long-term use of pain relievers like ibuprofen can cause ulcers.</li> + </ul> + + <h3>Symptoms of Gastrointestinal Diseases:</h3> + + <ul> + <li>Abdominal pain or discomfort</li> + <li>Bloating and gas</li> + <li>Nausea and vomiting</li> + <li>Diarrhea or constipation</li> + <li>Heartburn or acid reflux</li> + <li>Unintended weight loss</li> + <li>Blood in stool or black, tarry stools</li> + </ul> + + <h3>Precautions to Prevent Gastrointestinal Diseases:</h3> + + <ul> + <li><strong>Eat a balanced diet:</strong> Focus on fiber-rich foods, lean proteins, and healthy fats.</li> + <li><strong>Stay hydrated:</strong> Drink plenty of water throughout the day.</li> + <li><strong>Exercise regularly:</strong> Physical activity helps maintain healthy digestion.</li> + <li><strong>Limit alcohol and caffeine:</strong> Excessive consumption can irritate the stomach lining.</li> + <li><strong>Avoid smoking:</strong> Smoking increases the risk of several GI conditions.</li> + <li><strong>Manage stress:</strong> Practice relaxation techniques to prevent stress-induced GI issues.</li> + </ul> + + <h3>Articles about Gastrointestinal Diseases:</h3> + + <ul> + <li>National Institute of Diabetes and Digestive and Kidney Diseases: <a href="https://www.niddk.nih.gov/">https://www.niddk.nih.gov/</a></li> + <li>World Gastroenterology Organization: <a href="https://www.worldgastroenterology.org/">https://www.worldgastroenterology.org/</a></li> + <li>Mayo Clinic: <a href="https://www.mayoclinic.org/diseases-conditions">https://www.mayoclinic.org/diseases-conditions</a></li> + </ul> + + <h3>Foods Good for the Digestive System:</h3> + + <ul> + <li><strong>Probiotics:</strong> Found in yogurt, kefir, and fermented foods, these help maintain a healthy gut flora.</li> + <li><strong>High-fiber foods:</strong> Fruits, vegetables, whole grains, and legumes aid digestion.</li> + <li><strong>Ginger:</strong> Helps with nausea and stimulates digestion.</li> + <li><strong>Bananas:</strong> Rich in potassium and easy to digest.</li> + <li><strong>Bone broth:</strong> Provides nutrients and aids in repairing the gut lining.</li> + </ul> + + <p>Consult a healthcare professional for personalized advice if you experience persistent symptoms or need guidance on managing a gastrointestinal condition.</p> + + </div> + <br> + <br> + <br> + <br> + <br> + <footer> + <p>© 2024 Gastrointestinal Health Resources</p> + </footer> +</body> + +</html>