Switch to unified view

a b/templates/diabetes_info.html
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>Diabetes: In Depth</title>
7
    <style>
8
        body {
9
            font-family: Arial, sans-serif;
10
            margin: 0;
11
            padding: 0;
12
            background-image: url('/static/diabetes\ \(1\).jpg');
13
            background-size: cover;
14
            background-position: center;
15
            color: #333;
16
        }
17
18
        header {
19
            background-color: rgba(0, 0, 0, 0.5);
20
            color: #fff;
21
            padding: 20px;
22
            text-align: center;
23
            position: relative;
24
        }
25
26
        .logo {
27
            position: absolute;
28
            top: 10px;
29
            left: 20px;
30
            right:20px;
31
            width: 100px;
32
            height: auto;
33
        }
34
35
        .container {
36
            max-width: 800px;
37
            margin: 20px auto;
38
            padding: 20px;
39
            background-color: rgba(255, 255, 255, 0.8);
40
            border-radius: 8px;
41
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
42
        }
43
44
        h1 {
45
            color: #000000;
46
            text-align: center;
47
        }
48
49
        h2 {
50
            color: #333;
51
        }
52
53
        p {
54
            margin-bottom: 20px;
55
        }
56
57
        a {
58
            color: #0faacd;
59
        }
60
61
        ul {
62
            list-style-type: none;
63
            padding: 0;
64
        }
65
66
        li {
67
            margin-bottom: 10px;
68
        }
69
70
        footer {
71
            background-color: rgba(0, 0, 0, 0.5);
72
            color: #fff;
73
            text-align: center;
74
            padding: 20px;
75
            position: fixed;
76
            left: 0;
77
            bottom: 0;
78
            width: 100%;
79
        }
80
    </style>
81
</head>
82
<body>
83
    <header>
84
        <img src="/static/NEWLOGO.png" alt="Logo" class="logo">
85
        <h1>DIABETES</h1>
86
    </header>
87
    <div class="container">
88
        <h2>Diabetes: In Depth</h2>
89
90
        <p>Diabetes is a chronic (long-lasting) condition that affects how your body regulates blood sugar. Here's a breakdown of the key aspects of diabetes:</p>
91
        
92
        <h3>The Role of Insulin and Blood Sugar:</h3>
93
        
94
        <ul>
95
            <li>Your body breaks down most of the food you eat into sugar (glucose) which enters your bloodstream.</li>
96
            <li>Insulin, a hormone produced by your pancreas, acts like a key that unlocks cells, allowing glucose to enter and be used for energy.</li>
97
        </ul>
98
        
99
        <h3>What Happens in Diabetes:</h3>
100
        
101
        <ul>
102
            <li>In diabetes, either your body doesn't produce enough insulin (type 1) or the cells become resistant to insulin's effects (type 2).</li>
103
            <li>This leads to excess sugar buildup in the bloodstream (hyperglycemia). Over time, this can damage nerves, blood vessels, and organs.</li>
104
        </ul>
105
        
106
        <h3>Types of Diabetes:</h3>
107
        
108
        <ul>
109
            <li><strong>Type 1 Diabetes:</strong> An autoimmune disease where the body attacks insulin-producing cells in the pancreas. It usually develops in childhood or young adulthood, and people with type 1 require lifelong insulin therapy.</li>
110
            <li><strong>Type 2 Diabetes:</strong> The most common form, often developing in adults. The body may not produce enough insulin, or cells may resist its effects. Lifestyle changes like diet and exercise are crucial for management, and medication may also be needed.</li>
111
            <li><strong>Gestational Diabetes:</strong> Develops during pregnancy but usually disappears after childbirth. However, it increases the risk of developing type 2 diabetes later in life.</li>
112
        </ul>
113
        
114
        <h3>Symptoms of Diabetes:</h3>
115
        
116
        <ul>
117
            <li>Frequent urination</li>
118
            <li>Excessive thirst</li>
119
            <li>Increased hunger</li>
120
            <li>Unexplained weight loss</li>
121
            <li>Fatigue</li>
122
            <li>Blurred vision</li>
123
            <li>Slow-healing wounds</li>
124
        </ul>
125
        
126
        <h3>Complications of Diabetes:</h3>
127
        
128
        <ul>
129
            <li>If not managed properly, diabetes can lead to serious complications, including:</li>
130
            <ul>
131
                <li>Heart disease and stroke</li>
132
                <li>Nerve damage (neuropathy) leading to pain, numbness, and increased risk of foot ulcers</li>
133
                <li>Kidney disease</li>
134
                <li>Eye problems, including glaucoma and diabetic retinopathy (a leading cause of blindness)</li>
135
                <li>Amputations</li>
136
            </ul>
137
        </ul>
138
        
139
        <h3>Diagnosis of Diabetes:</h3>
140
        
141
        <ul>
142
            <li>Doctors diagnose diabetes through blood tests that measure blood sugar levels.</li>
143
        </ul>
144
        
145
        <h3>Management of Diabetes:</h3>
146
        
147
        <ul>
148
            <li>There's no cure for diabetes, but it can be effectively managed through a combination of approaches:</li>
149
            <ul>
150
                <li><strong>Healthy Diet:</strong> Focus on whole grains, fruits, vegetables, and lean protein while limiting processed foods and sugary drinks.</li>
151
                <li><strong>Regular Exercise:</strong> Physical activity helps improve insulin sensitivity and blood sugar control.</li>
152
                <li><strong>Weight Management:</strong> Losing weight, if overweight, can significantly improve diabetes management.</li>
153
                <li><strong>Medication:</strong> Depending on the type and severity, medications like insulin, oral medications, or injectable medications may be prescribed.</li>
154
                <li><strong>Blood Sugar Monitoring:</strong> Regularly checking blood sugar levels helps ensure diabetes is under control.</li>
155
                <li><strong>Education and Support:</strong> Learning about diabetes self-management and connecting with support groups can be empowering.</li>
156
            </ul>
157
        </ul>
158
        
159
        <h3>Preventing Type 2 Diabetes:</h3>
160
        
161
        <ul>
162
            <li>While type 1 diabetes can't be prevented, maintaining a healthy weight, eating a balanced diet, and exercising regularly can significantly reduce the risk of developing type 2 diabetes.</li>
163
        </ul>
164
        
165
        <h3>Additional Resources:</h3>
166
        
167
        <ul>
168
            <li>American Diabetes Association: <a href="https://diabetes.org/">https://diabetes.org/</a></li>
169
            <li>National Institute of Diabetes and Digestive and Kidney Diseases: <a href="https://diatribe.org/topics">https://diatribe.org/topics</a></li>
170
            <li>Centers for Disease Control and Prevention: <a href="https://www.cdc.gov/diabetes/index.html">https://www.cdc.gov/diabetes/index.html</a></li>
171
        </ul>
172
        
173
        <p>For more information, visit: <a href="https://diabetes.org/">American Diabetes Association</a></p>
174
    </div>
175
    <br>
176
    <br>
177
    <br>
178
    <br>
179
    <br>
180
    <br>
181
    <br>
182
    <br>
183
    <footer>
184
    </footer>
185
</body>
186
</html>