Skip to content

Commit

Permalink
Add week 2 and Open alliance to blog
Browse files Browse the repository at this point in the history
  • Loading branch information
cherriae committed Jan 21, 2025
1 parent 3191c9d commit c415074
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 7 deletions.
26 changes: 26 additions & 0 deletions _posts/open-alliance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
title: "Open Alliance"
excerpt: "Our open alliance post on cheif delphi!"
coverImage: "/blog_imgs/oa.png"
date: "2025-01-21"
author:
name: Husain
picture: "/team/husain-baker.webp"
ogImage:
url: "/blog_imgs/oa.png"
---

## We are happy to announce our 2025 Open Alliance
**You can visit our open alliance page [here](https://www.chiefdelphi.com/t/frc-334-techknights-2024-25-build-thread-open-alliance/476058)!!!**


## Team Links

| Team Pages | Links |
| ---------- | ----- |
|Website | https://www.bthsrobotics.com/ |
| Instagram | https://www.instagram.com/team334/?hl=en |
|YouTube Channel| https://www.youtube.com/@TechKnights334 |
|Github | https://www.github.com/team334/ |

> Post Credits: Gadin, Husain, Samantha
15 changes: 8 additions & 7 deletions pages/blog/[slug].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,14 @@ const PostPage: React.FC<PostPageProps> = ({post}) => {
transition={{delay: 0.3}}
className="flex items-center justify-center space-x-4"
>
<Image
alt={post.author.name}
src={post.author.picture}
className="rounded-full"
width={40}
height={40}
/>
<div className="relative w-8 h-8">
<Image
alt={post.author.name}
src={post.author.picture}
fill
className="rounded-full object-cover"
/>
</div>
<span className="main text-lg">{post.author.name}</span>
<span className="text-gray-400"></span>
<time className="secondary text-gray-400">
Expand Down
15 changes: 15 additions & 0 deletions pages/blog/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,21 @@ const BlogHome: React.FC<BlogHomeProps> = ({ posts }) => {
</div>
</div>
),
},
{
title: "Week 2",
value: "week2",
content: (
<div className="w-full relative h-full rounded-2xl p-6 md:p-10 text-xl md:text-4xl main font-bold bg-[#f2f2f2]">
<h1 className="text-black mb-4">Week 2 Recap</h1>
<div className="h-[calc(100%-4rem)]">
<YouTubePlayer
videoId="hW77z1hqZ7s"
loading="lazy"
/>
</div>
</div>
),
}
]

Expand Down
Binary file added public/blog_imgs/oa.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c415074

Please sign in to comment.