Skip to content

Commit db98d78

Browse files
committed
Refactoring
1 parent 76e0641 commit db98d78

37 files changed

+116
-1527
lines changed

CreatingNewSection.md

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
# Steps to create new Section for this Website
2+
3+
> Let say we are going to add new section called **store**
4+
5+
## Step I
6+
7+
> Create Folder Inside Content Folder store.
8+
9+
> And Inside created folder create _index.md File
10+
11+
12+
Example .
13+
14+
```sh
15+
Content
16+
=> store
17+
=> _index.md
18+
```
19+
20+
## Step II
21+
22+
> Inside _index.md fill below data
23+
24+
```sh
25+
---
26+
title: "Store"
27+
date: 2025-07-07T00:00:00Z
28+
---
29+
```
30+
31+
## Step III
32+
33+
> create store.yaml file inside data folder
34+
35+
```sh
36+
Data
37+
=> stole.yml
38+
```
39+
40+
## Step IV
41+
42+
> Data inside stole will something look like this.
43+
44+
```sh
45+
data:
46+
- name: "Water Reminder"
47+
icon: "cfd-waterreminder"
48+
url: "https://play.google.com/"
49+
```
50+
51+
## Step V
52+
53+
> Inside layout create store folder and in that folder create store.html file
54+
55+
```sh
56+
layouts
57+
=> store
58+
=> store.html
59+
```
60+
61+
> indside store html put you desired html code

content/store/_index.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
title: "Store"
3+
date: 2025-07-07T00:00:00Z
4+
---

data/application.yaml

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

data/home.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# data/buttons.yaml
22
data:
3-
43
- name: "AI"
54
icon: "cfd-brain"
65
url: "/ai"
@@ -17,6 +16,10 @@ data:
1716
icon: "cfd-art"
1817
url: "/designlab/"
1918

19+
- name: "Store"
20+
icon: "cfd-store"
21+
url: "/store/"
22+
2023
- name: "Timeline"
2124
icon: "cfd-history"
2225
url: "/history"
@@ -92,6 +95,3 @@ data:
9295
icon: "cfd-texttools"
9396
url: "/TextTools/"
9497

95-
- name: "Application"
96-
icon: "cfd-application"
97-
url: "https://play.google.com/store/apps/details?id=com.priyadarshi.abhijeet.abintudyog"

data/store.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# data/buttons.yaml
2+
data:
3+
- name: "Water Reminder"
4+
icon: "cfd-waterreminder"
5+
url: "https://play.google.com/store/apps/details?id=com.codefrydev.waterreminder"
6+
7+
- name: "abintudyog"
8+
icon: "cfd-abint"
9+
url: "https://play.google.com/store/apps/details?id=com.priyadarshi.abhijeet.abintudyog"
10+
11+
- name: "Tiny fish"
12+
icon: "cfd-abint"
13+
url: "https://play.google.com/store/apps/details?id=in.codefrydev.developer.abhijeet.tinyfish"
14+
15+
- name: "Galactic gunner"
16+
icon: "cfd-abint"
17+
url: "https://play.google.com/store/apps/details?id=org.codefrydev.developer.abhijeet.galacticgunner"

hugo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ title = 'Code Fry Dev'
1313
env = "production"
1414

1515
[assets]
16-
disableHLJS = true
1716
favicon = "favicon.ico"
1817
favicon16x16 = "favicon-16x16.png"
1918
favicon32x32 = "favicon-32x32.png"

layouts/store/store.html

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
4+
<head>
5+
{{ partial "header.html" . }}
6+
7+
<link rel="stylesheet" href="/css/home.css">
8+
</head>
9+
10+
<body style="background-color: #e5e9f4;">
11+
<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;">Applications</h3>
16+
<h4 style="align-items: center;"></h4>
17+
18+
<div class="buttons">
19+
{{ range .Site.Data.store.data }}
20+
<button class="neumorphic hapticButton" onclick="window.location.href='{{ .url }}'">
21+
<img src="/images/store/{{ .icon }}.svg" alt="{{ .icon }}" class="button-icon">
22+
<span>{{ .name }}</span>
23+
</button>
24+
{{ end }}
25+
</div>
26+
</main>
27+
<script src="/js/feedback.js" ></script>
28+
</body>
29+
30+
</html>

public/404.html

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

public/CNAME

Lines changed: 0 additions & 1 deletion
This file was deleted.

public/android-chrome-192x192.png

-2.9 KB
Binary file not shown.

0 commit comments

Comments
 (0)