Skip to content

Commit b081887

Browse files
committed
remove external icons
1 parent d428c6b commit b081887

23 files changed

Lines changed: 377 additions & 88 deletions

assets/css/tailwind-input.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
@tailwind components;
33
@tailwind utilities;
44

5+
56
@layer base {
67
html:has(body.home-page) {
78
--home-nav-height: 73px;

layouts/about-us/about-us.html

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ <h1 class="about-hero__title m-0">{{ .Title }}</h1>
1919
<p class="about-hero__quote m-0">{{ $quote }}</p>
2020
<div class="about-hero__actions">
2121
<a href="/browse/" class="about-btn about-btn--primary no-underline">
22-
Browse tools <i class="ph-bold ph-arrow-right" aria-hidden="true"></i>
22+
Browse tools
2323
</a>
2424
<a href="/press/" class="about-btn about-btn--ghost no-underline">Press &amp; media</a>
2525
</div>
@@ -45,7 +45,7 @@ <h2 id="about-values-heading" class="about-section-label m-0">What we stand for<
4545
<ul class="about-values-list list-none m-0 p-0">
4646
{{- range . -}}
4747
<li class="about-values-list__item">
48-
<span class="about-values-list__icon" aria-hidden="true"><i class="ph-fill ph-check-circle"></i></span>
48+
<span class="about-values-list__check" aria-hidden="true"></span>
4949
<span>{{ . }}</span>
5050
</li>
5151
{{- end -}}
@@ -69,22 +69,22 @@ <h3 class="about-pillar__title m-0">{{ .title }}</h3>
6969
<section class="about-stats mb-14 sm:mb-16" aria-label="Platform at a glance">
7070
<ul class="about-stats__grid list-none m-0 p-0">
7171
<li class="about-stat">
72-
<span class="about-stat__icon" aria-hidden="true"><i class="ph-duotone ph-app-window"></i></span>
72+
<span class="about-stat__icon" aria-hidden="true">🖥️</span>
7373
<span class="about-stat__value">{{ $totalTools }}+</span>
7474
<span class="about-stat__label">Tools &amp; apps</span>
7575
</li>
7676
<li class="about-stat">
77-
<span class="about-stat__icon" aria-hidden="true"><i class="ph-duotone ph-robot"></i></span>
77+
<span class="about-stat__icon" aria-hidden="true">🤖</span>
7878
<span class="about-stat__value">{{ $aiCount }}</span>
7979
<span class="about-stat__label">AI projects</span>
8080
</li>
8181
<li class="about-stat">
82-
<span class="about-stat__icon" aria-hidden="true"><i class="ph-duotone ph-game-controller"></i></span>
82+
<span class="about-stat__icon" aria-hidden="true">🎮</span>
8383
<span class="about-stat__value">{{ $gamesCount }}</span>
8484
<span class="about-stat__label">Games</span>
8585
</li>
8686
<li class="about-stat">
87-
<span class="about-stat__icon" aria-hidden="true"><i class="ph-duotone ph-palette"></i></span>
87+
<span class="about-stat__icon" aria-hidden="true">🎨</span>
8888
<span class="about-stat__value">{{ $designCount }}</span>
8989
<span class="about-stat__label">Design tools</span>
9090
</li>
@@ -99,7 +99,7 @@ <h2 id="about-team-heading" class="about-heading m-0">Our team</h2>
9999
<p class="about-subhead m-0">The people building tools, games, and experiments in the open.</p>
100100
</div>
101101
<a href="{{ $members.RelPermalink }}" class="about-link-arrow no-underline">
102-
All members <i class="ph-bold ph-arrow-right" aria-hidden="true"></i>
102+
All members
103103
</a>
104104
</div>
105105
<ul class="about-team-grid list-none m-0 p-0">
@@ -115,7 +115,7 @@ <h2 id="about-team-heading" class="about-heading m-0">Our team</h2>
115115
<span class="about-team-card__role">{{ . }}</span>
116116
{{- end -}}
117117
</span>
118-
<span class="about-team-card__cta">View profile <i class="ph-bold ph-arrow-up-right" aria-hidden="true"></i></span>
118+
<span class="about-team-card__cta">View profile </span>
119119
</a>
120120
</li>
121121
{{- end -}}
@@ -138,14 +138,10 @@ <h2 id="about-connect-heading" class="about-heading m-0">Explore &amp; connect</
138138
{{- with .accent_color -}}style="--about-accent: {{ . }}"{{- end -}}
139139
{{- if strings.HasPrefix .url "http" -}} target="_blank" rel="noopener noreferrer"{{- end -}}
140140
>
141-
<span class="about-connect-card__icon" aria-hidden="true">
142-
<i class="ph-duotone ph-{{ .phosphorIcon | default "link" }}"></i>
143-
</span>
144141
<span class="about-connect-card__text">
145142
<span class="about-connect-card__title">{{ .title }}</span>
146143
<span class="about-connect-card__desc">{{ .content }}</span>
147144
</span>
148-
<i class="ph-bold ph-arrow-up-right about-connect-card__arrow" aria-hidden="true"></i>
149145
</a>
150146
</li>
151147
{{- end -}}
@@ -158,8 +154,8 @@ <h2 id="about-connect-heading" class="about-heading m-0">Explore &amp; connect</
158154
<h2 class="about-cta__title m-0">Ready to explore?</h2>
159155
<p class="about-cta__text m-0">Jump into tools, games, or AI apps—everything runs in your browser.</p>
160156
<div class="about-cta__actions">
161-
<a href="/" class="about-btn about-btn--primary about-btn--on-dark no-underline">Go to homepage</a>
162-
<a href="/history/" class="about-btn about-btn--ghost about-btn--on-dark no-underline">Our timeline</a>
157+
<a href="/" class="about-btn about-btn--primary about-btn--on-dark no-underline">Go to homepage</a>
158+
<a href="/history/" class="about-btn about-btn--ghost about-btn--on-dark no-underline">Our timeline</a>
163159
</div>
164160
</div>
165161
</section>

layouts/index.robots.txt

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
User-agent: *
2+
Allow: /
3+
4+
# AI / LLM crawlers - explicitly allowed (training + retrieval)
5+
User-agent: GPTBot
6+
Allow: /
7+
8+
User-agent: ChatGPT-User
9+
Allow: /
10+
11+
User-agent: OAI-SearchBot
12+
Allow: /
13+
14+
User-agent: Google-Extended
15+
Allow: /
16+
17+
User-agent: PerplexityBot
18+
Allow: /
19+
20+
User-agent: ClaudeBot
21+
Allow: /
22+
23+
User-agent: anthropic-ai
24+
Allow: /
25+
26+
User-agent: CCBot
27+
Allow: /
28+
29+
User-agent: Applebot-Extended
30+
Allow: /
31+
32+
Sitemap: {{ .Site.BaseURL }}sitemap.xml

layouts/partials/cfddc/hub.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ <h1 id="cfddc-hub-title" class="cfddc-hub-hero__title m-0">{{ .Title | default "
1515
{{- end -}}
1616
{{- if $latestCard -}}
1717
<a href="/cfddc/{{ $latest }}/" class="cfddc-btn cfddc-btn--primary mt-8 inline-flex no-underline" data-cfd-cta="cfddc_latest">
18-
Watch CFDDC {{ $latestCard.shortYear }} <i class="ph-bold ph-arrow-right" aria-hidden="true"></i>
18+
Watch CFDDC {{ $latestCard.shortYear }}
1919
</a>
2020
{{- end -}}
2121
</div>
@@ -35,13 +35,13 @@ <h2 id="cfddc-years-heading" class="cfddc-section-title m-0 mb-6 text-center">Co
3535
<span class="cfddc-year-card__full">{{ .year }}</span>
3636
<span class="cfddc-year-card__count">{{ .count }} {{ if eq .count 1 }}announcement{{ else }}announcements{{ end }}</span>
3737
</span>
38-
<span class="cfddc-year-card__cta">View edition <i class="ph-bold ph-arrow-right" aria-hidden="true"></i></span>
38+
<span class="cfddc-year-card__cta">View edition </span>
3939
</a>
4040
</li>
4141
{{- end -}}
4242
</ul>
4343
<p class="text-center mt-10 mb-0">
44-
<a href="/history/" class="cfddc-link no-underline">View full timeline <i class="ph-bold ph-arrow-right text-xs" aria-hidden="true"></i></a>
44+
<a href="/history/" class="cfddc-link no-underline">View full timeline </a>
4545
</p>
4646
</section>
4747
</div>

layouts/partials/cfddc/year.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ <h2 id="cfddc-announcements-heading" class="cfddc-section-title m-0 mb-6 text-ce
5151
<span class="cfddc-announce-card__date">{{ .date }}</span>
5252
<span class="cfddc-announce-card__title">{{ .title }}</span>
5353
<span class="cfddc-announce-card__descr">{{ .description }}</span>
54-
<span class="cfddc-announce-card__cta">Learn more <i class="ph-bold ph-arrow-right text-xs" aria-hidden="true"></i></span>
54+
<span class="cfddc-announce-card__cta">Learn more </span>
5555
</a>
5656
</li>
5757
{{- end -}}
@@ -61,9 +61,9 @@ <h2 id="cfddc-announcements-heading" class="cfddc-section-title m-0 mb-6 text-ce
6161
{{- end -}}
6262

6363
<p class="cfddc-footer-links text-center mt-12 mb-0">
64-
<a href="/history/" class="cfddc-link no-underline">View full timeline <i class="ph-bold ph-arrow-right text-xs" aria-hidden="true"></i></a>
64+
<a href="/history/" class="cfddc-link no-underline">View full timeline </a>
6565
<span class="mx-2" aria-hidden="true">·</span>
66-
<a href="/cfddc/" class="cfddc-link no-underline">All editions <i class="ph-bold ph-arrow-right text-xs" aria-hidden="true"></i></a>
66+
<a href="/cfddc/" class="cfddc-link no-underline">All editions </a>
6767
</p>
6868
</section>
6969
</div>

layouts/partials/home/browse-index.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
{{- $totalTools = add $totalTools (len (where .items "hidden" "!=" true)) -}}
66
{{- end -}}
77
{{- $catCount := len hugo.Data.home.categories -}}
8+
{{- $iconEmoji := dict "palette" "🎨" "wrench" "🔧" "game-controller" "🎮" "link" "🔗" "package" "📦" "squares-four" "⊞" "robot" "🤖" "magnifying-glass" "🔍" "shopping-bag" "🛍️" "app-window" "🖥️" "arrow-right" "→" -}}
89

910
<section class="browse-index pt-8 pb-20 max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 w-full" aria-labelledby="browse-index-heading">
1011
<header class="browse-index__hero">
@@ -13,8 +14,8 @@
1314
<h1 id="browse-index-heading" class="browse-index__title m-0">{{ $page.Title | default "Browse all categories" }}</h1>
1415
<p class="browse-index__lead m-0">{{ $page.Description | default "Free tools, games, and AI apps—organized by category. Pick a collection or jump to a hub." }}</p>
1516
<div class="browse-index__meta">
16-
<span class="browse-index__stat"><i class="ph-duotone ph-squares-four" aria-hidden="true"></i> {{ $catCount }} categories</span>
17-
<span class="browse-index__stat"><i class="ph-duotone ph-app-window" aria-hidden="true"></i> {{ $totalTools }}+ tools</span>
17+
<span class="browse-index__stat"> {{ $catCount }} categories</span>
18+
<span class="browse-index__stat">🖥️ {{ $totalTools }}+ tools</span>
1819
</div>
1920
<div class="browse-index__search">
2021
{{ partial "home/search-trigger.html" (dict "placeholder" "Search tools, games, AI apps…" "size" "md" "class" "browse-index__search-trigger") }}
@@ -28,21 +29,19 @@ <h2 class="browse-index__section-title">Categories</h2>
2829
{{- range hugo.Data.home.categories -}}
2930
{{- $slug := .slug | default (.name | anchorize) -}}
3031
{{- $url := .seeAllUrl | default (printf "/browse/%s/" $slug) -}}
31-
{{- $icon := .phosphorIcon | default "squares-four" -}}
3232
{{- $visible := where .items "hidden" "!=" true -}}
3333
{{- $featured := where $visible "featured" true -}}
3434
{{- $previews := cond (gt (len $featured) 0) ($featured | first 6) ($visible | first 6) -}}
3535
{{- $banner := index hugo.Data.homepage.categoryBanners $slug | default dict -}}
36+
{{- $catEmoji := index $iconEmoji (.phosphorIcon | default "squares-four") | default "•" -}}
3637
<li role="listitem">
3738
<a href="{{ $url }}" class="browse-category-card group no-underline" data-cfd-cta="browse_card_{{ $slug }}">
3839
{{- with $banner.image -}}
3940
<span class="browse-category-card__accent" style="background-image: url('{{ . }}');" aria-hidden="true"></span>
4041
{{- end -}}
4142
<span class="browse-category-card__body">
4243
<span class="browse-category-card__top">
43-
<span class="browse-category-card__icon" aria-hidden="true">
44-
<i class="ph-duotone ph-{{ $icon }}"></i>
45-
</span>
44+
<span class="browse-category-card__icon" aria-hidden="true">{{ $catEmoji }}</span>
4645
<span class="browse-category-card__heading">
4746
<span class="browse-category-card__name">{{ .name }}</span>
4847
<span class="browse-category-card__subtitle">{{ .subtitle }}</span>
@@ -59,7 +58,7 @@ <h2 class="browse-index__section-title">Categories</h2>
5958
</span>
6059
{{- end -}}
6160
<span class="browse-category-card__cta">
62-
View category <i class="ph-bold ph-arrow-right" aria-hidden="true"></i>
61+
View category
6362
</span>
6463
</span>
6564
</a>
@@ -74,11 +73,12 @@ <h2 class="browse-index__section-title">Hubs</h2>
7473
<p class="browse-index__section-desc m-0">Curated collections for games, AI, design, and more.</p>
7574
<ul class="browse-hub-grid list-none m-0 p-0" role="list">
7675
{{- range $hubs -}}
76+
{{- $hubEmoji := index $iconEmoji (.icon | default "arrow-right") | default "→" -}}
7777
<li role="listitem">
7878
<a href="{{ .url }}" class="browse-hub-card no-underline group">
79-
<i class="ph-duotone ph-{{ .icon | default "arrow-right" }}" aria-hidden="true"></i>
79+
<span aria-hidden="true">{{ $hubEmoji }}</span>
8080
<span class="browse-hub-card__label">{{ .label }}</span>
81-
<i class="ph-bold ph-caret-right browse-hub-card__arrow" aria-hidden="true"></i>
81+
<span class="browse-hub-card__arrow" aria-hidden="true"></span>
8282
</a>
8383
</li>
8484
{{- end -}}

layouts/partials/home/category-section.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ <h2 id="{{ $headingId }}" class="text-3xl font-bold text-slate-900 mb-2 m-0">{{
2828
<div class="flex items-center gap-3 shrink-0">
2929
<span class="hidden sm:inline-flex text-xs font-medium text-slate-500 bg-white border border-gray-200 rounded-full px-3 py-1">{{ len $visible }} tools</span>
3030
<a href="{{ $seeAll }}" class="hidden md:flex text-sm font-medium text-slate-600 hover:text-brand items-center gap-1 transition-colors no-underline" data-cfd-cta="see_all_{{ $slug }}">
31-
See all <i class="ph-bold ph-caret-right text-xs" aria-hidden="true"></i>
31+
See all
3232
</a>
3333
</div>
3434
</div>
@@ -43,7 +43,7 @@ <h2 id="{{ $headingId }}" class="text-3xl font-bold text-slate-900 mb-2 m-0">{{
4343

4444
<p class="mt-6 text-center md:hidden shrink-0">
4545
<a href="{{ $seeAll }}" class="text-sm font-medium text-slate-600 hover:text-brand inline-flex items-center gap-1 no-underline">
46-
See all {{ $cat.name }} ({{ len $visible }}) <i class="ph-bold ph-caret-right text-xs" aria-hidden="true"></i>
46+
See all {{ $cat.name }} ({{ len $visible }})
4747
</a>
4848
</p>
4949
</div>

layouts/partials/home/cta-coffee.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ <h2 id="coffee-heading" class="text-4xl md:text-5xl font-bold text-slate-900 mb-
77
<div class="flex flex-col sm:flex-row items-center gap-6">
88
{{- with $cta.buttonUrl -}}
99
<a href="{{ . }}" data-cfd-cta="coffee_support" class="flex items-center justify-center gap-2 px-8 py-4 bg-slate-900 text-white rounded-2xl font-medium hover:bg-slate-800 transition-colors shadow-lg hover:shadow-xl hover:-translate-y-0.5 w-full sm:w-auto no-underline">
10-
<i class="ph-fill ph-coffee text-xl" aria-hidden="true"></i> {{ $cta.buttonText | default "Support us today" }}
10+
{{ $cta.buttonText | default "Support us today" }}
1111
</a>
1212
{{- end -}}
1313
{{- with $cta.secondaryUrl -}}
1414
<a href="{{ . }}" data-cfd-cta="coffee_learn_more" class="text-sm font-medium text-slate-600 hover:text-slate-900 transition-colors flex items-center no-underline">
15-
{{ $cta.secondaryText | default "Learn more" }} <i class="ph-bold ph-caret-right text-xs inline-block ml-1" aria-hidden="true"></i>
15+
{{ $cta.secondaryText | default "Learn more" }}
1616
</a>
1717
{{- end -}}
1818
</div>

layouts/partials/home/faq.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ <h2 id="faq-heading" class="text-3xl md:text-4xl font-bold text-[#0B162C] tracki
1010
<details class="bg-white rounded-2xl border border-gray-100 shadow-sm px-6 py-4 group shrink-0">
1111
<summary class="text-[15px] font-semibold text-slate-900 cursor-pointer list-none flex justify-between items-center gap-4">
1212
{{ .question }}
13-
<i class="ph-bold ph-caret-down text-slate-400 group-open:rotate-180 transition-transform shrink-0" aria-hidden="true"></i>
13+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" width="16" height="16" class="shrink-0 text-slate-400 group-open:rotate-180 transition-transform" aria-hidden="true"><polyline points="6 9 12 15 18 9"/></svg>
1414
</summary>
1515
<p class="text-slate-500 text-[14px] leading-relaxed mt-4 mb-0">{{ .answer }}</p>
1616
</details>

layouts/partials/home/footer.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<details class="site-footer__accordion">
2727
<summary class="site-footer__summary">
2828
<span>Product</span>
29-
<i class="ph-bold ph-caret-down site-footer__chevron" aria-hidden="true"></i>
29+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" width="14" height="14" class="site-footer__chevron" aria-hidden="true"><polyline points="6 9 12 15 18 9"/></svg>
3030
</summary>
3131
<ul class="site-footer__links">
3232
<li><a href="/games/">Games</a></li>
@@ -40,7 +40,7 @@
4040
<details class="site-footer__accordion">
4141
<summary class="site-footer__summary">
4242
<span>Company</span>
43-
<i class="ph-bold ph-caret-down site-footer__chevron" aria-hidden="true"></i>
43+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" width="14" height="14" class="site-footer__chevron" aria-hidden="true"><polyline points="6 9 12 15 18 9"/></svg>
4444
</summary>
4545
<ul class="site-footer__links">
4646
<li><a href="/about-us/">About us</a></li>
@@ -53,7 +53,7 @@
5353
<details class="site-footer__accordion">
5454
<summary class="site-footer__summary">
5555
<span>Help &amp; legal</span>
56-
<i class="ph-bold ph-caret-down site-footer__chevron" aria-hidden="true"></i>
56+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" width="14" height="14" class="site-footer__chevron" aria-hidden="true"><polyline points="6 9 12 15 18 9"/></svg>
5757
</summary>
5858
<ul class="site-footer__links">
5959
<li><a href="/search/">Search</a></li>
@@ -69,7 +69,7 @@
6969
{{- if .IsHome -}}
7070
<button type="button" class="site-footer__back-top" data-footer-back-top hidden aria-label="Back to top">
7171
Back to top
72-
<i class="ph-bold ph-arrow-up" aria-hidden="true"></i>
72+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" width="14" height="14" aria-hidden="true"><polyline points="18 15 12 9 6 15"/></svg>
7373
</button>
7474
{{- end -}}
7575

0 commit comments

Comments
 (0)