-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
84 lines (74 loc) · 2.71 KB
/
index.html
File metadata and controls
84 lines (74 loc) · 2.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
---
# Front matter forces Jekyll to process Liquid in this HTML file
---
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Crowd Analysis</title>
<link rel="stylesheet" href="style.css" />
<link rel="icon" href="favicon.ico" />
</head>
<body>
<!-- Header / Hero -->
<header>
<div class="header-lower">
<h1>
Assessing pedestrian responses to autonomous and<br/>
personal mobility robots in crowded public spaces
</h1>
<p>Comparison between Human-Human (HH) vs Human-Robot (HR) Interaction</p>
</div>
<!-- Simple nav (only Home active for now, others are placeholders you can add later) -->
<nav>
<a href="index.html" class="active">Home</a>
<a href="#" class="disabled" aria-disabled="true">About</a>
<a href="#" class="disabled" aria-disabled="true">Publications</a>
</nav>
</header>
<!-- Main content (README injected here) -->
<div class="content-container">
<main>
<article class="readme-wrapper">
{% capture readme %}{% include_relative README.md %}{% endcapture %}
{{ readme | markdownify }}
</article>
</main>
</div>
<!-- Footer with logos and contact line -->
<footer>
<div class="footer-container">
<div class="footer-logos">
<img src="webpage_assets/ethz_logo.png" alt="ETH Zurich Logo" />
<img src="webpage_assets/scai_logo.png" alt="SCAI Lab Logo" />
</div>
<p>© 2025 ETH Zurich – Crowd Analysis Project | Contact: dominik.wojcikiewicz@hest.ethz.ch, diego.paez@scai.ethz.ch</p>
</div>
</footer>
<!-- Mermaid renderer for README code blocks -->
<script src="https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.min.js"></script>
<script>
// Initialize Mermaid (you can change the theme if you like)
mermaid.initialize({ startOnLoad: false, theme: "default" });
// Convert ```mermaid fenced code blocks into <div class="mermaid">…</div>
document.addEventListener("DOMContentLoaded", () => {
// Look for both GitHub/Kramdown styles:
const candidates = document.querySelectorAll(
'code.language-mermaid, code.mermaid'
);
candidates.forEach((code) => {
const pre = code.closest('pre');
const container = document.createElement('div');
container.className = 'mermaid';
// Use the raw text content of the code block
container.textContent = code.textContent;
// Replace the entire <pre><code>…</code></pre> with the mermaid container
pre.replaceWith(container);
});
// Now ask Mermaid to render everything
mermaid.run();
});
</script>
</body>
</html>