Skip to content

Commit

Permalink
fix: event page update (#1449)
Browse files Browse the repository at this point in the history
  • Loading branch information
AceTheCreator authored Mar 26, 2023
1 parent 093e4d0 commit f1b6515
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions components/navigation/communityItems.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ export default [
{ icon: IconSlack, title: 'Slack Workspace', href: 'https://asyncapi.com/slack-invite', target: '_blank', description: `Need help? Want to share something? Join our Slack workspace. We're nice people :)` },
{ icon: IconContributing, title: 'Contributing', href: 'https://github.com/asyncapi?type=source#-contribute-to-asyncapi', target: '_blank', description: `We are always welcoming and looking for contributions. If you are interested check out our contribution guide.` },
{ icon: IconTSC, title: 'Technical Steering Committee', href: '/community/tsc', description: 'Get to know what is a TSC member, how you can become one, and meet our current TSC members.' },
{ icon: Ambassador, title: 'Ambassadors', href: '/community/ambassadors', description: 'Passionate about APIs? Become an AsyncAPI Ambassador and help shape the future of APIs.' },
{ icon: Ambassador, title: 'Ambassadors', href: '/community/ambassadors', description: 'Passionate about APIs? Become an AsyncAPI Ambassador and help shape the future of APIs.' },
{ icon: IconDashboard, title: 'Dashboard',href: '/community/dashboard', description: `Just need a good first issue to start your contribution journey? or want to see what topics are hot in discussion?`},
{ icon: IconMeetings, title: 'Meetings', href: '/community/events', description: 'See what meetings are organized under AsyncAPI umbrella and join one of them.' },
{ icon: IconMeetings, title: 'Events', href: '/community/events', description: 'See what events and meetings are organized under AsyncAPI umbrella and join one of them.' },
{ icon: IconNewsroom, title: 'Newsroom', href: '/community/newsroom', description: 'Get upto date with the recent activity in the initiative.' },
]
2 changes: 1 addition & 1 deletion pages/community/events/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function index() {

if (i1.featured && !i2.featured) return -1;
if (!i1.featured && i2.featured) return 1;
return i2Date - i1Date;
return i1Date - i2Date;
})
: meetings
);
Expand Down
8 changes: 4 additions & 4 deletions pages/community/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,12 +115,12 @@ function CommunityIndexPage() {
return (
<li
key={index}
className="bg-white w-full p-2 md:p-4 rounded-l-md"
className="bg-white w-full mt-2 p-2 md:p-10 rounded-l-md"
>
<a href={event.url} className="flex">
<div className="flex justify-center flex-col w-24 md:w-40 bg-pink-400 p-1 md:p-4 rounded-md text-xs md:text-sm font-semibold text-white">
<span className="text-center">
{event.title.split(' ')[0]}
<div className="inline-flex flex-row h-12 min-w-12 rounded-full bg-pink-500 text-white font-bold">
<span className="flex-1 text-center self-center">
{event.date.format('D')}
</span>
</div>
<div className="ml-4 text-left">
Expand Down

0 comments on commit f1b6515

Please sign in to comment.