Skip to content

Commit 83fa786

Browse files
authored
Merge pull request #28 from sscargal/performance-improvements
Performance improvements
2 parents 48382e5 + 1f51391 commit 83fa786

File tree

13 files changed

+40
-40
lines changed

13 files changed

+40
-40
lines changed

hugo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ tags = 'tags'
8888

8989
[[menus.main]]
9090
name = 'Docs'
91-
url = 'http://docs.memmachine.ai'
91+
url = 'https://docs.memmachine.ai'
9292
weight = 70
9393

9494
[[menus.main]]
@@ -129,7 +129,7 @@ tags = 'tags'
129129

130130
[[menus.footerProduct]]
131131
name = 'Docs'
132-
url = 'http://docs.memmachine.ai'
132+
url = 'https://docs.memmachine.ai'
133133
weight = 40
134134

135135
[[menus.footerProduct]]

themes/memmachine/layouts/_partials/blog-card.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
{{ end }}
2020

2121
<a href="{{ .Permalink }}">
22-
<img src="{{ $image_url }}" alt="{{ .Title }}" class="img-fluid" />
22+
<img src="{{ $image_url }}" alt="{{ .Title }}" class="img-fluid" loading='lazy'/>
2323
</a>
2424
{{ end }}
2525

themes/memmachine/layouts/_partials/brand-logos.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
<div class="col-md-12">
55
<p class="text-center">Used by Developers at</p>
66
<ul>
7-
<li><a href="#"><img src="{{ `/img/brand/1.png` | relURL }}" alt="brand" /></a></li>
8-
<li><a href="#"><img src="{{ `/img/brand/2.png` | relURL }}" alt="brand" /></a></li>
9-
<li><a href="#"><img src="{{ `/img/brand/3.png` | relURL }}" alt="brand" /></a></li>
10-
<li><a href="#"><img src="{{ `/img/brand/4.png` | relURL }}" alt="brand" /></a></li>
11-
<li><a href="#"><img src="{{ `/img/brand/5.png` | relURL }}" alt="brand" /></a></li>
12-
<li><a href="#"><img src="{{ `/img/brand/6.png` | relURL }}" alt="brand" /></a></li>
7+
<li><a href="#"><img src="{{ `/img/brand/1.png` | relURL }}" alt="brand" loading='lazy'/></a></li>
8+
<li><a href="#"><img src="{{ `/img/brand/2.png` | relURL }}" alt="brand" loading='lazy'/></a></li>
9+
<li><a href="#"><img src="{{ `/img/brand/3.png` | relURL }}" alt="brand" loading='lazy'/></a></li>
10+
<li><a href="#"><img src="{{ `/img/brand/4.png` | relURL }}" alt="brand" loading='lazy'/></a></li>
11+
<li><a href="#"><img src="{{ `/img/brand/5.png` | relURL }}" alt="brand" loading='lazy'/></a></li>
12+
<li><a href="#"><img src="{{ `/img/brand/6.png` | relURL }}" alt="brand" loading='lazy'/></a></li>
1313
</ul>
1414
</div>
1515
</div>

themes/memmachine/layouts/_partials/footer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<div class="container">
55
<div class="row gy-4">
66
<div class="col-md-6">
7-
<img src="{{ `/img/logo.svg` | relURL }}" alt="logo" width="300px"/>
7+
<img src="{{ `/img/logo.svg` | relURL }}" alt="logo" width="300px" loading="lazy"/>
88
<p>
99
MemMachine unlocks persistent, multi-session memory for AI agents—powering personalized, context-rich experiences you fully control, open-source and built for developers.
1010
</p>

themes/memmachine/layouts/_partials/home-sections.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ <h2 class="title-2">
246246
<div class="col-lg-6 mb-4 mb-lg-0">
247247
<div>
248248
<div class="solution-item-list h-100 d-flex justify-content-center align-items-center">
249-
<img src="{{ `img/MemMachine_Architecture-Dark.png` | relURL }}" alt="MemMachine Architecture Diagram" class="img-fluid" />
249+
<img src="{{ `img/MemMachine_Architecture-Dark.png` | relURL }}" alt="MemMachine Architecture Diagram" class="img-fluid" loading='lazy'/>
250250
</div>
251251
</div>
252252
</div>
@@ -325,7 +325,7 @@ <h3>Build <span>Smart Agents</span> for Any Use Case</h3>
325325
<div class="col-md-6 pl-47 mt-30">
326326
<div class="solution-item-list">
327327
<div class="solution-single">
328-
<img src="{{ `/img/check.svg` | relURL }}" alt="check" />
328+
<img src="{{ `/img/check.svg` | relURL }}" alt="check" loading='lazy'/>
329329
<div>
330330
<h4>Your CRM Assistant</h4>
331331
<p>
@@ -334,14 +334,14 @@ <h4>Your CRM Assistant</h4>
334334
</div>
335335
</div>
336336
<div class="solution-single">
337-
<img src="{{ `/img/check.svg` | relURL }}" alt="check" />
337+
<img src="{{ `/img/check.svg` | relURL }}" alt="check" loading='lazy'/>
338338
<div>
339339
<h4>A Healthcare Navigator</h4>
340340
<p>Offer continuous patient support with an agent that remembers medical history and tracks treatment progress to provide a seamless healthcare journey.</p>
341341
</div>
342342
</div>
343343
<div class="solution-single">
344-
<img src="{{ `/img/check.svg` | relURL }}" alt="check" />
344+
<img src="{{ `/img/check.svg` | relURL }}" alt="check" loading='lazy'/>
345345
<div>
346346
<h4>A Personal Finance Advisor</h4>
347347
<p>
@@ -350,7 +350,7 @@ <h4>A Personal Finance Advisor</h4>
350350
</div>
351351
</div>
352352
<div class="solution-single">
353-
<img src="{{ `/img/check.svg` | relURL }}" alt="check" />
353+
<img src="{{ `/img/check.svg` | relURL }}" alt="check" loading='lazy'/>
354354
<div>
355355
<h4>A Content Writer</h4>
356356
<p>

themes/memmachine/layouts/_partials/logo-marquee.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ <h2 class="title-2">Trusted By The Most <span>Innovative</span> Teams</h2>
3434
{{ range seq 2 }}
3535
{{ range $rowLogos }}
3636
<div class="logo-scroller-item">
37-
<img src="{{ .src }}" alt="{{ .name }}" />
37+
<img src="{{ .src }}" alt="{{ .name }}" loading='lazy'/>
3838
</div>
3939
{{ end }}
4040
{{ end }}

themes/memmachine/layouts/_partials/pricing-table.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ <h4><span>$0</span><sub>/ forever</sub></h4>
3333

3434
<div class="col-lg-4 col-md-6">
3535
<div class="pricing-item" data-monthly-price="79" data-yearly-price="799">
36-
<h3>Pro <img src="{{ `/img/pro-btn.svg` | relURL }}" alt="pro" /></h3>
36+
<h3>Pro <img src="{{ `/img/pro-btn.svg` | relURL }}" alt="pro" loading='lazy'/></h3>
3737
<p class="tier-description">For teams building production-ready agents.</p>
3838
<h4><span>$79</span><sub>/mo</sub></h4>
3939
<p class="pricing-description">Billed per project, cancel anytime.</p>

themes/memmachine/layouts/community.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ <h2 class="title-2">Powered by an <span>Amazing Community</span></h2>
7777
</p>
7878
</div>
7979
<a href="https://github.com/MemMachine/MemMachine/graphs/contributors" class="mt-4 d-block">
80-
<img src="https://contrib.rocks/image?repo=MemMachine/MemMachine" alt="MemMachine GitHub Contributors" class="img-fluid rounded shadow"/>
80+
<img src="https://contrib.rocks/image?repo=MemMachine/MemMachine" alt="MemMachine GitHub Contributors" class="img-fluid rounded shadow" loading="lazy"/>
8181
</a>
8282
</div>
8383
</div>
@@ -92,7 +92,7 @@ <h2 class="title-2">Driven by <span>Momentum</span></h2>
9292
</p>
9393
</div>
9494
<a href="https://app.repohistory.com/star-history" class="mt-4 d-block">
95-
<img src="https://app.repohistory.com/api/svg?repo=MemMachine/MemMachine&type=Date&background=211334&color=62C3F8" alt="Star History Chart" class="img-fluid rounded shadow"/>
95+
<img src="https://app.repohistory.com/api/svg?repo=MemMachine/MemMachine&type=Date&background=211334&color=62C3F8" alt="Star History Chart" class="img-fluid rounded shadow" loading="lazy"/>
9696
</a>
9797
</div>
9898
</div>

themes/memmachine/layouts/contact.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,18 @@ <h2 class="title-2">Get <span>in Touch</span></h2>
2828
</div>
2929
<div class="col-md-12 col-lg-6">
3030
<div class="contact-content">
31-
<img src="{{ "img/logo.svg" | relURL }}" alt="logo" />
31+
<img src="{{ "img/logo.svg" | relURL }}" alt="logo" loading='lazy'/>
3232
<p>OpenAI presented Assistify with a range of challenging tasks, featuring tight latency requirements, substantial ambiguity, and instances of incorrect answers. In turn, Assistify collaborated closely to tailor their QA systems to our specific requirements.</p>
3333
<h3>John Lawson</h3>
3434
<h4>Member of Technical Staff</h4>
3535
<h5>Trusted by the world's most ambitious teams</h5>
3636
<div class="contact-brand">
37-
<img src="{{ "img/brand/1.png" | relURL }}" alt="brand" />
38-
<img src="{{ "img/brand/2.png" | relURL }}" alt="brand" />
39-
<img src="{{ "img/brand/3.png" | relURL }}" alt="brand" />
40-
<img src="{{ "img/brand/4.png" | relURL }}" alt="brand" />
41-
<img src="{{ "img/brand/5.png" | relURL }}" alt="brand" />
42-
<img src="{{ "img/brand/6.png" | relURL }}" alt="brand" />
37+
<img src="{{ "img/brand/1.png" | relURL }}" alt="brand" loading='lazy'/>
38+
<img src="{{ "img/brand/2.png" | relURL }}" alt="brand" loading='lazy'/>
39+
<img src="{{ "img/brand/3.png" | relURL }}" alt="brand" loading='lazy'/>
40+
<img src="{{ "img/brand/4.png" | relURL }}" alt="brand" loading='lazy'/>
41+
<img src="{{ "img/brand/5.png" | relURL }}" alt="brand" loading='lazy'/>
42+
<img src="{{ "img/brand/6.png" | relURL }}" alt="brand" loading='lazy'/>
4343
</div>
4444
</div>
4545
</div>

themes/memmachine/layouts/conversations.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ <h2>Integrations</h2>
8888
<div class="solution-item-list">
8989
<div class="solution-chat-message">
9090
<div class="solution-chat-message-item">
91-
<img src="{{ `/img/user.svg` | relURL }}" alt="user" />
91+
<img src="{{ `/img/user.svg` | relURL }}" alt="user" loading='lazy'/>
9292
<div class="solution-chat-message-item-content">
9393
<h3>You <span>1:11 PM</span></h3>
9494
<p>
@@ -98,7 +98,7 @@ <h3>You <span>1:11 PM</span></h3>
9898
</div>
9999
</div>
100100
<div class="solution-chat-message-item">
101-
<img src="{{ `/img/user-assistify.svg` | relURL }}" alt="user" />
101+
<img src="{{ `/img/user-assistify.svg` | relURL }}" alt="user" loading='lazy'/>
102102
<div class="solution-chat-message-item-content">
103103
<h3>Assistify AI <span>8:42 PM</span></h3>
104104
<p>

0 commit comments

Comments
 (0)