Skip to content

Commit

Permalink
Updates for 2024 (#3582)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoacierno authored Nov 20, 2023
1 parent f5636bf commit 2706961
Show file tree
Hide file tree
Showing 6 changed files with 80 additions and 114 deletions.
4 changes: 0 additions & 4 deletions frontend/src/components/blocks/news-grid-section/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,13 @@ export const NewsGridSection = () => {
});

const posts = data.newsArticles;
const blogPosts = data.blogPosts;

return (
<Section>
<Grid cols={3}>
{posts.map((post) => (
<BlogPost key={post.id} post={post} language={language} />
))}
{blogPosts.map((post) => (
<BlogPost key={post.id} post={post} language={language} />
))}
</Grid>
</Section>
);
Expand Down
11 changes: 0 additions & 11 deletions frontend/src/components/blocks/news-grid-section/query.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,4 @@ query NewsGridSection($code: String!, $language: String!) {
title
publishedAt
}

blogPosts {
id
slug
title(language: $language)
excerpt(language: $language)
author {
fullName
}
published
}
}
20 changes: 10 additions & 10 deletions frontend/src/components/header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export const Header = () => {
);

const actions: Action[] = [
isRunning && hasSomethingLive
/*isRunning && hasSomethingLive
? {
text: getTranslatedMessage("header.streaming", language),
icon: "live-circle",
Expand All @@ -58,15 +58,15 @@ export const Header = () => {
text: getTranslatedMessage("header.tickets", language),
icon: "tickets",
link: "/tickets",
},
// {
// text:
// isReady && loggedIn
// ? getTranslatedMessage("header.dashboard", language)
// : getTranslatedMessage("header.login", language),
// icon: "user",
// link: isReady && loggedIn ? "/profile" : "/login",
// },
},*/
{
text:
isReady && loggedIn
? getTranslatedMessage("header.dashboard", language)
: getTranslatedMessage("header.login", language),
icon: "user",
link: isReady && loggedIn ? "/profile" : "/login",
},
];

const conferenceMenu =
Expand Down
Loading

1 comment on commit 2706961

@vercel
Copy link

@vercel vercel bot commented on 2706961 Nov 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

pycon – ./frontend/

pycon-python-italia.vercel.app
pycon-git-main-python-italia.vercel.app
2024.pycon.it
pycon.it
www.pycon.it

Please sign in to comment.