Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small fixes to new devicetree website #114

Merged
merged 3 commits into from
Oct 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# DeviceTree Project Website
# Devicetree Project Website

This is the git repository for the DeviceTree project website.
This is the git repository for the Devicetree project website.

## 🚀 Project Structure

Expand Down
2 changes: 1 addition & 1 deletion src/components/head/BaseHead.astro
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import "../../styles/global.scss";
const GA_ID = import.meta.env.GA_ID;

const {
title = "The DeviceTree Project",
title = "The Devicetree Project",
description = "A devicetree is a data structure for describing hardware.",
type = "website",
} = Astro.props;
Expand Down
10 changes: 5 additions & 5 deletions src/components/sections/Updates.astro
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ const data_releases = await fetchData();
data_releases ? (
<a href={data_releases[0].html_url} class="text-primary">
<div class="flex flex-row">
<span>DeviceTree Specification Release</span>
<span>{data_releases[0].tag_name}</span>
<span>Devicetree Specification Release</span>
<span> {data_releases[0].tag_name}</span>
</div>
</a>
) : (
<div>No data available</div>
)
}
<span class="text-black"> - Released {data_releases[0].created_at}</span>
<span class="text-black"> - Released {dateConvertor(data_releases[0].created_at)}</span>
<span
class="text-[#2cbe4e] p-[5px] border border-[#2cbe4e] text-xs align-middle relative ml-2"
>Latest Release</span
Expand All @@ -53,8 +53,8 @@ const data_releases = await fetchData();
>
<a href={item.html_url} class="text-primary">
<div>
<span>DeviceTree Specification Release</span>
<span>{item.tag_name}</span>
<span>Devicetree Specification Release</span>
<span> {item.tag_name}</span>
</div>
</a>
<span class="text-black mb-6">
Expand Down
4 changes: 1 addition & 3 deletions src/content/data/links.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,11 @@
url: https://www.linaro.org/
- label: Connect
url: https://www.linaro.org/connect/
- label: 96Boards
url: https://www.96boards.org/
- label: Projects
children:
- label: OP-TEE
url: https://www.trustedfirmware.org/projects/op-tee/
- label: DeviceTree.org
- label: Devicetree.org
url: https://www.devicetree.org/
- label: OpenAMP
url: https://www.openampproject.org/
6 changes: 3 additions & 3 deletions src/content/pages/contact.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Contact
description: >-
Please get in touch with us to talk more about DeviceTree and how you can get involved.
Please get in touch with us to talk more about Devicetree and how you can get involved.
slug: "/contact/"
layout: "../../layouts/Flow.astro"
hero:
Expand All @@ -15,13 +15,13 @@ flow:
style: text-center px-4 py-5 text-xl
buttons_content:
- title: contact@linaro.org
url: mailto:contact@linaro.org?subject=DeviceTree.org - /contact/
url: mailto:contact@linaro.org?subject=Devicetree.org - /contact/
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
- component: text
style: text-center
text_content:
text: |-
DeviceTree c/o Linaro
Devicetree c/o Linaro
Harston Mill
Royston Rd
Harston
Expand Down
2 changes: 1 addition & 1 deletion src/content/pages/homepage.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ layout: "../../layouts/Flow.astro"
slug: ""
hero:
inner_image: ../../assets/images/devicetree-icon-white.png
title: The DeviceTree Specification
title: The Devicetree Specification
background_image: ../../assets/images/background-image.jpg
description: >-
A devicetree is a data structure for describing hardware
Expand Down
2 changes: 1 addition & 1 deletion src/content/pages/latest.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: News & Blogs
slug: /latest/
description: >
Find all DeviceTree related news and blogs here.
Find all Devicetree related news and blogs here.
layout: "../../layouts/Flow.astro"
hero:
title: News & Blogs
Expand Down
2 changes: 1 addition & 1 deletion src/content/pages/releases.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: ../../layouts/Flow.astro
title: Releases
slug: /releases/
js-package: releases
keywords: Releases, Device Tree, RoadMap
keywords: Releases, Devicetree, RoadMap
hero:
title: Releases
background_image: ../../assets/images/background-image.jpg
Expand Down
Loading