-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
185 lines (164 loc) · 6.79 KB
/
index.html
File metadata and controls
185 lines (164 loc) · 6.79 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
---
layout: default
title: "Aravind On Software By Aravind HU"
author: "Aravind HU"
description: "Platform Engineering & Developer Experience insights by Aravind HU - Transforming engineering platforms into systems teams trust across regulated environments."
---
<div class="section">
<div class="container">
<!-- Simple Hero -->
<div class="has-text-centered" style="margin-bottom: 3rem;">
<h1 class="title is-2" style="color: var(--dark-green); margin-bottom: 1rem;">
<i class="fas fa-code" style="margin-right: 0.5rem; color: var(--nature-green);"></i>
Aravind On Software
</h1>
<p class="subtitle is-5" style="color: var(--text-dark); max-width: 700px; margin: 0 auto;">
Platform Engineering & Developer Experience insights from the field
</p>
</div>
<!-- Search Box -->
<div class="search-box">
<input type="text" id="quickSearch" placeholder="🔍 Quick search across all posts..." />
</div>
<!-- All Posts in Masonry Layout -->
<div class="posts-grid" style="display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2rem;">
{% for post in site.posts %}
<article class="post-card" data-category="{{ post.categories | first }}">
<div class="post-card-header">
<h3 class="post-card-title">
<a href="{{ post.url | prepend: site.baseurl }}">
{{ post.title }}
</a>
</h3>
<div class="post-card-meta">
<span>
<i class="far fa-calendar-alt"></i>
{{ post.date | date: "%B %d, %Y" }}
</span>
</div>
</div>
{% assign excerpt_text = post.excerpt | strip_html | strip %}
{% if excerpt_text != "" %}
<div class="post-card-body">
<p class="post-card-excerpt">
{{ excerpt_text | truncatewords: 30 }}
</p>
</div>
{% elsif post.description %}
<div class="post-card-body">
<p class="post-card-excerpt">
{{ post.description }}
</p>
</div>
{% endif %}
<div class="post-card-footer">
<a href="{{ post.url | prepend: site.baseurl }}" class="button is-custom-green is-small">
<span>Read More</span>
<span class="icon is-small">
<i class="fas fa-arrow-right"></i>
</span>
</a>
{% assign category_name = post.categories | first %}
{% if category_name == "Software Development" %}
<span class="tag is-custom-green is-light" style="float: right;">
<i class="fas fa-layer-group" style="margin-right: 0.3rem;"></i>
Platform Engineering
</span>
{% elsif category_name == "Leadership & Engineering" %}
<span class="tag is-custom-pink" style="float: right;">
<i class="fas fa-users-cog" style="margin-right: 0.3rem;"></i>
Leadership & Engineering
</span>
{% elsif category_name == "Engineering Quality" %}
<span class="tag is-custom-green" style="float: right;">
<i class="fas fa-shield-alt" style="margin-right: 0.3rem;"></i>
Engineering Quality
</span>
{% elsif category_name == "The Impigrity Catalog" %}
<span class="tag is-custom-blue" style="float: right;">
<i class="fas fa-rocket" style="margin-right: 0.3rem;"></i>
DevOps
</span>
{% endif %}
</div>
</article>
{% endfor %}
</div>
</div>
</div>
<!-- Scroll to Top Button -->
<div class="scroll-top" id="scrollTop">
<i class="fas fa-arrow-up"></i>
</div>
<script>
// Quick Search Functionality
document.getElementById('quickSearch').addEventListener('input', function(e) {
const searchTerm = e.target.value.toLowerCase();
const postCards = document.querySelectorAll('.post-card');
postCards.forEach(card => {
const title = card.querySelector('.post-card-title').textContent.toLowerCase();
const excerpt = card.querySelector('.post-card-excerpt')
? card.querySelector('.post-card-excerpt').textContent.toLowerCase()
: '';
if (title.includes(searchTerm) || excerpt.includes(searchTerm)) {
card.style.display = 'block';
} else {
card.style.display = 'none';
}
});
});
// Scroll to Top
const scrollTop = document.getElementById('scrollTop');
window.addEventListener('scroll', () => {
if (window.pageYOffset > 300) {
scrollTop.classList.add('visible');
} else {
scrollTop.classList.remove('visible');
}
});
scrollTop.addEventListener('click', () => {
window.scrollTo({
top: 0,
behavior: 'smooth'
});
});
// Intersection Observer for scroll animations
const observerOptions = {
threshold: 0.1,
rootMargin: '0px 0px -100px 0px'
};
const observer = new IntersectionObserver((entries) => {
entries.forEach(entry => {
if (entry.isIntersecting) {
entry.target.classList.add('animate-in');
}
});
}, observerOptions);
document.querySelectorAll('.post-card').forEach(card => {
observer.observe(card);
});
// Page Loader
window.addEventListener('load', function() {
const loader = document.getElementById('pageLoader');
if (loader) {
loader.style.opacity = '0';
setTimeout(() => {
loader.style.display = 'none';
}, 300);
}
});
// Mobile navbar toggle
document.addEventListener('DOMContentLoaded', () => {
const navbarBurgers = Array.prototype.slice.call(document.querySelectorAll('.navbar-burger'), 0);
if (navbarBurgers.length > 0) {
navbarBurgers.forEach(el => {
el.addEventListener('click', () => {
const target = el.dataset.target;
const targetElement = document.getElementById(target);
el.classList.toggle('is-active');
targetElement.classList.toggle('is-active');
});
});
}
});
</script>