Skip to content

Commit ded4b62

Browse files
committed
feat: update conclusion.html and index.html for improved navigation and user journey clarity; enhance styles in style.css for better layout and responsiveness
1 parent 80da3c4 commit ded4b62

6 files changed

Lines changed: 90 additions & 59 deletions

File tree

web/conclusion.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,19 +71,19 @@ <h2>Final Verdict</h2>
7171
it is the conversation around it.
7272
</blockquote>
7373

74-
<hr />
74+
7575

7676
<div class="cta-container">
7777
<div class="cta-button">
78-
<a href="./index.html/">Back to Introduction</a>
78+
<a href="./index.html/">Introduction</a>
7979
</div>
8080

8181
<div class="cta-button">
82-
<a href="./community/#/User_community">Explore User Communities</a>
82+
<a href="./community/#/User_community">User Journey</a>
8383
</div>
8484

8585
<div class="cta-button">
86-
<a href="./conclusion.html">Read Results & Conclusions</a>
86+
<a href="./conclusion.html">Network Journey</a>
8787
</div>
8888
</div>
8989
</body>

web/index.html

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ <h2>Our Research Questions</h2>
6868
</ul>
6969
</div>
7070

71-
<hr />
7271

7372
<h2>Two Ways to Explore the Data</h2>
7473

@@ -112,18 +111,23 @@ <h2>Two Ways to Explore the Data</h2>
112111
but because <em>you observe it emerge</em>.
113112
</li>
114113
</ul>
114+
</div>
115+
<!-- Integrated choice -->
116+
<div class="cta-container">
117+
<div class="cta-button">
118+
<a href="./viz/">Network Journey</a>
119+
</div>
115120

116-
<!-- Integrated choice -->
117-
<div class="journey-choice">
118-
<a href="./viz/" class="journey-btn network">
119-
Start the Network Journey
120-
</a>
121+
<div class="cta-button">
122+
<a href="./community/#/User_community">User Journey</a>
121123

122-
<a href="./community/#/User_community" class="journey-btn user">
123-
Start the User Journey
124-
</a>
125124
</div>
126-
</div>
125+
<div class="cta-button">
126+
<a href="conclusion.html">Conclusion</a>
127+
128+
</div>
129+
130+
127131

128132

129133
</body>

web/public/viz/index.html

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,15 @@ <h3>The Community Pathfinder</h3>
528528
<div id="carouselContainer"></div>
529529
</div>
530530
</div>
531-
</section>>
531+
</section>
532+
533+
<nav class="top-nav">
534+
<div class="container nav-inner">
535+
<a class="nav-btn" href="index.html">Intro</a>
536+
<a class="nav-btn" href="/user_community">User Community</a>
537+
<a class="nav-btn nav-btn-accent" href="conclusion.html">Conclusion</a>
538+
</div>
539+
</nav>
532540

533541

534542

web/public/viz/style.css

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -909,4 +909,51 @@ code {
909909
font-family: monospace;
910910
color: #FF8080;
911911
/* Light red for code */
912+
}
913+
914+
.top-nav{
915+
position: sticky;
916+
top: 0;
917+
z-index: 20;
918+
padding: 6px 0;
919+
background: rgba(0,0,0,0.35);
920+
backdrop-filter: blur(14px);
921+
-webkit-backdrop-filter: blur(14px);
922+
border-bottom: 1px solid rgba(255,255,255,0.08);
923+
}
924+
925+
.nav-inner{
926+
display: flex;
927+
gap: 12px;
928+
align-items: center;
929+
justify-content: center; /* center buttons */
930+
}
931+
932+
.nav-btn{
933+
display: inline-flex;
934+
align-items: center;
935+
gap: 8px;
936+
padding: 10px 14px;
937+
border-radius: 12px;
938+
text-decoration: none;
939+
color: rgba(255,255,255,0.9);
940+
background: rgba(255,255,255,0.07);
941+
border: 1px solid rgba(255,255,255,0.12);
942+
transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
943+
}
944+
945+
.nav-btn:hover{
946+
transform: translateY(-1px);
947+
background: rgba(255,255,255,0.11);
948+
border-color: rgba(255,255,255,0.20);
949+
}
950+
951+
.nav-btn-accent{
952+
background: rgba(231, 76, 60, 0.22);
953+
border-color: rgba(231, 76, 60, 0.40);
954+
}
955+
956+
.nav-btn-accent:hover{
957+
background: rgba(231, 76, 60, 0.30);
958+
border-color: rgba(231, 76, 60, 0.60);
912959
}

web/src/pages/User_community.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export default function User_community() {
6060

6161
return (
6262
<>
63-
<BackgroundCommentFlow />
63+
<BackgroundNodes />
6464

6565
<div className="page">
6666
{/* HERO */}

web/style.css

Lines changed: 15 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -106,22 +106,30 @@ blockquote {
106106

107107
/* ---------- Call-to-Action Buttons ---------- */
108108
.cta-wrapper {
109-
min-height: 60vh; /* controls vertical placement */
109+
min-height: 60vh;
110110
display: flex;
111-
justify-content: center; /* center vertically */
111+
justify-content: center; /* horizontal centering */
112+
align-items: center; /* vertical centering */
112113
}
113114

114115
.cta-container {
115116
display: flex;
116117
gap: 36px;
117-
flex-wrap: wrap; /* wraps on small screens */
118-
margin-top: 48px;
119-
margin-bottom: 80px;
118+
justify-content: center;
119+
align-items: center;
120+
flex-wrap: wrap;
121+
margin-top: 64px;
122+
margin-bottom: 120px;
120123
}
121124

122125
.cta-button a {
123-
display: inline-block;
124-
padding: 10px 32px;
126+
display: inline-flex;
127+
justify-content: center;
128+
align-items: center;
129+
130+
min-width: 180px; /* 👈 key line */
131+
padding: 12px 16px;
132+
125133
font-weight: 600;
126134
text-decoration: none;
127135
color: white;
@@ -134,40 +142,4 @@ blockquote {
134142
.cta-button a:hover {
135143
transform: translateY(-3px);
136144
box-shadow: 0 14px 30px rgba(231, 76, 60, 0.35);
137-
}
138-
139-
.journey-choice {
140-
display: grid;
141-
grid-template-columns: 1fr 1fr;
142-
gap: 20px;
143-
margin-top: 30px;
144-
}
145-
146-
.journey-btn {
147-
display: block;
148-
text-align: center;
149-
padding: 16px 18px;
150-
border-radius: 12px;
151-
font-weight: 600;
152-
text-decoration: none;
153-
transition: transform 0.2s ease, box-shadow 0.2s ease;
154-
}
155-
156-
/* Network = analyst-led */
157-
.journey-btn.network {
158-
background: rgba(231, 76, 60, 0.08);
159-
border: 1px solid rgba(231, 76, 60, 0.35);
160-
color: #b93a2e;
161-
}
162-
163-
/* User = exploratory */
164-
.journey-btn.user {
165-
background: rgba(44, 62, 80, 0.06);
166-
border: 1px solid rgba(44, 62, 80, 0.3);
167-
color: #2c3e50;
168-
}
169-
170-
.journey-btn:hover {
171-
transform: translateY(-2px);
172-
box-shadow: 0 6px 16px rgba(0,0,0,0.08);
173145
}

0 commit comments

Comments
 (0)