Skip to content

Commit

Permalink
Update OCW Stories copy (#1536)
Browse files Browse the repository at this point in the history
  • Loading branch information
pt2302 authored Feb 28, 2025
1 parent cf229f6 commit 085c231
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
5 changes: 2 additions & 3 deletions www/layouts/partials/home_stories.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@
<div class="carousel-header d-flex flex-column mx-auto container stories-carousel-header">
<h2 class="mx-auto">OpenCourseWare Stories</h2>
<p class="mx-auto text-center">
MIT students' stories reflect a relentless pursuit of knowledge and innovation.
From coding breakthroughs to launching startups, their journey showcases the Institute's
commitment to pushing boundaries and changing the world.
Stories from the OpenCourseWare community reflect the profound
impact of sharing knowledge and the transformative power of open education.
</p>
</div>
<div class="carousel-section d-flex align-items-center">
Expand Down
18 changes: 9 additions & 9 deletions www/layouts/stories/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,21 @@
<div class="testimonial-banner list d-flex flex-column">
<div class="standard-width container text-center">
<h1>OpenCourseWare Stories</h1>
<p>MIT students' stories reflect a relentless pursuit of knowledge and innovation. From coding breakthroughs to launching startups, their journey showcases the Institute's commitment to pushing boundaries and changing the world.</p>
<p>Stories from the OpenCourseWare community reflect the profound impact of sharing knowledge and the transformative power of open education.</p>
</div>
</div>
<div class="standard-width container">
<div class="d-flex flex-wrap stories-list-item-container">
{{ range $index, $testimonial := $stories }}
<div class="d-flex flex-nowrap justify-content-center col-12 col-md-6 {{ if or (eq (mod $index 8) 0) (eq (mod $index 8) 1) }}col-lg-6{{ else }}col-lg-4{{ end }} p-0 stories-list-item">
<a
data-modal-content-id="modal-content-{{ $index }}"
class="item-wrapper d-block testimonial-link {{if $testimonial.Params.is_quote}}js-modal-trigger{{end}} text-decoration-none"
{{ if $testimonial.Params.is_quote }}
href="#"
data-toggle="modal"
{{ else }}
href="{{ $testimonial.RelPermalink }}"
<a
data-modal-content-id="modal-content-{{ $index }}"
class="item-wrapper d-block testimonial-link {{if $testimonial.Params.is_quote}}js-modal-trigger{{end}} text-decoration-none"
{{ if $testimonial.Params.is_quote }}
href="#"
data-toggle="modal"
{{ else }}
href="{{ $testimonial.RelPermalink }}"
{{ end }}
>
{{ partial "testimonial_card.html" (dict "testimonial" $testimonial "index" $index "source" "list") }}
Expand Down

0 comments on commit 085c231

Please sign in to comment.