Skip to content

Commit

Permalink
Favicon, new thumbnail. Grammar. No stock images
Browse files Browse the repository at this point in the history
  • Loading branch information
carletex committed Jul 13, 2023
1 parent 04fb243 commit fb89229
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 24 deletions.
17 changes: 1 addition & 16 deletions packages/nextjs/components/LearnMoreCard.tsx
Original file line number Diff line number Diff line change
@@ -1,26 +1,11 @@
import Image from "next/image";

export const LearnMoreCard = ({
name,
description,
src,
link,
}: {
name: string;
description: string;
src: string;
link: string;
}) => {
export const LearnMoreCard = ({ name, description, link }: { name: string; description: string; link: string }) => {
return (
<a
href={link}
target="_blank"
rel="noreferrer"
className="flex flex-col lg:w-[30%] max-w-xs shadow-lg bg-white rounded-[42px] p-5 mt-4 hover:opacity-80 transition-opacity"
>
<div className="flex w-full h-[200px] relative">
<Image src={src} fill alt={name} className="w-full object-contain" />
</div>
<div className="mb-4">
<h3 className="text-lg m-0 mb-2">{name}</h3>
<p className="text-gray-700 m-0 text-sm">{description}</p>
Expand Down
2 changes: 1 addition & 1 deletion packages/nextjs/components/MetaHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const baseUrl = process.env.NEXT_PUBLIC_VERCEL_URL ? `https://${process.env.NEXT
export const MetaHeader = ({
title = "BuidlGuidl",
description = "A curated group of Ethereum builders creating products, prototypes, and tutorials to enrich the web3 ecosystem.",
image = "thumbnail.jpeg",
image = "thumbnail.png",
twitterCard = "summary_large_image",
children,
}: MetaHeaderProps) => {
Expand Down
11 changes: 4 additions & 7 deletions packages/nextjs/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ const Home: NextPage = () => {
BuidlGuidl streams to developers using our new cohort streams and other custom smart contracts.
</p>
<p className="lg:w-3/5 text-center m-0">
Our goal is to enrich open learning withing the Ethereum developer ecosystem
Our goal is to enrich open learning within the Ethereum developer ecosystem
</p>
<a
href="mailto:partnerships@buidlguidl.com"
Expand Down Expand Up @@ -243,20 +243,17 @@ const Home: NextPage = () => {
<div className="flex gap-8 flex-wrap lg:flex-nowrap justify-center mt-4">
{/* Card */}
<LearnMoreCard
name="BG Labs"
src="/assets/bg-labs.png"
name="🧪 BG Labs"
description="A series of videos to help you get started in the ecosystem and keep learning."
link="https://www.youtube.com/watch?v=4hl61AmEGwU&list=PLJz1HruEnenD77QAsqnk7KG8rSOMk0B99"
/>
<LearnMoreCard
name="Shipping log"
src="/assets/shipping-log.png"
name="🚢 Shipping log"
description="Check out our newsletter to be updated on our tools, hackathons and more."
link="https://buidlguidl.substack.com/"
/>
<LearnMoreCard
name="Tech Tree"
src="/assets/tech-tree.png"
name="🧬 Tech Tree"
description="If you need ideas, check out our Tech Tree to guide you in the ecosystem!"
link="https://miro.com/app/board/uXjVPbc4b68=/"
/>
Expand Down
Binary file removed packages/nextjs/public/assets/bg-labs.png
Binary file not shown.
Binary file removed packages/nextjs/public/assets/shipping-log.png
Binary file not shown.
Binary file removed packages/nextjs/public/assets/tech-tree.png
Binary file not shown.
Binary file modified packages/nextjs/public/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed packages/nextjs/public/thumbnail.jpeg
Binary file not shown.
Binary file added packages/nextjs/public/thumbnail.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 fb89229

Please sign in to comment.