Skip to content

Commit 6d09bf2

Browse files
committed
aboutus
1 parent 2419c02 commit 6d09bf2

File tree

2 files changed

+37
-76
lines changed

2 files changed

+37
-76
lines changed

layouts/about/about.html

Lines changed: 17 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -6,30 +6,25 @@
66
<meta name="keywords" content="about codefrydev, codefrydev team, digital tools, web development, mobile apps, games, tutorials">
77
<title>About - CodeFryDev | Learn More About Us</title>
88

9-
<link rel="stylesheet" href="/css/about.css">
10-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css">
9+
<link rel="stylesheet" href="/css/internal.css">
10+
{{ partial "aboutseo.html" . }}
1111
</head>
12-
<body style="background-color: #e5e9f4;" >
13-
<header>
14-
<h1 onclick="window.location.href='/'">
15-
<img src="/images/IconCodefrydev.svg" alt="Codefrydev Logo" height="80px">
16-
<span>{{ .Title }}</span>
17-
</h1>
18-
</header>
12+
<body style="background-color: #e5e9f4;">
1913
<main>
20-
<section>
21-
<ol class="cards">
22-
{{ range .Site.Data.about.cards }}
23-
<li>
24-
<a class="card" href="{{ .url }}" style="--accent-color: {{ .accent_color }}">
25-
<h2>{{ .title }}</h2>
26-
<p>{{ .content }}</p>
27-
<i class="{{ .icon }}"></i>
28-
</a>
29-
</li>
30-
{{ end }}
31-
</ol>
32-
</section>
14+
<div class="MainButtonParent">
15+
<img style="align-items: center;" src="/images/IconCodefrydev.svg" alt="Codefrydev Logo" height="96px">
16+
</div>
17+
<h3 style="align-items: center;">About CodeFryDev</h3>
18+
<h4 style="align-items: center;">Learn more, meet contributors, and explore links</h4>
19+
20+
<div class="buttons">
21+
{{ range .Site.Data.about.cards }}
22+
<button class="neumorphic hapticButton" onclick="window.location.href='{{ .url }}'">
23+
<span>{{ .title }}</span>
24+
</button>
25+
{{ end }}
26+
</div>
3327
</main>
28+
<script src="/js/feedback.js" ></script>
3429
</body>
3530
</html>

layouts/partials/aboutseo.html

Lines changed: 20 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,61 +1,27 @@
11
<script type="application/ld+json">
22
{
3-
"@context": "https://schema.org",
4-
"@type": "AboutPage",
5-
"url": "https://codefrydev.in/about",
6-
"name": "About Us",
7-
"description": "Learn more about our company, mission, and values.",
8-
"publisher": {
3+
"@context": "https://schema.org",
4+
"@type": "AboutPage",
5+
"url": "{{ .Permalink }}",
6+
"name": {{ printf "%q" (or .Title "About") }},
7+
"description": {{ printf "%q" (or .Params.description "Learn more about CodeFryDev — our mission, work, and contributors.") }},
8+
"publisher": {
99
"@type": "Organization",
10-
"name": "Example Inc.",
11-
"url": "https://codefrydev.in/",
12-
"logo": "https://codefrydev.in/images/logo.png",
13-
"contactPoint": {
14-
"@type": "ContactPoint",
15-
"telephone": "+1-800-555-1234",
16-
"contactType": "Customer Service"
17-
},
18-
"sameAs": [
19-
"https://www.facebook.com/example",
20-
"https://www.twitter.com/example",
21-
"https://www.linkedin.com/company/example"
22-
]
23-
},
24-
"mainEntity": {
10+
"name": {{ printf "%q" .Site.Title }},
11+
"url": "{{ .Site.BaseURL }}",
12+
"logo": {
13+
"@type": "ImageObject",
14+
"url": "{{ printf "%simages/IconCodefrydev.svg" .Site.BaseURL }}"
15+
}
16+
},
17+
"mainEntity": {
2518
"@type": "Organization",
26-
"name": "Example Inc.",
27-
"url": "https://codefrydev.in/",
28-
"logo": "https://codefrydev.in/images/logo.png",
29-
"description": "Example Inc. is a leading provider of innovative solutions.",
30-
"foundingDate": "2000-01-01",
31-
"founders": [
32-
{
33-
"@type": "Person",
34-
"name": "Jane Doe"
35-
},
36-
{
37-
"@type": "Person",
38-
"name": "John Smith"
39-
}
40-
],
41-
"address": {
42-
"@type": "PostalAddress",
43-
"streetAddress": "1234 Main Street",
44-
"addressLocality": "Anytown",
45-
"addressRegion": "CA",
46-
"postalCode": "12345",
47-
"addressCountry": "USA"
48-
},
49-
"contactPoint": {
50-
"@type": "ContactPoint",
51-
"telephone": "+1-800-555-1234",
52-
"contactType": "Customer Service"
53-
},
54-
"sameAs": [
55-
"https://www.facebook.com/example",
56-
"https://www.twitter.com/example",
57-
"https://www.linkedin.com/company/example"
58-
]
19+
"name": {{ printf "%q" .Site.Title }},
20+
"url": "{{ .Site.BaseURL }}",
21+
"logo": {
22+
"@type": "ImageObject",
23+
"url": "{{ printf "%simages/IconCodefrydev.svg" .Site.BaseURL }}"
5924
}
25+
}
6026
}
6127
</script>

0 commit comments

Comments
 (0)