diff --git a/components/Calendar.js b/components/Calendar.js index f6a4947339a..5f32de3c013 100644 --- a/components/Calendar.js +++ b/components/Calendar.js @@ -13,7 +13,7 @@ export default function Calendar({ className = '', size, text="text-left" }) { const eventsExist = eventsData.length > 0; return (
{t("calendar.title")} diff --git a/components/CaseStudyCard.js b/components/CaseStudyCard.js index 861a927ff55..3d1c7fbc89a 100644 --- a/components/CaseStudyCard.js +++ b/components/CaseStudyCard.js @@ -10,7 +10,7 @@ export default function CaseStudyCard({
{studies.map((study, index) => ( -
+
{study.company.name} - + { study.company.description }
diff --git a/components/DarkModeToggle.js b/components/DarkModeToggle.js new file mode 100644 index 00000000000..7589c3eed66 --- /dev/null +++ b/components/DarkModeToggle.js @@ -0,0 +1,23 @@ +import { useTheme } from 'next-themes'; +import Image from 'next/image'; +import { useState, useEffect } from 'react'; + +const DarkModeToggle = () => { + const { theme, setTheme } = useTheme(); + + const toggleDarkMode = () => { + setTheme(theme === 'dark' ? 'light' : 'dark'); + }; + + return ( + + ); +}; + +export default DarkModeToggle; diff --git a/components/FinancialSummary/AsyncAPISummary.js b/components/FinancialSummary/AsyncAPISummary.js index cb8638f9e87..a75c995d199 100644 --- a/components/FinancialSummary/AsyncAPISummary.js +++ b/components/FinancialSummary/AsyncAPISummary.js @@ -10,7 +10,7 @@ export default function AsyncAPISummary() { AsyncAPI Financial Summary - + To help improve the current state of Event-Driven Architectures and their tooling, you can show your support for the AsyncAPI Initiative by making a financial contribution. We offer three donation options: Open Collective, GitHub Sponsors, and Linux Foundation Crowdfunding. Our expenses are managed through Open Collective and GitHub Sponsors, @@ -31,7 +31,7 @@ export default function AsyncAPISummary() {
- + The easiest way to support AsyncAPI is by becoming a financial sponsor. While
there are alternative options, they may involve greater effort. Contribute
monetarily using the following channels.
diff --git a/components/FinancialSummary/BarChartComponent.js b/components/FinancialSummary/BarChartComponent.js index e4b0232dee2..b10103442ec 100644 --- a/components/FinancialSummary/BarChartComponent.js +++ b/components/FinancialSummary/BarChartComponent.js @@ -15,9 +15,9 @@ const CustomTooltip = ({ active, payload }) => { if (active && payload && payload.length) { const data = payload[0].payload; return ( -
+

{data.Category}

-

${data.Amount.toFixed(2)}

+

${data.Amount.toFixed(2)}

Click the bar to learn more

); @@ -46,7 +46,7 @@ const categories = getUniqueCategories(); const Card = ({ month, data, links }) => { return ( -
+
{month}
{data.map((item, index) => ( diff --git a/components/FinancialSummary/ContactUs.js b/components/FinancialSummary/ContactUs.js index 06631c258a8..c8e28f8e3a2 100644 --- a/components/FinancialSummary/ContactUs.js +++ b/components/FinancialSummary/ContactUs.js @@ -12,7 +12,7 @@ export default function ContactUs() { Interested in getting in touch? Feel free to contact us if you need more explanation. We are happy to hop on a call and help with - onboarding to the project as a sponsor. Write email to info@asyncapi.io + onboarding to the project as a sponsor. Write email to info@asyncapi.io
diff --git a/components/FinancialSummary/ExpenseBreakdown.js b/components/FinancialSummary/ExpenseBreakdown.js index f91a3083bc4..ab50b8b082b 100644 --- a/components/FinancialSummary/ExpenseBreakdown.js +++ b/components/FinancialSummary/ExpenseBreakdown.js @@ -3,14 +3,14 @@ import Paragraph from '../typography/Paragraph' export default function ExpenseBreakdown() { return ( -
+
Expense Breakdown - + Funds from GitHub Sponsors are directly transferred to our AsyncAPI Open Collective account. We maintain transparency in all expenses, and the TSC approves anticipated expenses. @@ -18,63 +18,63 @@ export default function ExpenseBreakdown() {
-
+
Mentorship Program -

Mentorship Program

+

Mentorship Program

-

Our AsyncAPI Mentorship program offers paid guidance to develop valuable features, investing in tools and motivated individuals for community benefit.

+

Our AsyncAPI Mentorship program offers paid guidance to develop valuable features, investing in tools and motivated individuals for community benefit.

-
+
Bounty Program -

Bounty Program

+

Bounty Program

-

Rewarding contributors regardless of affiliation or volunteer status. Free mentoring and support for newcomers to build portfolios and unlock tech prospects.

+

Rewarding contributors regardless of affiliation or volunteer status. Free mentoring and support for newcomers to build portfolios and unlock tech prospects.

-
+
Events -

Events

+

Events

-

Supporting AsyncAPI conferences incurs costs for services and travel arrangements. Your contributions facilitate event hosting and community growth.

+

Supporting AsyncAPI conferences incurs costs for services and travel arrangements. Your contributions facilitate event hosting and community growth.

-
+
Swag Store -

Swag Store

+

Swag Store

-

Creating a swag store for seamless distribution to contributors, mentees, ambassadors, and community members. Store profits can fund complimentary swag expenses.

+

Creating a swag store for seamless distribution to contributors, mentees, ambassadors, and community members. Store profits can fund complimentary swag expenses.

-
+ -
+
Services -

Services

+

Services

-

Occasionally, we must pay for services such as Zoom or Descript, as they are not available through specific Open Source support programs.

+

Occasionally, we must pay for services such as Zoom or Descript, as they are not available through specific Open Source support programs.

diff --git a/components/FinancialSummary/OtherFormsComponent.js b/components/FinancialSummary/OtherFormsComponent.js index fb1e31bdb38..01db7bb5831 100644 --- a/components/FinancialSummary/OtherFormsComponent.js +++ b/components/FinancialSummary/OtherFormsComponent.js @@ -3,38 +3,38 @@ import Paragraph from '../typography/Paragraph' export default function OtherFormsComponent() { return ( -
+
Other Forms Of Financial Support - + You can also support AsyncAPI initiative by getting

involved through employment, providing services and

organizing events
-
+
Employee involvement

Employee involvement

-

+

Assign your employees to contribute to projects under the AsyncAPI Initiative on a regular basis, and we'll welcome them as new maintainers.

-
+
Service provision

Service provision

-

+

AsyncAPI Initiative relies on numerous tools, many of which incur costs. Your organization can provide services such as hosting or storage to support our efforts.

-
+
Event organization

Event organization

-

+

Host AsyncAPI conferences by sponsoring and organizing events under the AsyncAPI brand at your provided venue.

diff --git a/components/FinancialSummary/SponsorshipTiers.js b/components/FinancialSummary/SponsorshipTiers.js index 804e38bd11d..42772fea468 100644 --- a/components/FinancialSummary/SponsorshipTiers.js +++ b/components/FinancialSummary/SponsorshipTiers.js @@ -3,14 +3,14 @@ import Paragraph from '../typography/Paragraph' export default function SponsorshipTiers() { return ( -
+
Sponsorship Tiers - + AsyncAPI offers various sponsorship tiers, each with its own set
of benefits and privileges. These tiers include Bronze, Silver,
Gold, and Platinum. @@ -30,30 +30,30 @@ export default function SponsorshipTiers() { - Bronze - $100/month - + Bronze + $100/month + Company logo in README on GitHub - Silver - $500/month - + Silver + $500/month + Company logo in README on GitHub and asyncapi.com - Gold - $1000/month - + Gold + $1000/month + Company logo in README on GitHub and asyncapi.com - Platinum - $2000/month - + Platinum + $2000/month + Company logo in README on GitHub and asyncapi.com. Up to 2 hours of support per month. Support will be remote with the option of a shared screen or via private chat. diff --git a/components/FinancialSummary/SuccessStories.js b/components/FinancialSummary/SuccessStories.js index c2728f00e40..9cfdb3c2a90 100644 --- a/components/FinancialSummary/SuccessStories.js +++ b/components/FinancialSummary/SuccessStories.js @@ -2,14 +2,14 @@ import TextLink from '../typography/TextLink' export default function SuccessStories() { return ( -
+

Success Stories

-

+

Thanks to financial support we can already see many
success stories in the project.

@@ -17,7 +17,7 @@ export default function SuccessStories() {

Community Manager

-

+

With the addition of a dedicated Community Manager, we now have a monthly newsletter, regular status updates, an active social media presence, and the ability to drive initiatives such as event organization. Dedicated focus enables us to also focus on a year to year vision. @@ -25,7 +25,7 @@ export default function SuccessStories() {

AsyncAPI Mentorship

-

+

The 2022 mentorship program yielded significant achievements: Kafka support in Glee, a centralized platform for sharing AsyncAPI tools, and a versatile error handling library for multiple projects. @@ -33,7 +33,7 @@ export default function SuccessStories() {

AsyncAPI Conference

-

+

Every year we organize a conference that attracts many participants. In 2022 the online conference generated 3k views. In 2023 we organized four different in person events, some that was also live streamed.

diff --git a/components/MDX.js b/components/MDX.js index 9f6182efb4c..cc2d2442f48 100644 --- a/components/MDX.js +++ b/components/MDX.js @@ -34,16 +34,16 @@ export function MDXProvider({ children }) { export function getMDXComponents() { return { - h1: props =>

, - h2: props =>

, - h3: props =>

, - h4: props =>

, - h5: props =>

, - h6: props =>
, + h1: props =>

, + h2: props =>

, + h3: props =>

, + h4: props =>

, + h5: props =>

, + h6: props =>
, blockquote: props =>
, - p: props =>

, - strong: props => , - a: props => , + p: props =>

, + strong: props => , + a: props => , ul: props =>