-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpage-blog.php
More file actions
235 lines (219 loc) · 13.4 KB
/
page-blog.php
File metadata and controls
235 lines (219 loc) · 13.4 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
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
<?php
/*
Template Name: Blog Page
*/
get_header(); ?>
<?php if (function_exists('elementor_theme_do_location') && elementor_theme_do_location('archive')) : ?>
<?php elementor_theme_do_location('archive'); ?>
<?php else : ?>
<!-- Blog Hero -->
<section class="section-hero">
<div class="container">
<div class="text-center">
<h1 style="font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 1.5rem;">
DevOps Insights & Best Practices
</h1>
<p style="font-size: 1.25rem; color: var(--muted-foreground); max-width: 700px; margin: 0 auto;">
Stay updated with the latest DevOps trends, tutorials, and industry insights
from our team of experts.
</p>
</div>
</div>
</section>
<!-- Featured Article -->
<section class="section">
<div class="container">
<div class="card" style="padding: 3rem; margin-bottom: 4rem;">
<div class="grid grid-cols-2" style="gap: 3rem; align-items: center;">
<div>
<div style="color: var(--primary); font-size: 0.875rem; font-weight: 600; margin-bottom: 0.5rem;">FEATURED ARTICLE</div>
<h2 style="margin-bottom: 1rem; font-size: 2rem;">
Complete Guide to Kubernetes Security Best Practices
</h2>
<p style="color: var(--muted-foreground); margin-bottom: 1.5rem; font-size: 1.125rem;">
Learn how to secure your Kubernetes clusters from development to production with
our comprehensive security checklist and implementation guide.
</p>
<div style="display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; color: var(--muted-foreground); font-size: 0.875rem;">
<span>By Zdravko Modul8</span>
<span>•</span>
<span>December 15, 2024</span>
<span>•</span>
<span>12 min read</span>
</div>
<a href="#" class="btn btn-primary">Read Article</a>
</div>
<div style="background: var(--gradient-hero); height: 300px; border-radius: 1rem; display: flex; align-items: center; justify-content: center;">
<svg width="80" height="80" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2">
<path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"/>
</svg>
</div>
</div>
</div>
</div>
</section>
<!-- Blog Categories -->
<section class="section" style="background: var(--card); padding: 2rem 0;">
<div class="container">
<div style="display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap;">
<a href="#" class="btn btn-secondary">All Posts</a>
<a href="#" class="btn btn-secondary">Kubernetes</a>
<a href="#" class="btn btn-secondary">AWS</a>
<a href="#" class="btn btn-secondary">CI/CD</a>
<a href="#" class="btn btn-secondary">Security</a>
<a href="#" class="btn btn-secondary">Monitoring</a>
<a href="#" class="btn btn-secondary">Terraform</a>
</div>
</div>
</section>
<!-- Blog Grid -->
<section class="section">
<div class="container">
<div class="grid grid-cols-3">
<!-- Blog Post 1 -->
<article class="card">
<div style="height: 200px; background: var(--gradient-hero); border-radius: 0.75rem; margin-bottom: 1.5rem; display: flex; align-items: center; justify-content: center;">
<svg width="48" height="48" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2">
<path d="M4 7v10c0 2.21 3.582 4 8 4s8-1.79 8-4V7"/>
<path d="M4 7c0 2.21 3.582 4 8 4s8-1.79 8-4"/>
<path d="M4 7c0-2.21 3.582-4 8-4s8 1.79 8 4"/>
</svg>
</div>
<div style="color: var(--primary); font-size: 0.75rem; font-weight: 600; margin-bottom: 0.5rem;">INFRASTRUCTURE</div>
<h3 style="margin-bottom: 1rem; font-size: 1.25rem;">
<a href="#" style="color: var(--foreground);">Infrastructure as Code with Terraform: Advanced Patterns</a>
</h3>
<p style="color: var(--muted-foreground); margin-bottom: 1.5rem; font-size: 0.875rem;">
Discover advanced Terraform patterns and best practices for managing complex cloud infrastructure at scale.
</p>
<div style="display: flex; align-items: center; justify-content: space-between; font-size: 0.75rem; color: var(--muted-foreground);">
<span>Dec 10, 2024</span>
<span>8 min read</span>
</div>
</article>
<!-- Blog Post 2 -->
<article class="card">
<div style="height: 200px; background: var(--gradient-hero); border-radius: 0.75rem; margin-bottom: 1.5rem; display: flex; align-items: center; justify-content: center;">
<svg width="48" height="48" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2">
<line x1="6" y1="3" x2="6" y2="15"></line>
<circle cx="18" cy="6" r="3"></circle>
<circle cx="6" cy="18" r="3"></circle>
<path d="m18 9-12 12"></path>
</svg>
</div>
<div style="color: var(--primary); font-size: 0.75rem; font-weight: 600; margin-bottom: 0.5rem;">CI/CD</div>
<h3 style="margin-bottom: 1rem; font-size: 1.25rem;">
<a href="#" style="color: var(--foreground);">Building Bulletproof CI/CD Pipelines with GitHub Actions</a>
</h3>
<p style="color: var(--muted-foreground); margin-bottom: 1.5rem; font-size: 0.875rem;">
Learn how to create robust, secure, and efficient CI/CD pipelines using GitHub Actions and industry best practices.
</p>
<div style="display: flex; align-items: center; justify-content: space-between; font-size: 0.75rem; color: var(--muted-foreground);">
<span>Dec 8, 2024</span>
<span>10 min read</span>
</div>
</article>
<!-- Blog Post 3 -->
<article class="card">
<div style="height: 200px; background: var(--gradient-hero); border-radius: 0.75rem; margin-bottom: 1.5rem; display: flex; align-items: center; justify-content: center;">
<svg width="48" height="48" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2">
<path d="M18 10h-1.26A8 8 0 1 0 9 20h9a5 5 0 0 0 0-10z"/>
</svg>
</div>
<div style="color: var(--primary); font-size: 0.75rem; font-weight: 600; margin-bottom: 0.5rem;">AWS</div>
<h3 style="margin-bottom: 1rem; font-size: 1.25rem;">
<a href="#" style="color: var(--foreground);">AWS Cost Optimization: Strategies That Actually Work</a>
</h3>
<p style="color: var(--muted-foreground); margin-bottom: 1.5rem; font-size: 0.875rem;">
Practical AWS cost optimization techniques that can reduce your cloud spending by 30-50% without sacrificing performance.
</p>
<div style="display: flex; align-items: center; justify-content: space-between; font-size: 0.75rem; color: var(--muted-foreground);">
<span>Dec 5, 2024</span>
<span>6 min read</span>
</div>
</article>
<!-- Blog Post 4 -->
<article class="card">
<div style="height: 200px; background: var(--gradient-hero); border-radius: 0.75rem; margin-bottom: 1.5rem; display: flex; align-items: center; justify-content: center;">
<svg width="48" height="48" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2">
<path d="M9 12l2 2 4-4"/>
<path d="M21 12c.552 0 1-.448 1-1V5c0-.552-.448-1-1-1H3c-.552 0-1 .448-1 1v6c0 .552.448 1 1 1h18z"/>
</svg>
</div>
<div style="color: var(--primary); font-size: 0.75rem; font-weight: 600; margin-bottom: 0.5rem;">MONITORING</div>
<h3 style="margin-bottom: 1rem; font-size: 1.25rem;">
<a href="#" style="color: var(--foreground);">Prometheus & Grafana: Complete Monitoring Setup Guide</a>
</h3>
<p style="color: var(--muted-foreground); margin-bottom: 1.5rem; font-size: 0.875rem;">
Step-by-step guide to setting up comprehensive monitoring for your infrastructure using Prometheus and Grafana.
</p>
<div style="display: flex; align-items: center; justify-content: space-between; font-size: 0.75rem; color: var(--muted-foreground);">
<span>Dec 3, 2024</span>
<span>15 min read</span>
</div>
</article>
<!-- Blog Post 5 -->
<article class="card">
<div style="height: 200px; background: var(--gradient-hero); border-radius: 0.75rem; margin-bottom: 1.5rem; display: flex; align-items: center; justify-content: center;">
<svg width="48" height="48" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2">
<rect x="3" y="11" width="18" height="11" rx="2" ry="2"/>
<path d="m7 11V7a5 5 0 0 1 10 0v4"/>
</svg>
</div>
<div style="color: var(--primary); font-size: 0.75rem; font-weight: 600; margin-bottom: 0.5rem;">SECURITY</div>
<h3 style="margin-bottom: 1rem; font-size: 1.25rem;">
<a href="#" style="color: var(--foreground);">DevSecOps: Integrating Security into Your DevOps Pipeline</a>
</h3>
<p style="color: var(--muted-foreground); margin-bottom: 1.5rem; font-size: 0.875rem;">
Learn how to seamlessly integrate security practices into your DevOps workflow without slowing down development.
</p>
<div style="display: flex; align-items: center; justify-content: space-between; font-size: 0.75rem; color: var(--muted-foreground);">
<span>Nov 28, 2024</span>
<span>12 min read</span>
</div>
</article>
<!-- Blog Post 6 -->
<article class="card">
<div style="height: 200px; background: var(--gradient-hero); border-radius: 0.75rem; margin-bottom: 1.5rem; display: flex; align-items: center; justify-content: center;">
<svg width="48" height="48" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2">
<polygon points="12 2 2 7 12 12 22 7 12 2"/>
<polyline points="2,17 12,22 22,17"/>
<polyline points="2,12 12,17 22,12"/>
</svg>
</div>
<div style="color: var(--primary); font-size: 0.75rem; font-weight: 600; margin-bottom: 0.5rem;">DOCKER</div>
<h3 style="margin-bottom: 1rem; font-size: 1.25rem;">
<a href="#" style="color: var(--foreground);">Docker Best Practices: From Development to Production</a>
</h3>
<p style="color: var(--muted-foreground); margin-bottom: 1.5rem; font-size: 0.875rem;">
Essential Docker best practices for creating efficient, secure, and maintainable container images.
</p>
<div style="display: flex; align-items: center; justify-content: space-between; font-size: 0.75rem; color: var(--muted-foreground);">
<span>Nov 25, 2024</span>
<span>9 min read</span>
</div>
</article>
</div>
<!-- Load More Button -->
<div class="text-center" style="margin-top: 3rem;">
<a href="#" class="btn btn-secondary">Load More Articles</a>
</div>
</div>
</section>
<!-- Newsletter Signup -->
<section class="section" style="background: var(--card);">
<div class="container">
<div class="text-center">
<h2 style="margin-bottom: 1rem;">Stay Updated with DevOps Insights</h2>
<p style="font-size: 1.125rem; color: var(--muted-foreground); margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto;">
Get the latest DevOps tutorials, best practices, and industry insights delivered to your inbox weekly.
</p>
<form class="newsletter-form" style="display: flex; gap: 1rem; justify-content: center; max-width: 400px; margin: 0 auto;">
<input type="email" name="email" placeholder="Enter your email" required style="flex: 1; padding: 0.75rem; border: 1px solid var(--border); border-radius: 0.5rem; background: var(--background); color: var(--foreground);" />
<button type="submit" class="btn btn-primary">Subscribe</button>
</form>
</div>
</div>
</section>
<?php endif; ?>
<?php get_footer(); ?>