Skip to content

Commit 9454fa1

Browse files
From FOnet awesome cdn to local svg
1 parent d70ab31 commit 9454fa1

Some content is hidden

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

53 files changed

+341
-234
lines changed

data/ai.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
# data/buttons.yaml
22
data:
33
- name: "Profile AI"
4-
icon: "fa-solid fa-comment-slash"
4+
icon: "cfd-chat"
55
url: "/ProfiledAi/"
66

77
- name: "Aqua tracker AI"
8-
icon: "fa-solid fa-water"
8+
icon: "cfd-water"
99
url: "https://aquatrack.codefrydev.in/"
1010

1111
- name: "CFD Chat AI"
12-
icon: "fa-thin fa-comment"
12+
icon: "cfd-chat"
1313
url: "https://chat.codefrydev.in/"
1414

1515
- name: "AI Web Summarize"
16-
icon: "fa-thin fa-rectangle-list"
16+
icon: "cfd-summarize"
1717
url: "https://summarize.codefrydev.in/"
1818

1919
- name: "AI SocialSnap"
20-
icon: "fa-thin fa-camera"
20+
icon: "cfd-social"
2121
url: "https://socialsnap.codefrydev.in/"
2222

2323
- name: "AI Meme Generator"
24-
icon: "fa-solid fa-face-grin-tongue"
24+
icon: "cfd-meme"
2525
url: "https://meme.codefrydev.in/"

data/designlab.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
# data/buttons.yaml
22
data:
33
- name: "Design"
4-
icon: "fa-solid fa-pen-nib"
4+
icon: "cfd-design"
55
url: "/design/"
66

77
- name: "Aurora 3D"
8-
icon: "fa-solid fa-cube"
8+
icon: "cfd-aurora"
99
url: "https://aurora3d.codefrydev.in"
1010

1111
- name: "DSGN.LIB"
12-
icon: "fa-solid fa-flask"
12+
icon: "cfd-dsgn"
1313
url: "/dsgnlib/"
1414

1515
- name: "JUICY HAPTIC"
16-
icon: "fa-solid fa-layer-group"
16+
icon: "cfd-juicy"
1717
url: "https://juicyhapticdesign.codefrydev.in/"
1818

1919
- name: "DataViz"
20-
icon: "fa-solid fa-chart-pie"
20+
icon: "cfd-datavis"
2121
url: "https://dataviz.codefrydev.in/"
2222

2323
- name: "Neural Music Player"
24-
icon: "fa-solid fa-music"
24+
icon: "cfd-music"
2525
url: "https://neuralmusicplayer.codefrydev.in"

data/games.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
# data/buttons.yaml
22
data:
33
- name: "Chain Reaction"
4-
icon: "fa-brands fa-fantasy-flight-games"
4+
icon: "cfd-chainreaction"
55
url: "/ChainReaction/"
66

77
- name: "Wordle"
8-
icon: "fa-regular fa-file-word"
8+
icon: "cfd-wordle"
99
url: "/Wordle/"
1010

1111
- name: "Snake"
12-
icon: "fa-solid fa-snake"
12+
icon: "cfd-snake"
1313
url: "/Snake"
1414

1515
- name: "Game"
16-
icon: "fa-brands fa-galactic-senate"
16+
icon: "cfd-games"
1717
url: "https://play.google.com/store/apps/details?id=org.codefrydev.developer.abhijeet.galacticgunner"
1818

data/home.yaml

Lines changed: 24 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,91 +1,90 @@
11
# data/buttons.yaml
22
data:
33

4-
54
- name: "AI"
6-
icon: "fa-solid fa-brain"
5+
icon: "cfd-brain"
76
url: "/ai"
87

98
- name: "Game"
10-
icon: "fa-light fa-chart-mixed"
9+
icon: "cfd-games"
1110
url: "/games"
1211

1312
- name: ".NET"
14-
icon: "fa-solid fa-code"
13+
icon: "cfd-net"
1514
url: "/Updates/"
1615

1716
- name: "Art"
18-
icon: "fa-solid fa-palette"
17+
icon: "cfd-art"
1918
url: "/designlab/"
2019

2120
- name: "Timeline"
22-
icon: "fa-light fa-atom"
21+
icon: "cfd-history"
2322
url: "/history"
2423

2524
- name: "About"
26-
icon: "fa-regular fa-credit-card"
25+
icon: "cfd-about"
2726
url: "/about"
2827

2928
- name: "Agurutwa"
30-
icon: "fa-solid fa-book-open"
29+
icon: "cfd-agurutwa"
3130
url: "https://agurutwa.github.io/"
3231

3332
- name: "Android Assets"
34-
icon: "fa-brands fa-android"
33+
icon: "cfd-android"
3534
url: "https://android.codefrydev.in/"
3635

3736
- name: "Pathsala"
38-
icon: "fa-solid fa-graduation-cap"
39-
url: "https://agurutwa.github.io/Pathsala/"
37+
icon: "cfd-pathsala"
38+
url: "https://agurutwa.github.io/Pathsala/"
4039

4140
- name: "Chain Reaction"
42-
icon: "fa-brands fa-fantasy-flight-games"
41+
icon: "cfd-chainreaction"
4342
url: "/ChainReaction/"
4443

4544
- name: "Wordle"
46-
icon: "fa-regular fa-file-word"
45+
icon: "cfd-wordle"
4746
url: "/Wordle/"
4847

4948
- name: "Tom & Jerry"
50-
icon: "fa-solid fa-cat"
49+
icon: "cfd-tomjerry"
5150
url: "/TomAndJerry/"
5251

5352
- name: "Snake"
54-
icon: "fa-solid fa-snake"
53+
icon: "cfd-snake"
5554
url: "/Snake"
5655

5756
- name: "CSV"
58-
icon: "fa-solid fa-file-csv"
57+
icon: "cfd-csv"
5958
url: "/CSV/"
6059

6160
- name: "Meta Tags"
62-
icon: "fa-solid fa-cloud-meatball"
61+
icon: "cfd-metatag"
6362
url: "/metatag/"
6463

6564
- name: "Notebook"
66-
icon: "fa-solid fa-note-sticky"
65+
icon: "cfd-notebook"
6766
url: "/YourNoteBook/"
6867

6968
- name: "3D Models"
70-
icon: "fa-solid fa-cubes"
69+
icon: "cfd-threedassets"
7170
url: "/ThreeDAssets/"
7271

7372
- name: "Weather"
74-
icon: "fa-solid fa-cloud-sun"
73+
icon: "cfd-mausam"
7574
url: "/Mausam/"
7675

7776
- name: "Wallpaper"
78-
icon: "fa-solid fa-image"
77+
icon: "cfd-wallpaper"
7978
url: "/Wallpaper/"
8079

8180
- name: "Challenge"
82-
icon: "fa-solid fa-chart-line"
81+
icon: "cfd-challenge"
8382
url: "/Challenge/"
8483

85-
- name: "Text Tools"
86-
icon: "fa-solid fa-screwdriver-wrench"
84+
- name: "Text"
85+
icon: "cfd-texttools"
8786
url: "/TextTools/"
8887

8988
- name: "Application"
90-
icon: "fa-light fa-dna"
89+
icon: "cfd-application"
9190
url: "https://play.google.com/store/apps/details?id=com.priyadarshi.abhijeet.abintudyog"

layouts/ai/ai.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@
33

44
<head>
55
{{ partial "header.html" . }}
6-
<link href="https://pro.fontawesome.com/releases/v6.0.0-beta1/css/all.css" rel="stylesheet" crossorigin="anonymous"
7-
referrerpolicy="no-referrer" />
8-
<link rel="stylesheet" href="/css/games.css">
6+
7+
<link rel="stylesheet" href="/css/home.css">
98
</head>
109

1110
<body style="background-color: #e5e9f4;">
@@ -19,7 +18,7 @@ <h4 style="align-items: center;"></h4>
1918
<div class="buttons">
2019
{{ range .Site.Data.ai.data }}
2120
<button class="neumorphic hapticButton" onclick="window.location.href='{{ .url }}'">
22-
<i class="{{ .icon }}"></i>
21+
<img src="/images/ai/{{ .icon }}.svg" alt="{{ .icon }}" class="button-icon">
2322
<span>{{ .name }}</span>
2423
</button>
2524
{{ end }}

layouts/designlab/designlab.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@
33

44
<head>
55
{{ partial "header.html" . }}
6-
<link href="https://pro.fontawesome.com/releases/v6.0.0-beta1/css/all.css" rel="stylesheet" crossorigin="anonymous"
7-
referrerpolicy="no-referrer" />
8-
<link rel="stylesheet" href="/css/games.css">
6+
7+
<link rel="stylesheet" href="/css/home.css">
98
</head>
109

1110
<body style="background-color: #e5e9f4;">
@@ -19,7 +18,7 @@ <h4 style="align-items: center;"></h4>
1918
<div class="buttons">
2019
{{ range .Site.Data.designlab.data }}
2120
<button class="neumorphic hapticButton" onclick="window.location.href='{{ .url }}'">
22-
<i class="{{ .icon }}"></i>
21+
<img src="/images/designlab/{{ .icon }}.svg" alt="{{ .icon }}" class="button-icon">
2322
<span>{{ .name }}</span>
2423
</button>
2524
{{ end }}

layouts/games/games.html

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33

44
<head>
55
{{ partial "header.html" . }}
6-
<link href="https://pro.fontawesome.com/releases/v6.0.0-beta1/css/all.css" rel="stylesheet" crossorigin="anonymous"
7-
referrerpolicy="no-referrer" />
8-
<link rel="stylesheet" href="/css/games.css">
6+
<link rel="stylesheet" href="/css/home.css">
97
</head>
108

119
<body style="background-color: #e5e9f4;">
@@ -19,7 +17,7 @@ <h4 style="align-items: center;"></h4>
1917
<div class="buttons">
2018
{{ range .Site.Data.games.data }}
2119
<button class="neumorphic hapticButton" onclick="window.location.href='{{ .url }}'">
22-
<i class="{{ .icon }}"></i>
20+
<img src="/images/games/{{ .icon }}.svg" alt="{{ .icon }}" class="button-icon">
2321
<span>{{ .name }}</span>
2422
</button>
2523
{{ end }}

layouts/index.html

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

44
<head>
55
{{ partial "header.html" . }}
6-
<link rel="stylesheet" href="https://pro.fontawesome.com/releases/v6.0.0-beta1/css/all.css" crossorigin="anonymous" referrerpolicy="no-referrer" />
76

87
<link rel="stylesheet" href="css/home.css">
98
</head>
@@ -19,7 +18,7 @@ <h4 style="align-items: center;">Tools, Games, Art, Animation</h4>
1918
<div class="buttons">
2019
{{ range .Site.Data.home.data }}
2120
<button class="neumorphic hapticButton" onclick="window.location.href='{{ .url }}'">
22-
<i class="{{ .icon }}"></i>
21+
<img src="images/home/{{ .icon }}.svg" alt="{{ .icon }}" class="button-icon">
2322
<span>{{ .name }}</span>
2423
</button>
2524
{{ end }}

public/css/games.css

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
2-
3-
41
button.neumorphic {
52
container-type: inline-size;
63
aspect-ratio: 1/1;
@@ -86,4 +83,18 @@ button.neumorphic {
8683
display: flex ;
8784
justify-content: space-evenly;
8885
font-size: 3rem;
89-
}
86+
}
87+
88+
.button-icon {
89+
width: 54px; /* Adjust size as needed */
90+
height: 54px; /* Adjust size as needed */
91+
}
92+
93+
/* Your buttons seem to stack icon and text, so ensure they use flexbox */
94+
.neumorphic {
95+
display: inline-flex;
96+
flex-direction: column;
97+
align-items: center;
98+
justify-content: center;
99+
gap: 8px; /* Adds space between icon and text */
100+
}

0 commit comments

Comments
 (0)