diff --git a/downstream.js b/downstream.js index 985b4b2..8f492e2 100755 --- a/downstream.js +++ b/downstream.js @@ -12,17 +12,11 @@ const downstreamName = 'Connectivity Link'; const upstreamDocumentation = 'https://docs.kuadrant.io'; const upstreamReleaseNotes = 'https://github.com/Kuadrant/kuadrant-operator/releases'; -const upstreamQuickStarts = - 'https://docs.kuadrant.io/latest/kuadrant-operator/doc/user-guides/secure-protect-connect/'; -const upstreamHighlights = 'https://kuadrant.io/blog/'; const downstreamDocumentation = 'https://docs.redhat.com/en/documentation/red_hat_connectivity_link/1.0'; const downstreamReleaseNotes = - 'https://docs.kuadrant.io/html-single/release_notes_for_connectivity_link_1.0/index'; -const downstreamQuickStarts = - 'https://docs.redhat.com/latest/red-hat-connectivity-link/doc/user-guides/secure-protect-connect/'; // Example -const downstreamHighlights = 'https://connectivity-link.io/blog/'; // Example + 'https://docs.redhat.com/html-single/release_notes_for_connectivity_link_1.0/index'; const isUpstream = process.argv.includes('--upstream'); @@ -32,10 +26,6 @@ const docsLinkToReplace = isUpstream ? downstreamDocumentation : upstreamDocumen const docsLinkToInsert = isUpstream ? upstreamDocumentation : downstreamDocumentation; const releaseNotesToReplace = isUpstream ? downstreamReleaseNotes : upstreamReleaseNotes; const releaseNotesToInsert = isUpstream ? upstreamReleaseNotes : downstreamReleaseNotes; -const quickStartsToReplace = isUpstream ? downstreamQuickStarts : upstreamQuickStarts; -const quickStartsToInsert = isUpstream ? upstreamQuickStarts : downstreamQuickStarts; -const highlightsToReplace = isUpstream ? downstreamHighlights : upstreamHighlights; -const highlightsToInsert = isUpstream ? upstreamHighlights : downstreamHighlights; function updateJsonValues(filePath, searchValue, replaceValue) { try { @@ -90,8 +80,6 @@ console.log(`Updating constants.links.ts to ${isUpstream ? 'upstream' : 'downstr updateFileContent(constantsPath, [ { searchValue: docsLinkToReplace, replaceValue: docsLinkToInsert }, { searchValue: releaseNotesToReplace, replaceValue: releaseNotesToInsert }, - { searchValue: quickStartsToReplace, replaceValue: quickStartsToInsert }, - { searchValue: highlightsToReplace, replaceValue: highlightsToInsert }, ]); console.log('Update complete!'); diff --git a/src/components/KuadrantOverviewPage.tsx b/src/components/KuadrantOverviewPage.tsx index 2e9c669..6079795 100644 --- a/src/components/KuadrantOverviewPage.tsx +++ b/src/components/KuadrantOverviewPage.tsx @@ -228,15 +228,6 @@ const KuadrantOverviewPage: React.FC = () => { {t('View Documentation')} - - - {t('View all quick starts')} - - @@ -250,17 +241,6 @@ const KuadrantOverviewPage: React.FC = () => { )} - - - {t('Kuadrant')} {t('highlights')}   - - - { - - - {t('Visit the blog')} - -