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

fix: update preview image path for community pages #1495

Merged
merged 2 commits into from
Apr 10, 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
2 changes: 1 addition & 1 deletion pages/community/ambassadors/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function addAdditionalUserInfo(user) {
}

function Index() {
const image = '/img/social/website-card.png';
const image = '/img/social/community-ambassadors.webp';
const asyncapiAmbassadors = sortBy(
ambassadors.map((user) => addAdditionalUserInfo(user)),
['name']
Expand Down
2 changes: 1 addition & 1 deletion pages/community/events/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import Paragraph from '../../../components/typography/Paragraph';
import { getEvents } from '../../../lib/staticHelpers';

function index() {
const image = '/img/social/website-card.png';
const image = '/img/social/community-events.webp';
const [events, setEvents] = useState(getEvents(meetings));

return (
Expand Down
2 changes: 1 addition & 1 deletion pages/community/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import HomeCards from '../../components/community/HomeCard';
import Card from '../../components/community/Card';

function CommunityIndexPage() {
const image = '/img/social/website-card.png';
const image = '/img/social/community.webp';
return (
<GenericLayout
title="AsyncAPI Community Meetings"
Expand Down
4 changes: 2 additions & 2 deletions pages/community/newsroom.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import NewsroomSection from "../../components/newsroom/Newsroom"
function Newsroom() {
const description =
"Learn about what's happening in AsyncAPI.";
const image = "/img/social/meetings.png";
const image = "/img/social/community-newsroom.webp";
return (
<GenericLayout
title="AsyncAPI Newsroom"
Expand All @@ -21,4 +21,4 @@ function Newsroom() {
)
}

export default Newsroom
export default Newsroom
2 changes: 1 addition & 1 deletion pages/community/tsc.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function addAdditionalUserInfo(user) {
export default function TSC() {
const description =
"Meet the current AsyncAPI TSC members and learn how you can become one.";
const image = "/img/social/website-card.jpg";
const image = "/img/social/community-tsc.webp";

const tscMembers = sortBy(TSCMembersList.map((user) => addAdditionalUserInfo(user)),['name']);

Expand Down
Binary file added public/img/social/community-ambasaadors.webp
Binary file not shown.
Binary file added public/img/social/community-events.webp
Binary file not shown.
Binary file added public/img/social/community-newsroom.webp
Binary file not shown.
Binary file added public/img/social/community-tsc.webp
Binary file not shown.
Binary file added public/img/social/community.webp
Binary file not shown.