diff --git a/_data/pages/developers.yml b/_data/pages/developers.yml
index 462a248643..0622d54564 100644
--- a/_data/pages/developers.yml
+++ b/_data/pages/developers.yml
@@ -20,7 +20,7 @@ blocks:
title: Read the Starknet Docs
description: Read the official Starknet documentation to build your first
contracts and dapps.
- icon: /assets/read_the_docs.svg
+ icon: /assets/read-docs.svg
link:
custom_external_link: https://docs.starknet.io/
custom_title: View
@@ -30,7 +30,7 @@ blocks:
title: Read the Starknet Book
description: "Developed by the Starknet community, the Starknet book teaches how
to build on Starknet. "
- icon: /assets/docs.svg
+ icon: /assets/read-book.svg
link:
custom_external_link: https://book.starknet.io/
custom_internal_link: ""
@@ -48,41 +48,128 @@ blocks:
withIllustration: true
- type: flex_layout
heading_variant: h3
- base: 1
- md: 2
- lg: 3
- heading: Courses
blocks:
- - type: image_icon_link_card
+ - size: large
color: blue-default
- title: Tutorials
- description: "Learn from the Starknet's community of developers and technologies. "
- icon: /assets/7.svg
+ variant: image_icon_link_card
+ orientation: left
+ withIllustration: true
+ title: Cairo Book
+ icon: /assets/cairo-book.svg
+ type: image_icon_link_card
link:
custom_title: View
- custom_internal_link: /tutorials/
+ custom_external_link: https://book.cairo-lang.org/
+ description: Learn how to write code in Cairo, Starknet's native programming
+ language.
+ columns: "4"
+ - size: large
+ color: blue-default
+ variant: image_icon_link_card
+ orientation: left
withIllustration: true
- - type: image_icon_link_card
+ title: Cairo Docs
+ icon: /assets/cairo-docs.svg
+ type: image_icon_link_card
+ link:
+ custom_title: View
+ custom_external_link: https://docs.cairo-lang.org/
+ description: Read the Cairo documentation to start building on Starknet with Cairo.
+ columns: "4"
+ - size: large
color: blue-default
+ variant: image_icon_link_card
+ orientation: left
+ withIllustration: true
title: Starknet Basecamp
- description: Register for the next Basecamp or watch previous recordings, where
- you will learn about Starknet, Cairo, and STARKs.
- icon: /assets/basecamp.svg
+ icon: /assets/starknet-basecamp.svg
+ type: image_icon_link_card
link:
custom_title: View
- custom_internal_link: ""
- custom_external_link: https://starknet.notion.site/Starknet-Basecamp-1541b3c1f49f439da872d3d71647d834?pvs=4
+ custom_external_link: https://starknet.notion.site/starknet/Starknet-Basecamp-Hub-1541b3c1f49f439da872d3d71647d834
+ description: Register for an upcoming Basecamp cohort or watch the previous
+ recordings to learn everything about Starknet, Cairo, and STARKs.
+ columns: "4"
+ - size: large
+ color: blue-default
+ variant: image_icon_link_card
+ orientation: left
withIllustration: true
- - type: image_icon_link_card
+ title: Tutorials
+ icon: /assets/tutorials-2.svg
+ type: image_icon_link_card
+ link:
+ custom_title: View
+ custom_external_link: https://www.starknet.io/en/tutorials
+ description: Get the expert guidance you need to enhance your Starknet dev
+ skills with our hands-on video tutorials.
+ columns: "4"
+ base: 1
+ md: 2
+ lg: 3
+ heading: Learning Resources
+ xl: 4
+ - type: flex_layout
+ heading_variant: h3
+ blocks:
+ - size: large
+ color: blue-default
+ variant: image_icon_link_card
+ orientation: left
+ withIllustration: true
+ title: Roadmap
+ icon: /assets/roadmap.svg
+ type: image_icon_link_card
+ link:
+ custom_title: View
+ custom_internal_link: /roadmap
+ description: Overview of upcoming Starknet features and upgrades.
+ columns: "4"
+ - size: large
color: blue-default
- title: "Starknet Edu "
- description: Educational developer resources for Starknet and Cairo.
- icon: /assets/starknet_edu.svg
+ variant: image_icon_link_card
+ orientation: left
+ withIllustration: true
+ title: Tools & Resources
+ icon: /assets/tools-resources.svg
+ type: image_icon_link_card
link:
+ custom_internal_link: /developers/tools-and-resources
custom_title: View
- custom_internal_link: /tutorials/starknet_edu
+ description: All the tools and resources you need to build on Starknet.
+ columns: "4"
+ - size: large
+ color: blue-default
+ variant: image_icon_link_card
+ orientation: left
withIllustration: true
- - type: community_events
+ title: Starknet Devs Newsletter
+ icon: /assets/devs-newsletter.svg
+ type: image_icon_link_card
+ link:
+ custom_internal_link: /subscribe-newsletter
+ custom_title: View
+ description: Sign up for Starknet Devs Newsletter and keep up to date on version
+ updates.
+ columns: "4"
+ - size: large
+ color: blue-default
+ variant: image_icon_link_card
+ orientation: left
+ withIllustration: true
+ title: Developers Blog
+ icon: /assets/developers-blog.svg
+ type: image_icon_link_card
+ link:
+ custom_title: View
+ custom_internal_link: /posts/developers
+ description: Top quality articles from the Starknet community.
+ columns: "4"
+ base: 1
+ md: 2
+ lg: 3
+ heading: Community and Insights
+ xl: 4
- type: flex_layout
heading_variant: h3
base: 1
diff --git a/public/assets/cairo-book.svg b/public/assets/cairo-book.svg
new file mode 100644
index 0000000000..d4fe765b8f
--- /dev/null
+++ b/public/assets/cairo-book.svg
@@ -0,0 +1,89 @@
+
diff --git a/public/assets/cairo-docs.svg b/public/assets/cairo-docs.svg
new file mode 100644
index 0000000000..2ff8bf993e
--- /dev/null
+++ b/public/assets/cairo-docs.svg
@@ -0,0 +1,14 @@
+
diff --git a/public/assets/developer-blog.svg b/public/assets/developer-blog.svg
new file mode 100644
index 0000000000..b563f7f1c4
--- /dev/null
+++ b/public/assets/developer-blog.svg
@@ -0,0 +1,3109 @@
+
diff --git a/public/assets/developers-blog.svg b/public/assets/developers-blog.svg
new file mode 100644
index 0000000000..1756a1a7c7
--- /dev/null
+++ b/public/assets/developers-blog.svg
@@ -0,0 +1,3109 @@
+
diff --git a/public/assets/devs-newsletter.svg b/public/assets/devs-newsletter.svg
new file mode 100644
index 0000000000..b0446a0701
--- /dev/null
+++ b/public/assets/devs-newsletter.svg
@@ -0,0 +1,56 @@
+
diff --git a/public/assets/read-book.svg b/public/assets/read-book.svg
new file mode 100644
index 0000000000..f8224e6eed
--- /dev/null
+++ b/public/assets/read-book.svg
@@ -0,0 +1,104 @@
+
diff --git a/public/assets/read-docs.svg b/public/assets/read-docs.svg
new file mode 100644
index 0000000000..244f54090a
--- /dev/null
+++ b/public/assets/read-docs.svg
@@ -0,0 +1,29 @@
+
diff --git a/public/assets/roadmap.svg b/public/assets/roadmap.svg
new file mode 100644
index 0000000000..1687742b3d
--- /dev/null
+++ b/public/assets/roadmap.svg
@@ -0,0 +1,46 @@
+
diff --git a/public/assets/starknet-basecamp.svg b/public/assets/starknet-basecamp.svg
new file mode 100644
index 0000000000..85e3b82376
--- /dev/null
+++ b/public/assets/starknet-basecamp.svg
@@ -0,0 +1,96 @@
+
diff --git a/public/assets/superior-ux.png b/public/assets/superior-ux.png
index cac35a5314..f9b4626cba 100644
Binary files a/public/assets/superior-ux.png and b/public/assets/superior-ux.png differ
diff --git a/public/assets/tools-resources.svg b/public/assets/tools-resources.svg
new file mode 100644
index 0000000000..9a78206c1f
--- /dev/null
+++ b/public/assets/tools-resources.svg
@@ -0,0 +1,46 @@
+
diff --git a/public/assets/tutorials-2.svg b/public/assets/tutorials-2.svg
new file mode 100644
index 0000000000..407ae97fa9
--- /dev/null
+++ b/public/assets/tutorials-2.svg
@@ -0,0 +1,46 @@
+
diff --git a/public/robots.txt b/public/robots.txt
index d80444785f..d2a3a753cf 100644
--- a/public/robots.txt
+++ b/public/robots.txt
@@ -9,3 +9,4 @@ Disallow: /ko/*
Disallow: /pt/*
Disallow: /*/subscribe-newsletter
Disallow: /subscribe-newsletter
+Disallow: /en/learn
diff --git a/workspaces/website/src/components/Card/components/ImageIconBox.tsx b/workspaces/website/src/components/Card/components/ImageIconBox.tsx
index dd76ff616c..722f3ffb1b 100644
--- a/workspaces/website/src/components/Card/components/ImageIconBox.tsx
+++ b/workspaces/website/src/components/Card/components/ImageIconBox.tsx
@@ -203,6 +203,7 @@ export const ImageIconBox = ({
height={size === "large" ? "292px" : "263px"}
overflow="hidden"
className="card-image"
+ width="calc(100% - 16px)"
_dark={{ background: variant === "dapp" && "linear-gradient(12.57deg, #2C292B -31.18%, #474D50 102.25%)"}}
>
{
+ if (archive_after === undefined) {
+ return null;
+ }
+
+ const currentDate = new Date();
+ const publishedDate = new Date(published_at);
+ const archivedDate = new Date(publishedDate.setMonth(publishedDate.getMonth() + archive_after));
+
+ return archivedDate <= currentDate;
};
function CustomHits() {
const { hits, showMore, isLastPage } = useInfiniteHits();
+ const activeHits = hits.filter(hit => !isArchived(hit.published_at, hit.archive_after!));
+
return (
<>
- {hits.map((hit, i) => (
+ {activeHits.map((hit, i) => (
))}
diff --git a/workspaces/website/src/pages/posts/PostByCategory.tsx b/workspaces/website/src/pages/posts/PostByCategory.tsx
index 878aa744c5..adfae4ce1d 100644
--- a/workspaces/website/src/pages/posts/PostByCategory.tsx
+++ b/workspaces/website/src/pages/posts/PostByCategory.tsx
@@ -93,6 +93,7 @@ export default function PostByCategory({
borderRadius={"8px"}
src={post.image}
alt={post.title}
+ width={"100%"}
/>
) : null}