Skip to content

Commit

Permalink
Add home pages for each version (#141)
Browse files Browse the repository at this point in the history
* Change file name

Will use versioned file names instead.

* Add version number to component

* Change link type and URL

* Add index pages for version

* Add component for version
  • Loading branch information
josh-wong authored Aug 8, 2024
1 parent 08aabf4 commit 596a03b
Show file tree
Hide file tree
Showing 29 changed files with 2,711 additions and 34 deletions.
2 changes: 1 addition & 1 deletion docs/index.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ScalarDB Community

import { CardRowAbout, CardRowGettingStarted, CardRowSamples, CardRowDevelop, CardRowDeploy, CardRowManage, CardRowReference } from '/src/components/Cards';
import { CardRowAbout, CardRowGettingStarted, CardRowSamples, CardRowDevelop, CardRowDeploy, CardRowManage, CardRowReference } from '/src/components/Cards/3.13';

ScalarDB is a cross-database HTAP engine. It achieves ACID transactions and real-time analytics across diverse databases to simplify the complexity of managing multiple databases.

Expand Down
28 changes: 14 additions & 14 deletions src/components/Cards/index.tsx → src/components/Cards/3.10.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const CardsAbout = [
// name: '',
// image: '<LINK_TO>.png',
url: {
page: 'overview/',
page: 'overview',
},
description: (
<Translate id="home.about.description">
Expand All @@ -29,7 +29,7 @@ const CardsAbout = [
// name: '',
// image: '<LINK_TO>.png',
url: {
page: 'scalardb-supported-databases/',
page: 'scalardb-supported-databases',
},
description: (
<Translate id="home.about.description">
Expand All @@ -44,7 +44,7 @@ const CardsGettingStarted = [
// name: '',
// image: '<LINK_TO>.png',
url: {
page: 'getting-started-with-scalardb/',
page: 'getting-started-with-scalardb',
},
description: (
<Translate id="home.gettingStarted.description">
Expand All @@ -56,7 +56,7 @@ const CardsGettingStarted = [
// name: '',
// image: '<LINK_TO>.png',
url: {
page: 'scalardb-analytics-postgresql/getting-started/',
page: 'scalardb-analytics-postgresql/getting-started',
},
description: (
<Translate id="home.gettingStarted.description">
Expand All @@ -71,23 +71,23 @@ const CardsSamples = [
// name: '',
// image: '<LINK_TO>.png',
url: {
page: 'scalardb-samples/scalardb-sample/',
page: 'scalardb-samples/multi-storage-transaction-sample',
},
description: (
<Translate id="home.samples.description">
Create a basic e-commerce sample application that uses ScalarDB
Create a sample application with multi-storage transaction support
</Translate>
),
},
{
// name: '',
// image: '<LINK_TO>.png',
url: {
page: 'scalardb-samples/multi-storage-transaction-sample/',
page: 'scalardb-samples/microservice-transaction-sample',
},
description: (
<Translate id="home.samples.description">
Create a sample application with multi-storage transaction support
Create a sample application that supports microservice transactions
</Translate>
),
},
Expand All @@ -98,7 +98,7 @@ const CardsDevelop = [
// name: '',
// image: '<LINK_TO>.png',
url: {
page: 'add-scalardb-to-your-build/',
page: 'add-scalardb-to-your-build',
},
description: (
<Translate id="home.develop.description">
Expand All @@ -110,7 +110,7 @@ const CardsDevelop = [
// name: '',
// image: '<LINK_TO>.png',
url: {
page: 'schema-loader/',
page: 'schema-loader',
},
description: (
<Translate id="home.develop.description">
Expand All @@ -125,7 +125,7 @@ const CardsDeploy = [
// name: '',
// image: '<LINK_TO>.png',
url: {
page: 'scalardb-analytics-postgresql/installation/',
page: 'scalardb-analytics-postgresql/installation',
},
description: (
<Translate id="home.deploy.description">
Expand All @@ -140,7 +140,7 @@ const CardsManage = [
// name: '',
// image: '<LINK_TO>.png',
url: {
page: 'backup-restore/',
page: 'backup-restore',
},
description: (
<Translate id="home.manage.description">
Expand All @@ -155,7 +155,7 @@ const CardsReference = [
// name: '',
// image: '<LINK_TO>.png',
url: {
page: 'scalardb-benchmarks/',
page: 'scalardb-benchmarks',
},
description: (
<Translate id="home.reference.description">
Expand All @@ -167,7 +167,7 @@ const CardsReference = [
// name: '',
// image: '<LINK_TO>.png',
url: {
page: 'storage-abstraction/',
page: 'storage-abstraction',
},
description: (
<Translate id="home.reference.description">
Expand Down
Loading

0 comments on commit 596a03b

Please sign in to comment.