Skip to content

Commit ec045c4

Browse files
committed
new Layout
1 parent 481f389 commit ec045c4

File tree

9 files changed

+323
-286
lines changed

9 files changed

+323
-286
lines changed

data/home.yaml

Lines changed: 88 additions & 97 deletions
Original file line numberDiff line numberDiff line change
@@ -1,97 +1,88 @@
1-
# data/buttons.yaml
2-
data:
3-
- name: "AI"
4-
icon: "cfd-brain"
5-
url: "/ai"
6-
7-
- name: "Game"
8-
icon: "cfd-games"
9-
url: "/games"
10-
11-
- name: ".NET"
12-
icon: "cfd-net"
13-
url: "/Updates/"
14-
15-
- name: "Art"
16-
icon: "cfd-art"
17-
url: "/designlab/"
18-
19-
- name: "Store"
20-
icon: "cfd-store"
21-
url: "/store/"
22-
23-
- name: "Timeline"
24-
icon: "cfd-history"
25-
url: "/history"
26-
27-
- name: "About"
28-
icon: "cfd-about"
29-
url: "/about"
30-
31-
- name: "Agurutwa"
32-
icon: "cfd-agurutwa"
33-
url: "https://agurutwa.github.io/"
34-
35-
- name: "T&C Privacy"
36-
icon: "cfd-privacy"
37-
url: "/tncprivacy"
38-
39-
- name: "Android Assets"
40-
icon: "cfd-android"
41-
url: "https://android.codefrydev.in/"
42-
43-
- name: "Pathsala"
44-
icon: "cfd-pathsala"
45-
url: "https://agurutwa.github.io/Pathsala/"
46-
47-
- name: "Chain Reaction"
48-
icon: "cfd-chainreaction"
49-
url: "/ChainReaction/"
50-
51-
- name: "Wordle"
52-
icon: "cfd-wordle"
53-
url: "/Wordle/"
54-
55-
- name: "Tom & Jerry"
56-
icon: "cfd-tomjerry"
57-
url: "/TomAndJerry/"
58-
59-
- name: "Snake"
60-
icon: "cfd-snake"
61-
url: "/Snake"
62-
63-
- name: "CSV"
64-
icon: "cfd-csv"
65-
url: "/CSV/"
66-
- name: "Json2Form"
67-
icon: "cfd-json"
68-
url: "/Json2Form/"
69-
70-
- name: "Meta Tags"
71-
icon: "cfd-metatag"
72-
url: "/metatag/"
73-
74-
- name: "Notebook"
75-
icon: "cfd-notebook"
76-
url: "/YourNoteBook/"
77-
78-
- name: "3D Models"
79-
icon: "cfd-threedassets"
80-
url: "/ThreeDAssets/"
81-
82-
- name: "Weather"
83-
icon: "cfd-mausam"
84-
url: "/Mausam/"
85-
86-
- name: "Wallpaper"
87-
icon: "cfd-wallpaper"
88-
url: "/Wallpaper/"
89-
90-
- name: "Challenge"
91-
icon: "cfd-challenge"
92-
url: "/Challenge/"
93-
94-
- name: "Text"
95-
icon: "cfd-texttools"
96-
url: "/TextTools/"
97-
1+
categories:
2+
# Category for all interactive games and fun projects
3+
- name: "Games & Fun"
4+
items:
5+
- name: "Game"
6+
icon: "cfd-games"
7+
url: "/games"
8+
- name: "Chain Reaction"
9+
icon: "cfd-chainreaction"
10+
url: "/ChainReaction/"
11+
- name: "Wordle"
12+
icon: "cfd-wordle"
13+
url: "/Wordle/"
14+
- name: "Tom & Jerry"
15+
icon: "cfd-tomjerry"
16+
url: "/TomAndJerry/"
17+
- name: "Snake"
18+
icon: "cfd-snake"
19+
url: "/Snake"
20+
- name: "Challenge"
21+
icon: "cfd-challenge"
22+
url: "/Challenge/"
23+
24+
# Category for practical tools and utilities
25+
- name: "Tools & Utilities"
26+
items:
27+
- name: "AI"
28+
icon: "cfd-brain"
29+
url: "/ai"
30+
- name: "CSV"
31+
icon: "cfd-csv"
32+
url: "/CSV/"
33+
- name: "Json2Form"
34+
icon: "cfd-json"
35+
url: "/Json2Form/"
36+
- name: "Text"
37+
icon: "cfd-texttools"
38+
url: "/TextTools/"
39+
- name: "Meta Tags"
40+
icon: "cfd-metatag"
41+
url: "/metatag/"
42+
- name: "Notebook"
43+
icon: "cfd-notebook"
44+
url: "/YourNoteBook/"
45+
- name: "Weather"
46+
icon: "cfd-mausam"
47+
url: "/Mausam/"
48+
49+
# Category for art, design, and creative assets
50+
- name: "Creative & Assets"
51+
items:
52+
- name: "Art"
53+
icon: "cfd-art"
54+
url: "/designlab/"
55+
- name: "Wallpaper"
56+
icon: "cfd-wallpaper"
57+
url: "/Wallpaper/"
58+
- name: "3D Models"
59+
icon: "cfd-threedassets"
60+
url: "/ThreeDAssets/"
61+
- name: "Android Assets"
62+
icon: "cfd-android"
63+
url: "https://android.codefrydev.in/"
64+
65+
# Category for site-wide information, policies, and external links
66+
- name: "Site & External Links"
67+
items:
68+
- name: "About"
69+
icon: "cfd-about"
70+
url: "/about"
71+
- name: "Timeline"
72+
icon: "cfd-history"
73+
url: "/history"
74+
- name: ".NET"
75+
icon: "cfd-net"
76+
url: "/Updates/"
77+
- name: "Store"
78+
icon: "cfd-store"
79+
url: "/store/"
80+
- name: "T&C Privacy"
81+
icon: "cfd-privacy"
82+
url: "/tncprivacy"
83+
- name: "Agurutwa"
84+
icon: "cfd-agurutwa"
85+
url: "https://agurutwa.github.io/"
86+
- name: "Pathsala"
87+
icon: "cfd-pathsala"
88+
url: "https://agurutwa.github.io/Pathsala/"

layouts/ai/ai.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<head>
55
{{ partial "header.html" . }}
66

7-
<link rel="stylesheet" href="/css/home.css">
7+
<link rel="stylesheet" href="/css/internal.css">
88
</head>
99

1010
<body style="background-color: #e5e9f4;">

layouts/designlab/designlab.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<head>
55
{{ partial "header.html" . }}
66

7-
<link rel="stylesheet" href="/css/home.css">
7+
<link rel="stylesheet" href="/css/internal.css">
88
</head>
99

1010
<body style="background-color: #e5e9f4;">

layouts/games/games.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
<head>
55
{{ partial "header.html" . }}
6-
<link rel="stylesheet" href="/css/home.css">
6+
<link rel="stylesheet" href="/css/internal.css">
77
</head>
88

99
<body style="background-color: #e5e9f4;">

layouts/index.html

Lines changed: 22 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,33 @@
11
<!DOCTYPE html>
22
<html lang="en">
3-
43
<head>
54
{{ partial "header.html" . }}
6-
75
<link rel="stylesheet" href="css/home.css">
86
</head>
9-
107
<body style="background-color: #e5e9f4;">
8+
9+
<header class="page-header">
10+
<img src="images/IconCodefrydev.svg" alt="Codefrydev Logo" height="96px">
11+
<h3>Code Fry Dev<sup style="font-size: small; font-weight: bold;"> Alpha</sup></h3>
12+
<h4>Tools, Games, Art, Animation</h4>
13+
</header>
14+
1115
<main>
12-
<div class="MainButtonParent">
13-
<img style="align-items: center;" src="images/IconCodefrydev.svg" alt="Codefrydev Logo" height="96px">
14-
</div>
15-
<h3 style="align-items: center;">Code Fry Dev<sup style="font-size: small; font-weight: bold;"> Alpha</sup></h3>
16-
<h4 style="align-items: center;">Tools, Games, Art, Animation</h4>
17-
18-
<div class="buttons">
19-
{{ range .Site.Data.home.data }}
20-
<button class="neumorphic hapticButton" onclick="window.location.href='{{ .url }}'">
21-
<img src="images/home/{{ .icon }}.svg" alt="{{ .icon }}" class="button-icon">
22-
<span>{{ .name }}</span>
23-
</button>
24-
{{ end }}
25-
</div>
16+
{{ range .Site.Data.home.categories }}
17+
<section class="category-section">
18+
<h2 class="category-title">{{ .name }}</h2>
19+
<div class="button-grid">
20+
{{ range .items }}
21+
<a href="{{ .url }}" class="neumorphic-button hapticButton">
22+
<img src="images/home/{{ .icon }}.svg" alt="{{ .name }} icon" class="button-icon">
23+
<span>{{ .name }}</span>
24+
</a>
25+
{{ end }}
26+
</div>
27+
</section>
28+
{{ end }}
2629
</main>
30+
2731
<script src="js/feedback.js" ></script>
2832
</body>
29-
30-
</html>
33+
</html>

layouts/store/store.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<head>
55
{{ partial "header.html" . }}
66

7-
<link rel="stylesheet" href="/css/home.css">
7+
<link rel="stylesheet" href="/css/internal.css">
88
</head>
99

1010
<body style="background-color: #e5e9f4;">

static/css/games.css

Lines changed: 0 additions & 100 deletions
This file was deleted.

0 commit comments

Comments
 (0)