Skip to content

Commit 3f3375c

Browse files
authored
Merge pull request #414 from typelevel/no-anim-about
Remove animation on all pages
2 parents 8aaac45 + bb242e3 commit 3f3375c

File tree

7 files changed

+7
-38
lines changed

7 files changed

+7
-38
lines changed

_includes/_head.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
<!-- Custom CSS -->
1313
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.3.1/styles/monokai.min.css">
14-
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
1514
<link rel="stylesheet" href="{{ '/css/main.css' | relative_url }}">
1615

1716
<link rel="alternate" type="application/rss+xml" title="Blog articles" href="{% link blog/feed.rss %}" />

_includes/_js-bottom.html

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,3 @@
22
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.3.1/highlight.min.js"></script>
33
<script>hljs.highlightAll();</script>
44
<script src="https://kit.fontawesome.com/a7055d991d.js" crossorigin="anonymous"></script>
5-
<script src="https://unpkg.com/aos@next/dist/aos.js"></script>
6-
<script>
7-
AOS.init({
8-
duration: 700
9-
});
10-
</script>

_includes/_masthead.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
<section id="masthead">
22
<div class="container">
33
<div class="masthead-inner">
4-
<div class="masthead-text" data-aos="fade-right">
4+
<div class="masthead-text">
55
<h1><span>{{ site.title }}</span></h1>
66
<p>{{ site.description }}</p>
77
<div class="masthead-cta">
88
<a class="button button-primary" href="{{ site.baseurl }}/projects/">Projects</a>
99
<a class="button button-primary" href="{{ site.baseurl }}/about/">About</a>
1010
</div>
1111
</div>
12-
<div class="masthead-image" data-aos="fade-down">
12+
<div class="masthead-image">
1313
<svg class="masthead-image-path" width="214px" height="217px">
1414
<polygon fill="#FE4559"
1515
points="0.100965794 125.225045 0.100965794 216.172414 213.283516 91.1197822 213.283516 0.172413793">

_includes/_section-blog.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ <h2><span>{{site.data.description.blogTitle}}</span></h2>
66
</div>
77
<div class="blog-list">
88
{% for post in site.posts limit:3 %}
9-
<a href="{{ post.url | relative_url }}" class="blog-item" data-aos="fade-down">
9+
<a href="{{ post.url | relative_url }}" class="blog-item">
1010
<div class="blog-item-content">
1111
{% if post.image %}
1212
<img src="{{ site.baseurl }}{{ post.image }}" alt="">
@@ -31,4 +31,4 @@ <h3>{{ post.title }}</h3>
3131
<a class="button button-primary" href="{{ site.baseurl }}/blog/">See all posts</a>
3232
</div>
3333
</div>
34-
</section>
34+
</section>

_includes/_section-projects.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ <h2><span>{{site.data.description.projectsTitle}}</span></h2>
77
<div class="projects-list">
88
{% assign projects = site.projects | where:'core', true %}
99
{% for project in projects limit:3 %}
10-
<a href="{{ project.github }}" class="project-item" data-aos="fade-down">
10+
<a href="{{ project.github }}" class="project-item">
1111
<div class="project-item-content">
1212
<div>
1313
<img src="{{ site.baseurl }}/img/assets/icon-project.svg" alt="">

_sass/components/_about.scss

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -19,30 +19,6 @@
1919
//background: $brand-primary;
2020
padding: 0 $base-point-grid * 18;
2121
}
22-
23-
&:nth-child(1) {
24-
transition-delay: 0.1s;
25-
}
26-
27-
&:nth-child(2) {
28-
transition-delay: 0.2s;
29-
}
30-
31-
&:nth-child(3) {
32-
transition-delay: 0.3s;
33-
}
34-
35-
&:nth-child(4) {
36-
transition-delay: 0.4s;
37-
}
38-
39-
&:nth-child(5) {
40-
transition-delay: 0.5s;
41-
}
42-
43-
&:nth-child(6) {
44-
transition-delay: 0.6s;
45-
}
4622
}
4723
}
4824

about/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ <h1><span>{{ page.title }}</span></h1>
2323

2424
<div class="about-list">
2525
{% for item in site.data.about %}
26-
<div class="about-item" data-aos="fade-down">
26+
<div class="about-item">
2727
<img src="{{ site.baseurl }}{{ item.icon }}" title="{{ item.title }}" />
2828
<h3>{{item.title}}</h3>
2929
<p>{{item.description}}</p>
@@ -34,4 +34,4 @@ <h3>{{item.title}}</h3>
3434
</div>
3535
{% include _cta-conduct.html %}
3636
<br /><br /><br />
37-
{% include _cta-steering.html %}
37+
{% include _cta-steering.html %}

0 commit comments

Comments
 (0)