Skip to content

Commit aeac250

Browse files
committed
Add extemsion CTA
1 parent 8eb3f54 commit aeac250

File tree

3 files changed

+69
-10
lines changed

3 files changed

+69
-10
lines changed

src/templates/components/footer.jinja

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,36 @@
11
<footer class="w-full border-t-[3px] border-gray-900 mt-auto">
22
<div class="max-w-4xl mx-auto px-4 py-4">
3-
<div class="flex justify-center items-center text-gray-900 text-sm">
4-
<div class="flex flex-col items-center">
3+
<div class="grid grid-cols-3 items-center text-gray-900 text-sm">
4+
<!-- Left column - Github links -->
5+
<div class="flex items-center space-x-4">
6+
<a href="https://github.com/cyclotruc/gitingest"
7+
target="_blank"
8+
rel="noopener noreferrer"
9+
class="hover:underline flex items-center">
10+
<svg class="w-4 h-4 mr-1"
11+
xmlns="http://www.w3.org/2000/svg"
12+
viewBox="0 0 496 512">
13+
<path fill="currentColor" d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z" />
14+
</svg>
15+
Suggest a feature
16+
</a>
17+
</div>
18+
<!-- Middle column - Made with love -->
19+
<div class="flex justify-center items-center">
520
<div class="flex items-center">
621
made with ❤️ by
722
<a href="https://bsky.app/profile/yasbaltrine.bsky.social"
823
target="_blank"
924
rel="noopener noreferrer"
1025
class="ml-1 hover:underline">@rom2</a>
1126
</div>
27+
</div>
28+
<!-- Right column - Discord -->
29+
<div class="flex justify-end">
1230
<a href="https://discord.gg/zerRaGK9EC"
1331
target="_blank"
1432
rel="noopener noreferrer"
15-
class="mt-1 hover:underline flex items-center">
33+
class="hover:underline flex items-center">
1634
<svg class="w-4 h-4 mr-1"
1735
xmlns="http://www.w3.org/2000/svg"
1836
viewBox="0 0 640 512">

src/templates/components/navbar.jinja

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,30 @@
2828
<div class="flex items-center gap-4">
2929
<h1 class="text-2xl font-bold tracking-tight">
3030
<a href="/" class="hover:opacity-80 transition-opacity">
31-
<span class="text-gray-900">Git</span><span class="text-[#fca847]">ingest</span>
31+
<span class="text-gray-900">Git</span><span class="text-[#FE4A60]">ingest</span>
3232
</a>
3333
</h1>
3434
</div>
3535
<!-- Navigation with updated styling -->
3636
<nav class="flex items-center space-x-6">
37-
<a href="/api"
38-
class="text-gray-900 hover:-translate-y-0.5 transition-transform">API</a>
37+
<!-- Simplified Chrome extension button -->
38+
<a href="https://chromewebstore.google.com/detail/git-ingest-turn-any-git-r/adfjahbijlkjfoicpjpjfaood"
39+
target="_blank"
40+
rel="noopener noreferrer"
41+
class="text-gray-900 hover:-translate-y-0.5 transition-transform flex items-center gap-1.5">
42+
<div class="flex items-center">
43+
<span class="px-0 pb-5 text-[#FE4A60] text-[13px] transform -rotate-12 inline-block">NEW</span>
44+
<svg xmlns="http://www.w3.org/2000/svg"
45+
width="24"
46+
height="24"
47+
viewBox="0 0 24 24"
48+
fill="currentColor"
49+
class="w-4 h-4 mx-1">
50+
<path d="M12 0C8.21 0 4.831 1.757 2.632 4.501l3.953 6.848A5.454 5.454 0 0 1 12 6.545h10.691A12 12 0 0 0 12 0zM1.931 5.47A11.943 11.943 0 0 0 0 12c0 6.012 4.42 10.991 10.189 11.864l3.953-6.847a5.45 5.45 0 0 1-6.865-2.29zm13.342 2.166a5.446 5.446 0 0 1 1.45 7.09l.002.001h-.002l-5.344 9.257c.206.01.413.016.621.016 6.627 0 12-5.373 12-12 0-1.54-.29-3.011-.818-4.364zM12 16.364a4.364 4.364 0 1 1 0-8.728 4.364 4.364 0 0 1 0 8.728z" />
51+
</svg>
52+
Extension
53+
</div>
54+
</a>
3955
<div class="flex items-center gap-2">
4056
<a href="https://github.com/cyclotruc/gitingest"
4157
target="_blank"

src/templates/index.jinja

Lines changed: 29 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,36 @@
3636
</svg>
3737
</div>
3838
<p class="text-gray-600 text-lg max-w-2xl mx-auto text-center mt-8">
39-
Turn any Git repository into a simple text ingest of its codebase.
39+
Turn any Git repository into a simple text digest of its codebase.
4040
</p>
4141
<p class="text-gray-600 text-lg max-w-2xl mx-auto text-center mt-0">
4242
This is useful for feeding a codebase into any LLM.
4343
</p>
44-
<p class="text-gray-600 text-lg max-w-2xl mx-auto text-center mt-2">
45-
You can also replace 'hub' with 'ingest' in any Github URL
46-
</p>
44+
<div class="text-center mt-8">
45+
<div class="relative inline-block">
46+
<div class="w-full h-full rounded bg-gray-900 translate-y-1 translate-x-1 absolute inset-0 z-10"></div>
47+
<div class="absolute -top-2 -right-2 z-30">
48+
<div class="relative rotate-12">
49+
<div class="w-full h-full rounded bg-gray-900 translate-y-0.5 translate-x-0.5 absolute inset-0"></div>
50+
<div class="px-2 py-0.5 bg-[#FE4A60] text-white text-xs font-bold rounded border-2 border-gray-900 relative">NEW!</div>
51+
</div>
52+
</div>
53+
<a href="https://chromewebstore.google.com/detail/git-ingest-turn-any-git-r/adfjahbijlkjfoicpjkhjicpjpjfaood"
54+
target="_blank"
55+
rel="noopener noreferrer"
56+
class="inline-flex items-center gap-2 px-4 py-2 bg-[#EBDBB7] text-gray-800 font-medium rounded hover:-translate-y-px hover:-translate-x-px ease-out duration-300 z-20 relative border-[3px] border-gray-900 text-sm">
57+
<svg xmlns="http://www.w3.org/2000/svg"
58+
width="24"
59+
height="24"
60+
viewBox="0 0 24 24"
61+
fill="currentColor"
62+
class="w-4 h-4 text-gray-700">
63+
<path d="M12 0C8.21 0 4.831 1.757 2.632 4.501l3.953 6.848A5.454 5.454 0 0 1 12 6.545h10.691A12 12 0 0 0 12 0zM1.931 5.47A11.943 11.943 0 0 0 0 12c0 6.012 4.42 10.991 10.189 11.864l3.953-6.847a5.45 5.45 0 0 1-6.865-2.29zm13.342 2.166a5.446 5.446 0 0 1 1.45 7.09l.002.001h-.002l-5.344 9.257c.206.01.413.016.621.016 6.627 0 12-5.373 12-12 0-1.54-.29-3.011-.818-4.364zM12 16.364a4.364 4.364 0 1 1 0-8.728 4.364 4.364 0 0 1 0 8.728z" />
64+
</svg>
65+
Chrome extension
66+
</a>
67+
</div>
68+
</div>
4769
</div>
4870
{% if error_message %}
4971
<div class="mb-6 p-4 bg-red-50 border border-red-200 rounded-lg text-red-700"
@@ -53,5 +75,8 @@
5375
{% with is_index=true, show_examples=true %}
5476
{% include 'components/github_form.jinja' %}
5577
{% endwith %}
78+
<p class="text-gray-600 text-sm max-w-2xl mx-auto text-center mt-4">
79+
You can also replace 'hub' with 'ingest' in any Github URL
80+
</p>
5681
{% include 'components/result.jinja' %}
5782
{% endblock %}

0 commit comments

Comments
 (0)