Skip to content

Commit

Permalink
Merge branch 'master' into august-summary
Browse files Browse the repository at this point in the history
  • Loading branch information
thulieblack authored Sep 4, 2023
2 parents d57f4fb + 7de4a95 commit 21d2558
Show file tree
Hide file tree
Showing 14 changed files with 373 additions and 76 deletions.
8 changes: 6 additions & 2 deletions components/buttons/GithubButton.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
import Button from './Button'
import IconGithub from '../icons/Github'
import { useTranslation } from '../../lib/i18n'

export default function GithubButton({
text = 'View on Github',
text = 'githubButton',
href = 'https://github.com/asyncapi',
target = '_blank',
iconPosition = 'left',
className,
inNav = "false"
}) {

const { t } = useTranslation("common");

return (
<Button
text={text}
text={t(text)}
icon={<IconGithub className="inline-block -mt-1 w-6 h-6" />}
href={href}
iconPosition={iconPosition}
Expand Down
6 changes: 5 additions & 1 deletion components/sponsors/SilverSponsorsList.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ export const Silversponsors = [
name: 'Bump.sh',
url: 'https://bump.sh/asyncapi?utm_source=asyncapi&utm_medium=referral&utm_campaign=sponsor',
image: '/img/sponsors/bumpsh.svg'
},
}, {
name: 'Svix',
url: 'https://www.svix.com/',
image: '/img/sponsors/svix_logo.svg'
}

];
7 changes: 0 additions & 7 deletions components/sponsors/SponsorsList.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,6 @@ export const sponsors = [
altText: 'IBM',
imageClass: 'inline-block px-4 sm:h-14',
},
{
name: 'IQVIA Technologies',
link: 'https://www.iqvia.com',
imageSrc: '/img/sponsors/iqvia.png',
altText: 'IQVIA Technologies',
imageClass: 'inline-block px-4 sm:h-10',
},
{
name: 'Postman',
link: 'https://www.postman.com',
Expand Down
14 changes: 7 additions & 7 deletions config/meetings.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
[
{
"title": "Spec 3.0 Meeting",
"calLink": "https://www.google.com/calendar/event?eid=a3JnNnJibDAzNW9ja3ZnMXZ0OGJtcjBqMWMgY19xOXRzZWlnbG9tZHNqNm5qdWh2YnB0czExY0Bn",
"url": "https://github.com/asyncapi/community/issues/714",
"banner": "",
"date": "2023-05-24T16:00:00.000Z"
},
{
"title": "Community Meeting",
"calLink": "https://www.google.com/calendar/event?eid=NG5pMWJpajA2ODhjczhiY2doNjRudnVybzQgY19xOXRzZWlnbG9tZHNqNm5qdWh2YnB0czExY0Bn",
Expand Down Expand Up @@ -222,5 +215,12 @@
"url": "https://github.com/asyncapi/community/issues/862",
"banner": "",
"date": "2023-09-06T09:00:00.000Z"
},
{
"title": "Generator and new parser discussion",
"calLink": "https://www.google.com/calendar/event?eid=bnI2ZHBsa2ZxMDM3bmw5anFtY21pbjF0amMgY19xOXRzZWlnbG9tZHNqNm5qdWh2YnB0czExY0Bn",
"url": "https://github.com/asyncapi/community/issues/865",
"banner": "",
"date": "2023-09-06T15:00:00.000Z"
}
]
2 changes: 1 addition & 1 deletion cypress/test/buttons/GithubButton.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import GithubButton from '../../../components/buttons/GithubButton'
describe('GithubButton', () => {
it('renders correctly with default props', () => {
mount(<GithubButton />);
cy.contains('View on Github').should('be.visible');
cy.contains('githubButton').should('be.visible');
cy.get('[ data-testid="Button-link"]').should('have.attr', 'href', 'https://github.com/asyncapi');
cy.get('[ data-testid="Button-link"]').should('have.attr', 'target', '_blank');
});
Expand Down
115 changes: 58 additions & 57 deletions dashboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,27 +52,7 @@
"resourcePath": "/asyncapi/website/pull/2038",
"repo": "asyncapi/website",
"labels": [],
"score": 20.67657038994663
},
{
"id": "I_kwDOBW5R_c5J6qNe",
"isPR": false,
"isAssigned": false,
"title": "Measuring AsyncAPI spec adoption",
"author": "derberg",
"resourcePath": "/asyncapi/website/issues/780",
"repo": "asyncapi/website",
"labels": [
{
"name": "enhancement",
"color": "84b6eb"
},
{
"name": "stale",
"color": "ededed"
}
],
"score": 19.240697446200336
"score": 20.96374497869589
},
{
"id": "I_kwDOBW5R_c5BIl5P",
Expand Down Expand Up @@ -112,6 +92,26 @@
"color": "7B5DB8"
}
],
"score": 17.230475324955524
},
{
"id": "PR_kwDOBW5R_c5YEren",
"isPR": true,
"isAssigned": true,
"title": "docs: introducing request/reply ",
"author": "jonaslagoni",
"resourcePath": "/asyncapi/website/pull/2071",
"repo": "asyncapi/website",
"labels": [
{
"name": "📑 docs",
"color": "E50E99"
},
{
"name": "area/docs",
"color": "e50e99"
}
],
"score": 16.943300736206268
},
{
Expand All @@ -123,7 +123,7 @@
"resourcePath": "/asyncapi/community/pull/805",
"repo": "asyncapi/community",
"labels": [],
"score": 16.65612614745701
"score": 16.943300736206268
},
{
"id": "I_kwDOCVQpZM5M_dcV",
Expand Down Expand Up @@ -156,26 +156,6 @@
],
"score": 15.64084401961705
},
{
"id": "PR_kwDOBW5R_c5YEren",
"isPR": true,
"isAssigned": true,
"title": "docs: introducing request/reply ",
"author": "jonaslagoni",
"resourcePath": "/asyncapi/website/pull/2071",
"repo": "asyncapi/website",
"labels": [
{
"name": "📑 docs",
"color": "E50E99"
},
{
"name": "area/docs",
"color": "e50e99"
}
],
"score": 15.220253203710714
},
{
"id": "PR_kwDOBW5R_c5Worbr",
"isPR": true,
Expand All @@ -186,9 +166,40 @@
"repo": "asyncapi/website",
"labels": [],
"score": 15.220253203710714
},
{
"id": "PR_kwDODyzcIc5NDHYS",
"isPR": true,
"isAssigned": false,
"title": "ci: new github action which logs all the reactions in prs and issues",
"author": "14Richa",
"resourcePath": "/asyncapi/.github/pull/220",
"repo": "asyncapi/.github",
"labels": [
{
"name": "stale",
"color": "ededed"
}
],
"score": 15.220253203710714
}
],
"goodFirstIssues": [
{
"id": "I_kwDOBW5R_c5v5kNY",
"title": "Add logo of new silver sponsor and remove old platinum",
"isAssigned": false,
"resourcePath": "/asyncapi/website/issues/2109",
"repo": "asyncapi/website",
"author": "derberg",
"area": "Unknown",
"labels": [
{
"name": "enhancement",
"color": "84b6eb"
}
]
},
{
"id": "I_kwDOBGu-185vky8A",
"title": "Add logo of new silver sponsor and remove old platinum",
Expand Down Expand Up @@ -435,7 +446,7 @@
},
{
"id": "I_kwDOBW5R_c5qCX8o",
"title": "[📑 Docs]: Adapt Servers tutorial for v3",
"title": "[📑 Docs]: Adapt Server Security tutorial for v3",
"isAssigned": true,
"resourcePath": "/asyncapi/website/issues/1860",
"repo": "asyncapi/website",
Expand Down Expand Up @@ -530,13 +541,8 @@
"resourcePath": "/asyncapi/website/issues/1854",
"repo": "asyncapi/website",
"author": "jonaslagoni",
"area": "docs",
"labels": [
{
"name": "📑 docs",
"color": "E50E99"
}
]
"area": "Unknown",
"labels": []
},
{
"id": "I_kwDOBW5R_c5qCC_7",
Expand All @@ -545,13 +551,8 @@
"resourcePath": "/asyncapi/website/issues/1853",
"repo": "asyncapi/website",
"author": "jonaslagoni",
"area": "docs",
"labels": [
{
"name": "📑 docs",
"color": "E50E99"
}
]
"area": "Unknown",
"labels": []
},
{
"id": "I_kwDOFLhIt85o9dDJ",
Expand Down
1 change: 1 addition & 0 deletions locales/de/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"googleCalendarBtn": "Zu Google Kalender hinzufügen",
"subscribeBtn": "Abonnieren",
"icsFileBtn": "ICS-Datei herunterladen",
"githubButton": "Ansicht auf Github",
"calendar": {
"title": "Kommende Veranstaltungen",
"viewCalendarBtn": "Kalender ansehen",
Expand Down
25 changes: 25 additions & 0 deletions locales/de/tools.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"cli": {
"title": "Interagieren Sie mit der AsyncAPI bequem von Ihrer CLI aus",
"description": "Interagieren Sie mit der AsyncAPI bequem von Ihrer CLI aus",
"installationTitle": "Installation und Verwendung",
"installationDescription": "Verwenden Sie AsyncAPI CLI innerhalb von Sekunden, indem Sie einen unserer Befehle auswählen, um loszulegen.",
"docsButton": "Docs anzeigen",
"installingTitle": "Installation von",
"exampleTitle": "Beispiel",
"exampleDescription": "Erstellen Sie eine neue AsyncAPI-Datei",
"featuresTitle": "Eigenschaften",
"featuresDescription": "Verwenden Sie das AsyncAPI-CLI-Tool, um Ihre AsyncAPI-Dateien zu erstellen, zu entwickeln und zu pflegen.",
"features": {
"new-files.name": "Neue Dateien",
"new-files.description": "Verwenden Sie das CLI-Tool, um schnell neue AsyncAPI-Dateien zu erstellen. Wählen Sie aus einer Reihe von Vorlagen (MQTT, WebSockets, Kafka und mehr).",
"validate.name": "Validieren Sie",
"validate.description": "Validieren Sie Ihre AsyncAPI-Dokumente mit der CLI. Erhalten Sie schnelles Feedback, um zu überprüfen, ob Ihr AsyncAPI-Dokument das richtige Format hat.",
"open-studio.name": "Offenes Atelier",
"open-studio.description_pretext": "Haben Sie eine lokale AsyncAPI-Datei? Führen Sie aus.",
"open-studio.description_posttext": "um unser Studio in Sekundenschnelle zu öffnen",
"open-source.name": "Offene Quelle",
"open-source.description": "Alle unsere Tools sind quelloffen. Sie können gerne neue Befehle beisteuern oder bei der Weiterentwicklung der bestehenden helfen."
}
}
}
1 change: 1 addition & 0 deletions locales/en/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"googleCalendarBtn": "Add to Google Calendar",
"subscribeBtn": "Subscribe",
"icsFileBtn": "Download ICS File",
"githubButton": "View on Github",
"calendar": {
"title": "Upcoming events",
"viewCalendarBtn": "View Calendar",
Expand Down
25 changes: 25 additions & 0 deletions locales/en/tools.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"cli": {
"title": "Interact with AsyncAPI from the comfort of your CLI",
"description": "Create, validate, and explore your AsyncAPI files with our CLI tool.",
"installationTitle": "Installation & Usage",
"installationDescription": "Start using AsyncAPI CLI within seconds by selecting one of our commands to get started.",
"docsButton": "View Docs",
"installingTitle": "Installing",
"exampleTitle": "Example",
"exampleDescription": "Create a new AsyncAPI file",
"featuresTitle": "Features",
"featuresDescription": "Use the AsyncAPI CLI tool to help you create, develop, and maintain your AsyncAPI files.",
"features": {
"new-files.name": "New files",
"new-files.description": "Use the CLI tool to quickly create new AsyncAPI files. Select from a range of templates (MQTT, WebSockets, Kafka, and more.)",
"validate.name": "Validate",
"validate.description": "Validate your AsyncAPI documents with the CLI. Quickly get feedback to verify your AsyncAPI document is within the correct format.",
"open-studio.name": "Open Studio",
"open-studio.description_pretext": "Got an AsyncAPI file locally? Run",
"open-studio.description_posttext": "to open our studio in seconds.",
"open-source.name": "Open Source",
"open-source.description": "All our tools are open source, feel free to contribute new commands or help evolve our existing ones."
}
}
}
2 changes: 1 addition & 1 deletion next-i18next-static-site.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module.exports = {
i18n: {
languages: ["en", "de"],
defaultLanguage: "en",
namespaces: ["landing-page", "common"],
namespaces: ["landing-page", "common", "tools"],
defaultNamespace: "landing-page",
},
};
Loading

0 comments on commit 21d2558

Please sign in to comment.