Skip to content

Commit f5c2d42

Browse files
pr fixes
1 parent 5c081a8 commit f5c2d42

File tree

4 files changed

+19
-18
lines changed

4 files changed

+19
-18
lines changed

src/server/templates/base.jinja

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,5 @@
6868
<script defer src="/static/js/index.js"></script>
6969
<script defer src="/static/js/utils.js"></script>
7070
<script defer src="/static/js/posthog.js"></script>
71-
{% block extra_scripts %}{% endblock %}
7271
</body>
7372
</html>

src/server/templates/components/footer.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
'icons/chrome.svg',
99
'Chrome Extension') }}
1010
{{ icon_link('https://pypi.org/project/gitingest',
11-
'icons/python-color.svg',
11+
'icons/python.svg',
1212
'Python Package') }}
1313
</div>
1414
{# Right column - Discord #}

src/server/templates/index.jinja

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,15 @@
11
{% extends "base.jinja" %}
22
{% block content %}
33
<div class="mb-8">
4-
<div class="relative w-full mx-auto flex sm:flex-row flex-col justify-center items-start sm:items-center">
4+
<div class="relative w-full flex sm:flex-row flex-col justify-center sm:items-center">
55
{# Title & Sparkles #}
66
<h1 class="landing-page-title">
77
Prompt-friendly
88
<br>
99
codebase&nbsp;
1010
</h1>
11-
<img src="/static/svg/sparkle-red.svg"
12-
alt="Red Sparkle"
13-
class="sparkle-red">
14-
<img src="/static/svg/sparkle-green.svg"
15-
alt="Green Sparkle"
16-
class="sparkle-green">
11+
<img src="/static/svg/sparkle-red.svg" class="sparkle-red no-drag">
12+
<img src="/static/svg/sparkle-green.svg" class="sparkle-green no-drag">
1713
</div>
1814
<p class="intro-text mt-8">Turn any Git repository into a simple text digest of its codebase.</p>
1915
<p class="intro-text mt-0">This is useful for feeding a codebase into any LLM.</p>

src/static/css/tailwind.css

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,30 +11,36 @@
1111

1212
.landing-page-title {
1313
@apply inline-block w-full relative
14-
text-left md:text-center
14+
text-center
1515
text-4xl sm:text-5xl md:text-6xl lg:text-7xl
1616
sm:pt-20 lg:pt-5
1717
font-bold tracking-tighter;
1818
}
1919

2020
.intro-text {
21-
@apply text-gray-600 text-lg max-w-2xl mx-auto text-center;
21+
@apply text-center
22+
text-gray-600 text-lg max-w-2xl mx-auto;
2223
}
2324

2425
.sparkle-red {
25-
@apply flex-shrink-0 h-auto
26-
w-16 sm:w-20 md:w-24 p-2
27-
md:relative sm:absolute lg:absolute
26+
@apply absolute flex-shrink-0 h-auto
27+
w-14 sm:w-20 md:w-24 p-2
2828
left-0 lg:ml-32
2929
-translate-x-2 md:translate-x-10 lg:-translate-x-full
30-
sm:-translate-y-16 md:-translate-y-0 lg:-translate-y-10;
30+
-translate-y-4 sm:-translate-y-8 md:-translate-y-0 lg:-translate-y-10;
3131
}
3232

3333
.sparkle-green {
34-
@apply hidden md:block lg:absolute right-0 bottom-0
35-
w-16 lg:w-20 h-auto flex-shrink-0
34+
@apply absolute flex-shrink-0
35+
right-0 bottom-0
36+
w-10 sm:w-16 lg:w-20
3637
-translate-x-10 lg:-translate-x-12
37-
translate-y-10 md:translate-y-20 lg:translate-y-4;
38+
translate-y-4 sm:translate-y-10 md:translate-y-2 lg:translate-y-4;
39+
}
40+
41+
.no-drag {
42+
@apply pointer-events-none select-none;
43+
-webkit-user-drag: none;
3844
}
3945

4046
}

0 commit comments

Comments
 (0)