Skip to content

Commit 3d35d7c

Browse files
authored
Small fixes to new devicetree website (#114)
* Correct capitalisation of Devicetree Devicetree is the preferred form instead of DeviceTree or Device Tree. Signed-off-by: Grant Likely <grant.likely@linaro.org> * Remove 96Boards links 96Boards.ai is defunct, and we aren't really promoting 96Boards at the moment anyway. Drop the links. Signed-off-by: Grant Likely <grant.likely@linaro.org> * Fix formatting of releases Makes use of dateConvertor() for the latest release to make the display nicer. Also adds a space between the word "Release" and the version tag. Signed-off-by: Grant Likely <grant.likely@linaro.org> --------- Signed-off-by: Grant Likely <grant.likely@linaro.org>
1 parent c66102e commit 3d35d7c

File tree

8 files changed

+15
-17
lines changed

8 files changed

+15
-17
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# DeviceTree Project Website
1+
# Devicetree Project Website
22

3-
This is the git repository for the DeviceTree project website.
3+
This is the git repository for the Devicetree project website.
44

55
## 🚀 Project Structure
66

src/components/head/BaseHead.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import "../../styles/global.scss";
66
const GA_ID = import.meta.env.GA_ID;
77
88
const {
9-
title = "The DeviceTree Project",
9+
title = "The Devicetree Project",
1010
description = "A devicetree is a data structure for describing hardware.",
1111
type = "website",
1212
} = Astro.props;

src/components/sections/Updates.astro

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ const data_releases = await fetchData();
2929
data_releases ? (
3030
<a href={data_releases[0].html_url} class="text-primary">
3131
<div class="flex flex-row">
32-
<span>DeviceTree Specification Release</span>
33-
<span>{data_releases[0].tag_name}</span>
32+
<span>Devicetree Specification Release</span>
33+
<span> {data_releases[0].tag_name}</span>
3434
</div>
3535
</a>
3636
) : (
3737
<div>No data available</div>
3838
)
3939
}
40-
<span class="text-black"> - Released {data_releases[0].created_at}</span>
40+
<span class="text-black"> - Released {dateConvertor(data_releases[0].created_at)}</span>
4141
<span
4242
class="text-[#2cbe4e] p-[5px] border border-[#2cbe4e] text-xs align-middle relative ml-2"
4343
>Latest Release</span
@@ -53,8 +53,8 @@ const data_releases = await fetchData();
5353
>
5454
<a href={item.html_url} class="text-primary">
5555
<div>
56-
<span>DeviceTree Specification Release</span>
57-
<span>{item.tag_name}</span>
56+
<span>Devicetree Specification Release</span>
57+
<span> {item.tag_name}</span>
5858
</div>
5959
</a>
6060
<span class="text-black mb-6">

src/content/data/links.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,11 @@
22
url: https://www.linaro.org/
33
- label: Connect
44
url: https://www.linaro.org/connect/
5-
- label: 96Boards
6-
url: https://www.96boards.org/
75
- label: Projects
86
children:
97
- label: OP-TEE
108
url: https://www.trustedfirmware.org/projects/op-tee/
11-
- label: DeviceTree.org
9+
- label: Devicetree.org
1210
url: https://www.devicetree.org/
1311
- label: OpenAMP
1412
url: https://www.openampproject.org/

src/content/pages/contact.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Contact
33
description: >-
4-
Please get in touch with us to talk more about DeviceTree and how you can get involved.
4+
Please get in touch with us to talk more about Devicetree and how you can get involved.
55
slug: "/contact/"
66
layout: "../../layouts/Flow.astro"
77
hero:
@@ -15,13 +15,13 @@ flow:
1515
style: text-center px-4 py-5 text-xl
1616
buttons_content:
1717
- title: contact@linaro.org
18-
url: mailto:contact@linaro.org?subject=DeviceTree.org - /contact/
18+
url: mailto:contact@linaro.org?subject=Devicetree.org - /contact/
1919
style: bg-primary px-2 py-3 border border-b-primary rounded-md text-white mt-8 text-sm font-normal transition ease-in-out delay-150 hover:-translate-y-1 hover:scale-110 hover:bg-[#1a85a1] duration-300
2020
- component: text
2121
style: text-center
2222
text_content:
2323
text: |-
24-
DeviceTree c/o Linaro
24+
Devicetree c/o Linaro
2525
Harston Mill
2626
Royston Rd
2727
Harston

src/content/pages/homepage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ layout: "../../layouts/Flow.astro"
44
slug: ""
55
hero:
66
inner_image: ../../assets/images/devicetree-icon-white.png
7-
title: The DeviceTree Specification
7+
title: The Devicetree Specification
88
background_image: ../../assets/images/background-image.jpg
99
description: >-
1010
A devicetree is a data structure for describing hardware

src/content/pages/latest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: News & Blogs
33
slug: /latest/
44
description: >
5-
Find all DeviceTree related news and blogs here.
5+
Find all Devicetree related news and blogs here.
66
layout: "../../layouts/Flow.astro"
77
hero:
88
title: News & Blogs

src/content/pages/releases.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ layout: ../../layouts/Flow.astro
33
title: Releases
44
slug: /releases/
55
js-package: releases
6-
keywords: Releases, Device Tree, RoadMap
6+
keywords: Releases, Devicetree, RoadMap
77
hero:
88
title: Releases
99
background_image: ../../assets/images/background-image.jpg

0 commit comments

Comments
 (0)