Skip to content

Commit cdaa590

Browse files
committed
Updated
1 parent b108d38 commit cdaa590

41 files changed

Lines changed: 544 additions & 277 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

assets/css/tailwind-input.css

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,11 @@
6262
}
6363

6464
.home-hero__bg-layer {
65-
@apply absolute inset-0 bg-cover bg-center bg-no-repeat transition-opacity duration-1000 ease-in-out;
65+
@apply absolute inset-0 overflow-hidden transition-opacity duration-1000 ease-in-out;
66+
}
67+
68+
.home-hero__bg-img {
69+
@apply h-full w-full object-cover object-center;
6670
}
6771

6872
.home-hero__overlay {
@@ -1064,6 +1068,10 @@
10641068
@apply bg-white;
10651069
}
10661070

1071+
.home-why__header {
1072+
@apply shrink-0;
1073+
}
1074+
10671075
.home-why__eyebrow {
10681076
@apply inline-block px-4 py-1.5 mb-6 text-sm font-medium text-slate-700 bg-white rounded-full border border-gray-200 shadow-sm;
10691077
}
@@ -1073,7 +1081,11 @@
10731081
}
10741082

10751083
.home-why__intro {
1076-
@apply mx-auto mb-12 max-w-2xl text-lg leading-relaxed text-slate-500;
1084+
@apply mx-auto max-w-2xl text-lg leading-relaxed text-slate-500;
1085+
}
1086+
1087+
.home-why__grid {
1088+
@apply shrink-0;
10771089
}
10781090

10791091
.home-why__card {
@@ -1110,7 +1122,7 @@
11101122
}
11111123

11121124
.home-why__perk-text {
1113-
@apply min-w-0 flex-1;
1125+
@apply min-w-0 flex-1 text-sm leading-snug text-slate-600;
11141126
}
11151127

11161128
.home-faq-scroll {

content/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "CodeFryDev"
33
date: 2023-01-01T00:00:00Z
4-
description: "This is a platform where we learn, work on experimental projects, play games, come up with innovative ideas, and build many more..."
4+
description: "Free browser tools, games, and AI apps by CodeFryDev. No signup or install—JSON utilities, design lab, puzzles, and more. Open and use instantly."
55
---
66

77
Homepage content is driven by `data/home.yaml` and `data/homepage.yaml`.

data/homepage.yaml

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@ nav:
77
secondaryTitle: "Hubs"
88
hubs:
99
- label: "Games"
10-
url: "/games"
10+
url: "/games/"
1111
icon: "game-controller"
1212
- label: "AI Tools"
13-
url: "/ai"
13+
url: "/ai/"
1414
icon: "robot"
1515
- label: "Design Lab"
16-
url: "/designlab"
16+
url: "/designlab/"
1717
icon: "palette"
1818
- label: "Store"
19-
url: "/store"
19+
url: "/store/"
2020
icon: "shopping-bag"
2121
- label: "Search all tools"
22-
url: "/search"
22+
url: "/search/"
2323
icon: "magnifying-glass"
2424

2525
why:
@@ -46,37 +46,37 @@ why:
4646

4747
hubBanners:
4848
games:
49-
image: "https://images.unsplash.com/photo-1511512578047-dfb367046420?auto=format&fit=crop&w=1600&q=80"
49+
image: "/images/banners/games.jpg"
5050
title: "Games & Fun"
5151
description: "Puzzles, classics, and arcade games—play instantly in your browser."
5252
ai:
53-
image: "https://images.unsplash.com/photo-1677442136019-21780ecad995?auto=format&fit=crop&w=1600&q=80"
53+
image: "/images/banners/ai.jpg"
5454
title: "AI Tools"
5555
description: "Meme generators, summarizers, chat, and more—no signup required."
5656
designlab:
57-
image: "https://images.unsplash.com/photo-1561070791-2526d30994b5?auto=format&fit=crop&w=1600&q=80"
57+
image: "/images/banners/designlab.jpg"
5858
title: "Design Lab"
5959
description: "Creative design tools, visualizers, and resources for makers."
6060
store:
61-
image: "https://images.unsplash.com/photo-1556745753-2903312f440c?auto=format&fit=crop&w=1600&q=80"
61+
image: "/images/banners/store.jpg"
6262
title: "CodeFryDev Store"
6363
description: "Mobile apps and downloads on Google Play."
6464

6565
categoryBanners:
6666
creative-assets:
67-
image: "https://images.unsplash.com/photo-1561070791-2526d30994b5?auto=format&fit=crop&w=1600&q=80"
67+
image: "/images/banners/creative-assets.jpg"
6868
title: "Explore Creative & Assets"
6969
description: "Art tools, wallpapers, 3D models, and learning resources for makers."
7070
tools-utilities:
71-
image: "https://images.unsplash.com/photo-1555066931-4365d14bab8c?auto=format&fit=crop&w=1600&q=80"
71+
image: "/images/banners/tools-utilities.jpg"
7272
title: "Tools & Utilities Collection"
7373
description: "Productivity apps, formatters, SEO tools, and dev utilities in your browser."
7474
games-fun:
75-
image: "https://images.unsplash.com/photo-1511512578047-dfb367046420?auto=format&fit=crop&w=1600&q=80"
75+
image: "/images/banners/games-fun.jpg"
7676
title: "Games & Fun"
7777
description: "Wordle, Snake, Chain Reaction, and more—play instantly in your browser."
7878
site-links:
79-
image: "https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1600&q=80"
79+
image: "/images/banners/site-links.jpg"
8080
title: "Site & Resources"
8181
description: "About, updates, store, privacy, and external links."
8282

@@ -85,13 +85,16 @@ hero:
8585
searchPlaceholder: "Search tools, games, AI apps..."
8686
autoplayMs: 6000
8787
slides:
88-
- image: "https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=2850&q=80"
88+
- image: "/images/hero/slide-1.jpg"
89+
imageAlt: "Team collaborating on laptops"
8990
title: "Tools, games & AI in your browser"
9091
description: "This is a platform where we learn, work on experimental projects, play games, come up with innovative ideas, and build many more..."
91-
- image: "https://images.unsplash.com/photo-1551434678-e076c223a692?auto=format&fit=crop&w=2850&q=80"
92+
- image: "/images/hero/slide-2.jpg"
93+
imageAlt: "Developers working together at a desk"
9294
title: "Build faster with CodeFryDev"
9395
description: "From JSON playgrounds to design lab resources—everything runs in your browser."
94-
- image: "https://images.unsplash.com/photo-1498050108023-c5249f4df085?auto=format&fit=crop&w=2852&q=80"
96+
- image: "/images/hero/slide-3.jpg"
97+
imageAlt: "Laptop showing code on a desk"
9598
title: "No install. Just open and use."
9699
description: "Explore creative assets, productivity tools, games, and AI helpers in one place."
97100

hugo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ disableKinds = ["taxonomy", "term"]
2222
google_analytics_id = "G-VM01Q3R43D"
2323
microsoft_clarity_id = "mxr4hxioh4"
2424
# Add static/images/og-default.png (1200×630) for better social sharing; omit or leave empty to use logo
25-
default_og_image = "images/og-default.png"
25+
default_og_image = "images/og-default.jpg"
2626

2727
[params.social]
2828
twitter = "codefrydev"

layouts/about-us/about-us.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ <h2 id="about-team-heading" class="about-heading m-0">Our team</h2>
107107
<li>
108108
<a href="{{ .RelPermalink }}" class="about-team-card no-underline group">
109109
<span class="about-team-card__avatar-wrap">
110-
<img src="{{ .Params.listProfile_image }}" alt="" width="112" height="112" class="about-team-card__avatar" loading="lazy">
110+
<img src="{{ .Params.listProfile_image }}" alt="{{ .Title }}" width="112" height="112" class="about-team-card__avatar" loading="lazy">
111111
</span>
112112
<span class="about-team-card__body">
113113
<span class="about-team-card__name">{{ .Title }}</span>

layouts/about/users/list.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ <h1 class="text-4xl font-bold text-slate-900 mb-3 m-0">{{ .Title }}</h1>
88
{{- range sort .Pages "Weight" -}}
99
<li>
1010
<a href="{{ .RelPermalink }}" class="bg-white border border-gray-100 rounded-2xl p-8 text-center hover:-translate-y-1 hover:shadow-md transition-all no-underline block group">
11-
<img src="{{ .Params.listProfile_image }}" alt="" width="120" height="120" class="w-[120px] h-[120px] rounded-full object-cover border-4 border-gray-100 mx-auto mb-4 group-hover:border-blue-100 transition-colors" loading="lazy">
11+
<img src="{{ .Params.listProfile_image }}" alt="{{ .Title }}" width="120" height="120" class="w-[120px] h-[120px] rounded-full object-cover border-4 border-gray-100 mx-auto mb-4 group-hover:border-blue-100 transition-colors" loading="lazy">
1212
<h2 class="text-xl font-bold text-slate-900 m-0 mb-2">{{ .Title }}</h2>
1313
<p class="text-sm text-slate-500 m-0 mb-4">{{ .Params.subtitle }}</p>
1414
<span class="inline-block text-xs font-semibold uppercase tracking-wide text-blue-600 bg-blue-50 px-3 py-1 rounded-full">View profile</span>

layouts/index.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<head>
55
{{ partial "header.html" . }}
66
{{ partial "home/head.html" . }}
7+
<link rel="preload" as="image" href="/images/hero/slide-1.jpg" fetchpriority="high">
78
<link rel="stylesheet" href="/css/ladybug.css">
89
</head>
910
<body class="home-page bg-gray-50/50 text-slate-800 font-sans antialiased">
@@ -18,7 +19,7 @@
1819
})();
1920
</script>
2021

21-
<main id="main-content" class="home-sections">
22+
<main id="main-content" class="home-sections" tabindex="-1">
2223
{{ partial "home/hero.html" . }}
2324
{{- range hugo.Data.home.categories -}}
2425
{{ partial "home/category-section.html" (dict "category" . "Site" $.Site) }}
@@ -28,12 +29,13 @@
2829
{{ partial "home/marquee.html" . }}
2930
{{ partial "home/why.html" . }}
3031
{{ partial "home/faq.html" . }}
31-
{{ partial "home/footer.html" . }}
3232
</main>
3333

34+
{{ partial "home/footer.html" . }}
3435
{{ partial "ladybug.html" . }}
3536
{{ partial "cookie-consent.html" . }}
3637
{{ partial "home/search-palette.html" . }}
38+
<script src="/js/a11y.js" defer></script>
3739
<script src="/js/home-hero.js" defer></script>
3840
<script src="/js/home-nav.js" defer></script>
3941
<script src="/js/home-scroll.js" defer></script>

0 commit comments

Comments
 (0)