Update index.html
Browse files- index.html +92 -59
index.html
CHANGED
@@ -5,6 +5,8 @@
|
|
5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6 |
<title>Blue Vervain and Mugwort Study</title>
|
7 |
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.4/gsap.min.js"></script>
|
|
|
|
|
8 |
<style>
|
9 |
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;700&display=swap');
|
10 |
|
@@ -21,84 +23,115 @@
|
|
21 |
|
22 |
#svgContainer {
|
23 |
width: 90%;
|
24 |
-
height:
|
25 |
background-color: #ffffff;
|
26 |
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
}
|
28 |
</style>
|
29 |
</head>
|
30 |
<body>
|
31 |
-
<div id="svgContainer"
|
|
|
|
|
32 |
|
33 |
<script>
|
34 |
const content = `
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
66 |
`;
|
67 |
|
68 |
-
const
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
svgContainer.appendChild(svg);
|
73 |
-
|
74 |
-
const text = document.createElementNS("http://www.w3.org/2000/svg", "text");
|
75 |
-
text.setAttribute("x", "10");
|
76 |
-
text.setAttribute("y", "30");
|
77 |
-
text.setAttribute("font-size", "14");
|
78 |
-
text.setAttribute("fill", "#333");
|
79 |
-
svg.appendChild(text);
|
80 |
-
|
81 |
-
const lines = content.split('\n');
|
82 |
-
lines.forEach((line, index) => {
|
83 |
-
const tspan = document.createElementNS("http://www.w3.org/2000/svg", "tspan");
|
84 |
-
tspan.textContent = line.trim();
|
85 |
-
tspan.setAttribute("x", "10");
|
86 |
-
tspan.setAttribute("dy", index === 0 ? "0" : "1.2em");
|
87 |
-
text.appendChild(tspan);
|
88 |
-
});
|
89 |
|
90 |
-
const
|
|
|
91 |
const svgHeight = svgContainer.clientHeight;
|
92 |
|
93 |
-
gsap.to(
|
94 |
-
y: -
|
95 |
-
duration:
|
96 |
ease: "linear",
|
97 |
repeat: -1,
|
98 |
onRepeat: () => {
|
99 |
-
gsap.set(
|
100 |
}
|
101 |
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
102 |
</script>
|
103 |
</body>
|
104 |
</html>
|
|
|
5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6 |
<title>Blue Vervain and Mugwort Study</title>
|
7 |
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.4/gsap.min.js"></script>
|
8 |
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/marked/4.2.12/marked.min.js"></script>
|
9 |
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/mermaid/9.3.0/mermaid.min.js"></script>
|
10 |
<style>
|
11 |
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;700&display=swap');
|
12 |
|
|
|
23 |
|
24 |
#svgContainer {
|
25 |
width: 90%;
|
26 |
+
height: 90vh;
|
27 |
background-color: #ffffff;
|
28 |
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
29 |
+
overflow: hidden;
|
30 |
+
}
|
31 |
+
|
32 |
+
#content {
|
33 |
+
font-size: 24px;
|
34 |
+
line-height: 1.5;
|
35 |
+
padding: 20px;
|
36 |
+
}
|
37 |
+
|
38 |
+
h1, h2 {
|
39 |
+
color: #2c3e50;
|
40 |
+
}
|
41 |
+
|
42 |
+
.mermaid {
|
43 |
+
margin: 20px 0;
|
44 |
}
|
45 |
</style>
|
46 |
</head>
|
47 |
<body>
|
48 |
+
<div id="svgContainer">
|
49 |
+
<div id="content"></div>
|
50 |
+
</div>
|
51 |
|
52 |
<script>
|
53 |
const content = `
|
54 |
+
# Blue Vervain and Mugwort Study πΏπ¬
|
55 |
+
|
56 |
+
## 1. Phytochemical Analysis π§ͺ
|
57 |
+
- Isolate active compounds (HPLC, GC-MS, NMR)
|
58 |
+
- Focus on terpenes, flavonoids, alkaloids
|
59 |
+
|
60 |
+
## 2. In Vitro Studies π§«
|
61 |
+
- Effects on endothelial cells, lymphocytes
|
62 |
+
- Assess gene expression, protein levels
|
63 |
+
|
64 |
+
## 3. Molecular Pathway Analysis π§¬
|
65 |
+
- Investigate compound-receptor interactions
|
66 |
+
- Examine signaling pathways
|
67 |
+
|
68 |
+
## 4. Animal Studies π
|
69 |
+
- Observe systemic effects
|
70 |
+
- Use intravital microscopy
|
71 |
+
|
72 |
+
## 5. Clinical Trials π₯
|
73 |
+
- Small-scale human trials
|
74 |
+
- Use relevant biomarkers
|
75 |
+
|
76 |
+
## 6. Genetic/Epigenetic Studies π§¬π
|
77 |
+
- Analyze gene expression changes
|
78 |
+
- Employ ChIP-seq and RNA-seq
|
79 |
+
|
80 |
+
## Integration into Family Practice π¨ββοΈπ©ββοΈ
|
81 |
+
1. Standardize preparations and dosages
|
82 |
+
2. Conduct safety assessments
|
83 |
+
3. Develop clinical guidelines
|
84 |
+
4. Educate practitioners and patients
|
85 |
+
|
86 |
+
## Study Workflow
|
87 |
+
\`\`\`mermaid
|
88 |
+
graph TD
|
89 |
+
A[Phytochemical Analysis] --> B[In Vitro Studies]
|
90 |
+
B --> C[Molecular Pathway Analysis]
|
91 |
+
C --> D[Animal Studies]
|
92 |
+
D --> E[Clinical Trials]
|
93 |
+
E --> F[Genetic/Epigenetic Studies]
|
94 |
+
F --> G[Integration into Family Practice]
|
95 |
+
\`\`\`
|
96 |
`;
|
97 |
|
98 |
+
const contentDiv = document.getElementById('content');
|
99 |
+
contentDiv.innerHTML = marked.parse(content);
|
100 |
+
|
101 |
+
mermaid.initialize({ startOnLoad: true });
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
102 |
|
103 |
+
const svgContainer = document.getElementById('svgContainer');
|
104 |
+
const contentHeight = contentDiv.scrollHeight;
|
105 |
const svgHeight = svgContainer.clientHeight;
|
106 |
|
107 |
+
gsap.to(contentDiv, {
|
108 |
+
y: -contentHeight + svgHeight,
|
109 |
+
duration: 60,
|
110 |
ease: "linear",
|
111 |
repeat: -1,
|
112 |
onRepeat: () => {
|
113 |
+
gsap.set(contentDiv, { y: 0 });
|
114 |
}
|
115 |
});
|
116 |
+
|
117 |
+
// Inline SVG art
|
118 |
+
const svgArt = `
|
119 |
+
<svg width="100" height="100" viewBox="0 0 100 100" style="position: absolute; top: 10px; right: 10px;">
|
120 |
+
<defs>
|
121 |
+
<linearGradient id="grad" x1="0%" y1="0%" x2="100%" y2="100%">
|
122 |
+
<stop offset="0%" style="stop-color:#48c6ef;stop-opacity:1" />
|
123 |
+
<stop offset="100%" style="stop-color:#6f86d6;stop-opacity:1" />
|
124 |
+
</linearGradient>
|
125 |
+
</defs>
|
126 |
+
<circle cx="50" cy="50" r="40" fill="url(#grad)">
|
127 |
+
<animate attributeName="r" values="40;45;40" dur="2s" repeatCount="indefinite" />
|
128 |
+
</circle>
|
129 |
+
<path d="M50 10 L90 90 L10 90 Z" fill="none" stroke="white" stroke-width="2">
|
130 |
+
<animate attributeName="stroke-dasharray" values="0,300;300,0;0,300" dur="4s" repeatCount="indefinite" />
|
131 |
+
</path>
|
132 |
+
</svg>
|
133 |
+
`;
|
134 |
+
svgContainer.insertAdjacentHTML('beforeend', svgArt);
|
135 |
</script>
|
136 |
</body>
|
137 |
</html>
|