Implement scroll animations across multiple sections in HTML files. Update CSS to define animation styles and visibility transitions for elements with the class "animate-on-scroll".
This commit is contained in:
1 parent
535600ab5c
commit
2aea656f0b
13 files changed
+201
-152
No files matched your search
+21
-21
@@ -104,11 +104,11 @@
|
||||
|
||||
<section class="restorative-community-section">
|
||||
<div class="restorative-community-grid site-container">
|
||||
<figure class="restorative-community-image">
|
||||
<figure class="restorative-community-image animate-on-scroll">
|
||||
<img width="1280" height="960" decoding="async" loading="lazy" src="../img/03-shared-kitchen.jpg" alt="A group of people talking around the kitchen island and in the living area beyond it">
|
||||
</figure>
|
||||
|
||||
<div class="restorative-community-copy content-stack">
|
||||
<div class="restorative-community-copy content-stack animate-on-scroll">
|
||||
<p class="section-tag text-teal">Where healing takes root</p>
|
||||
<h2>Space for safety.<br><span class="text-teal">Community for healing.</span></h2>
|
||||
<p class="description">A safe apartment can create breathing room. Talitha Koum builds on that foundation with relationships, shared routines, practical learning, and a community that keeps showing up.</p>
|
||||
@@ -132,7 +132,7 @@
|
||||
|
||||
<section id="the-campus" class="campus-spaces-section">
|
||||
<div class="site-container">
|
||||
<div class="campus-spaces-heading">
|
||||
<div class="campus-spaces-heading animate-on-scroll">
|
||||
<div class="content-stack">
|
||||
<p class="section-tag text-teal">The campus</p>
|
||||
<h2>Designed for both <em>privacy</em> and <em>belonging.</em></h2>
|
||||
@@ -141,28 +141,28 @@
|
||||
</div>
|
||||
|
||||
<div class="campus-spaces-grid">
|
||||
<article class="campus-space-card">
|
||||
<article class="campus-space-card animate-on-scroll">
|
||||
<p class="extra-large-number text-gray">2</p>
|
||||
<div>
|
||||
<h3>Family apartments</h3>
|
||||
<p>Room for mothers and children to live together with privacy, stability, and the rhythms of home.</p>
|
||||
</div>
|
||||
</article>
|
||||
<article class="campus-space-card">
|
||||
<article class="campus-space-card animate-on-scroll">
|
||||
<p class="extra-large-number text-gray">6</p>
|
||||
<div>
|
||||
<h3>Studio apartments</h3>
|
||||
<p>Individual living spaces that offer safety, independence, and a place to exhale.</p>
|
||||
</div>
|
||||
</article>
|
||||
<article class="campus-space-card">
|
||||
<article class="campus-space-card animate-on-scroll">
|
||||
<p class="extra-large-number text-gray">1</p>
|
||||
<div>
|
||||
<h3>Shared community space</h3>
|
||||
<p>A place for support groups, meals, conversation, skill-building, and ordinary time together.</p>
|
||||
</div>
|
||||
</article>
|
||||
<article class="campus-space-card campus-space-card--green">
|
||||
<article class="campus-space-card campus-space-card--green animate-on-scroll">
|
||||
<p class="extra-large-number text-white">Safe</p>
|
||||
<div>
|
||||
<h3>Security and peace of mind</h3>
|
||||
@@ -175,7 +175,7 @@
|
||||
|
||||
<section class="campus-story-section section--teal">
|
||||
<div class="site-container">
|
||||
<div class="campus-story-heading">
|
||||
<div class="campus-story-heading animate-on-scroll">
|
||||
<div class="content-stack">
|
||||
<p class="section-tag text-yellow">The Talitha Koum story</p>
|
||||
<h2 class="text-white">It began without a building.<em> Then a place opened its doors.</em></h2>
|
||||
@@ -184,26 +184,26 @@
|
||||
</div>
|
||||
|
||||
<div class="campus-story-layout">
|
||||
<figure class="campus-story-image">
|
||||
<figure class="campus-story-image animate-on-scroll">
|
||||
<img width="952" height="1190" decoding="async" loading="lazy" src="../img/03-kids.jpeg" alt="Two boys waving from an oversized yellow school-bus chair labeled Back2Learn">
|
||||
</figure>
|
||||
|
||||
<div class="campus-story-chapters">
|
||||
<article class="campus-story-chapter">
|
||||
<article class="campus-story-chapter animate-on-scroll">
|
||||
<p class="campus-story-era">Before the campus</p>
|
||||
<div>
|
||||
<h3>Help went wherever it was needed.</h3>
|
||||
<p>Beginning in 2017, Whispers met women in coffee shops, city parks, and courthouses. There was no office, only a commitment to be present.</p>
|
||||
</div>
|
||||
</article>
|
||||
<article class="campus-story-chapter campus-story-chapter--green">
|
||||
<article class="campus-story-chapter campus-story-chapter--green animate-on-scroll">
|
||||
<p class="campus-story-era">A place becomes possible</p>
|
||||
<div>
|
||||
<h3>In 2023, the ministry found a home.</h3>
|
||||
<p>The former assisted-living property became Talitha Koum, the Healing Campus, with apartments, shared space, and room for women and children to breathe.</p>
|
||||
</div>
|
||||
</article>
|
||||
<article class="campus-story-chapter campus-story-chapter--yellow">
|
||||
<article class="campus-story-chapter campus-story-chapter--yellow animate-on-scroll">
|
||||
<p class="campus-story-era">The story continues</p>
|
||||
<div>
|
||||
<h3>The first residents arrived in September 2024.</h3>
|
||||
@@ -217,7 +217,7 @@
|
||||
|
||||
<section class="campus-community-section">
|
||||
<div class="site-container">
|
||||
<div class="campus-community-heading">
|
||||
<div class="campus-community-heading animate-on-scroll">
|
||||
<div class="content-stack">
|
||||
<p class="section-tag text-teal">Built with many hands</p>
|
||||
<h2>A community helped make this possible.</h2>
|
||||
@@ -226,22 +226,22 @@
|
||||
</div>
|
||||
|
||||
<div class="campus-community-gallery">
|
||||
<figure class="campus-community-photo campus-community-photo--team">
|
||||
<figure class="campus-community-photo campus-community-photo--team animate-on-scroll">
|
||||
<img width="1000" height="750" decoding="async" loading="lazy" src="../img/gallery/03-gallery/gallery.JPG" alt="A work crew posing in the Talitha Koum kitchen, many wearing matching Interstates shirts">
|
||||
</figure>
|
||||
<figure class="campus-community-photo campus-community-photo--painting">
|
||||
<figure class="campus-community-photo campus-community-photo--painting animate-on-scroll">
|
||||
<img width="1000" height="1333" decoding="async" loading="lazy" src="../img/gallery/03-gallery/painting.jpeg" alt="Three people painting a room, one rolling paint onto the ceiling from a step stool">
|
||||
</figure>
|
||||
<figure class="campus-community-photo campus-community-photo--electrical">
|
||||
<figure class="campus-community-photo campus-community-photo--electrical animate-on-scroll">
|
||||
<img width="1000" height="1000" decoding="async" loading="lazy" src="../img/gallery/03-gallery/electrical.jpeg" alt="A person working on an open ceiling light with wires hanging down in a storage room">
|
||||
</figure>
|
||||
<figure class="campus-community-photo campus-community-photo--cleaning">
|
||||
<figure class="campus-community-photo campus-community-photo--cleaning animate-on-scroll">
|
||||
<img width="1000" height="750" decoding="async" loading="lazy" src="../img/gallery/03-gallery/cleaning.jpeg" alt="Two people cleaning a carpeted room, one with a vacuum and one beside a table">
|
||||
</figure>
|
||||
<figure class="campus-community-photo campus-community-photo--kitchen">
|
||||
<figure class="campus-community-photo campus-community-photo--kitchen animate-on-scroll">
|
||||
<img width="1000" height="750" decoding="async" loading="lazy" src="../img/gallery/03-gallery/kitchen.jpeg" alt="Three people in a kitchen, one washing dishes and another holding a pan">
|
||||
</figure>
|
||||
<figure class="campus-community-photo campus-community-photo--playground">
|
||||
<figure class="campus-community-photo campus-community-photo--playground animate-on-scroll">
|
||||
<img width="1000" height="1333" decoding="async" loading="lazy" src="../img/gallery/03-gallery/playground.jpeg" alt="Three adults pose in front of a wooden playground while a child sits on the structure">
|
||||
</figure>
|
||||
</div>
|
||||
@@ -250,11 +250,11 @@
|
||||
|
||||
<section class="campus-access-section section--gray">
|
||||
<div class="campus-access-content site-container">
|
||||
<div class="content-stack">
|
||||
<div class="content-stack animate-on-scroll">
|
||||
<p class="section-tag text-teal">Support beyond the campus</p>
|
||||
<h2>You do not have to live here to receive help.</h2>
|
||||
</div>
|
||||
<div class="campus-access-action content-stack">
|
||||
<div class="campus-access-action content-stack animate-on-scroll">
|
||||
<p class="description description--small">Talitha Koum is one part of Whispers. Support remains available to women and families impacted by domestic abuse, whether or not they live on the campus.</p>
|
||||
<a class="btn btn--large" href="../get-help/">Start a Conversation</a>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user