Skip to content

Commit 3343e4a

Browse files
authored
change twitter old icon in footer with X icon, add padding to sharing button in relatedTopic.js, update community link (#168)
1 parent 213dd71 commit 3343e4a

File tree

4 files changed

+84
-80
lines changed

4 files changed

+84
-80
lines changed

src/components/footer.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
44
faDev,
55
faGithub,
66
faLinkedin,
7-
faTwitter,
7+
faSquareXTwitter,
88
faYoutube,
99
} from "@fortawesome/free-brands-svg-icons"
1010
import { Container, Row, Col } from "react-bootstrap"
@@ -254,7 +254,11 @@ const Footer = () => (
254254
rel="noopener noreferrer"
255255
aria-label="Twitter"
256256
>
257-
<FontAwesomeIcon icon={faTwitter} size="1x" className="ma2" />
257+
<FontAwesomeIcon
258+
icon={faSquareXTwitter}
259+
size="1x"
260+
className="ma2"
261+
/>
258262
</a>
259263
<a
260264
href="https://www.youtube.com/SolaceSystems"

src/components/relatedTopics.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {
99
LinkedinShareButton,
1010
FacebookIcon,
1111
LinkedinIcon,
12-
XIcon
12+
XIcon,
1313
} from "react-share"
1414

1515
const RelatedTopics = (props) => {
@@ -72,7 +72,7 @@ const RelatedTopics = (props) => {
7272
</Button>{" "}
7373
<Button
7474
className="mt1 mb3 w-100"
75-
href="https://solace.community/"
75+
href="https://community.solace.com/"
7676
target="_blank"
7777
rel="noreferrer"
7878
variant="primary"
@@ -92,7 +92,7 @@ const RelatedTopics = (props) => {
9292
<XIcon size={32} round={true} />
9393
</TwitterShareButton>
9494
<LinkedinShareButton
95-
className="pr-1 pl-1"
95+
className="pr-1 pl-1 px-2"
9696
url={link}
9797
summary={social_string}
9898
>

src/pages/tutorials/openmama/hello-world.md

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,26 @@ title: Solace Hello World
44
summary: This tutorial demonstrates basic publishing using OpenMAMA with Solace messaging.
55
icon: I_Solace.svg
66
links:
7-
- label: mama.properties
8-
link: /blob/master/src/helloworld/mama.properties
9-
- label: topicPublishOne.c
10-
link: /blob/master/src/helloworld/topicPublishOne.c
11-
- label: feedback
12-
link: https://github.com/SolaceDev/solace-dev-tutorials/blob/master/src/pages/tutorials/openmama/hello-world.md
7+
- label: mama.properties
8+
link: /blob/master/src/helloworld/mama.properties
9+
- label: topicPublishOne.c
10+
link: /blob/master/src/helloworld/topicPublishOne.c
11+
- label: feedback
12+
link: https://github.com/SolaceDev/solace-dev-tutorials/blob/master/src/pages/tutorials/openmama/hello-world.md
1313
---
1414

1515
## Assumptions
1616

1717
This tutorial assumes the following:
1818

19-
* You are familiar with OpenMAMA [core concepts](https://docs.solace.com/Solace-OpenMama/Solace-OpenMAMA-Overview.htm).
20-
* If not, see [this guide](https://openmama.finos.org/quickstart).
21-
* You are familiar with Solace [core concepts](https://docs.solace.com/PubSub-Basics/Core-Concepts.htm).
22-
* You have access to a properly installed OpenMAMA [release](https://github.com/OpenMAMA/OpenMAMA/releases).
23-
* Solace middleware bridge with its dependencies is also installed
24-
* You have access to Solace messaging with the following configuration details:
25-
* Connectivity information for a Solace message-VPN
26-
* Enabled client username and password
19+
- You are familiar with OpenMAMA [core concepts](https://docs.solace.com/Solace-OpenMama/Solace-OpenMAMA-Overview.htm).
20+
- If not, see [this guide](https://openmama.finos.org/quickstart).
21+
- You are familiar with Solace [core concepts](https://docs.solace.com/PubSub-Basics/Core-Concepts.htm).
22+
- You have access to a properly installed OpenMAMA [release](https://github.com/OpenMAMA/OpenMAMA/releases).
23+
- Solace middleware bridge with its dependencies is also installed
24+
- You have access to Solace messaging with the following configuration details:
25+
- Connectivity information for a Solace message-VPN
26+
- Enabled client username and password
2727

2828
One simple way to get access to Solace messaging quickly is to create a messaging service in Solace Cloud [as outlined here](https://solace.com/products/platform/cloud/). You can find other ways to get access to Solace messaging below.
2929

@@ -58,8 +58,8 @@ The program will consist of two major parts:
5858

5959
Any OpenMAMA program begins with initialization that consists of loading a bridge and opening it, in this particular order:
6060

61-
* load
62-
* open
61+
- load
62+
- open
6363

6464
This is how it is done.
6565

@@ -154,8 +154,8 @@ In order to publish a message we need to do the following **in this particular o
154154
155155
Creating of transport includes two steps in this particular order:
156156
157-
* allocate
158-
* create
157+
- allocate
158+
- create
159159
160160
```c
161161
mamaTransport transport = NULL;
@@ -230,11 +230,11 @@ mama.solace.transport.vmr.allow_recover_gaps=false
230230

231231
Notice how `solace` and `vmr` property token names are the same as in `mama_loadBridge(&bridge, "solace")` and `mamaTransport_create(transport, "vmr", bridge)` calls.
232232

233-
* `mama.solace.transport.vmr.session_host` is `Host` and usually has a value of the host address of your **Solace messaging**.
234-
* `mama.solace.transport.vmr.session_username` is `Client Username`
235-
* `mama.solace.transport.vmr.session_password` is optional `Client Password`
236-
* `mama.solace.transport.vmr.session_vpn_name` is `Message VPN`
237-
* `mama.solace.transport.vmr.allow_recover_gaps` doesn’t have a default value and specifies whether the Solace middleware bridge should override applications settings for recovering from sequence number gaps in subscriptions. When `allow_recover_gaps` is `true` applications are allowed to specify the gap recovery behaviour. When `allow_recover_gaps` is `false`, the gap recovery is disabled for all subscriptions, regardless of applications settings.
233+
- `mama.solace.transport.vmr.session_host` is `Host` and usually has a value of the host address of your **Solace messaging**.
234+
- `mama.solace.transport.vmr.session_username` is `Client Username`
235+
- `mama.solace.transport.vmr.session_password` is optional `Client Password`
236+
- `mama.solace.transport.vmr.session_vpn_name` is `Message VPN`
237+
- `mama.solace.transport.vmr.allow_recover_gaps` doesn’t have a default value and specifies whether the Solace middleware bridge should override applications settings for recovering from sequence number gaps in subscriptions. When `allow_recover_gaps` is `true` applications are allowed to specify the gap recovery behaviour. When `allow_recover_gaps` is `false`, the gap recovery is disabled for all subscriptions, regardless of applications settings.
238238

239239
Now we need to modify our program to refer to this **properties file** by its name and location (in the current directory: `"."`):
240240

@@ -369,8 +369,8 @@ int main(int argc, const char** argv)
369369
370370
Combining the example source code shown above results in the following source code files:
371371
372-
* [mama.properties](https://github.com/SolaceSamples/solace-samples-openmama/blob/master/src/helloworld/mama.properties)
373-
* [topicPublishOne.c](https://github.com/SolaceSamples/solace-samples-openmama/blob/master/src/helloworld/topicPublishOne.c)
372+
- [mama.properties](https://github.com/SolaceSamples/solace-samples-openmama/blob/master/src/helloworld/mama.properties)
373+
- [topicPublishOne.c](https://github.com/SolaceSamples/solace-samples-openmama/blob/master/src/helloworld/topicPublishOne.c)
374374
375375
### Building
376376
@@ -449,22 +449,22 @@ Congratulations! You have now successfully published a message on Solace messagi
449449
450450
For more information about OpenMAMA:
451451
452-
* The OpenMAMA [website](https://www.openmama.org/)
453-
* The OpenMAMA code repository on [GitHub](https://github.com/OpenMAMA/OpenMAMA)
454-
* Chat with OpenMAMA developers and users at [Gitter OpenMAMA room](https://gitter.im/OpenMAMA/OpenMAMA)
452+
- The OpenMAMA [website](https://www.openmama.org/)
453+
- The OpenMAMA code repository on [GitHub](https://github.com/OpenMAMA/OpenMAMA)
454+
- Chat with OpenMAMA developers and users at [Gitter OpenMAMA room](https://gitter.im/OpenMAMA/OpenMAMA)
455455
456456
For more information about Solace technology:
457457
458-
* The [Solace Developer Portal website](https://www.solace.dev)
459-
* Get a better understanding of [Solace technology](https://solace.com/products/tech/)
460-
* Ask the [Solace community](https://solace.community)
458+
- The [Solace Developer Portal website](https://www.solace.dev)
459+
- Get a better understanding of [Solace technology](https://solace.com/products/tech/)
460+
- Ask the [Solace community](https://community.solace.com)
461461
462462
Other tutorials and related links:
463463
464-
* [OpenMAMA Quick Start Guide](https://openmama.finos.org/quickstart)
465-
* [OpenMAMA Wiki Quick Start Guide](https://github.com/OpenMAMA/OpenMAMA/wiki/Quick-Start-Guide)
466-
* [OpenMAMA Example Walk Through](https://openmama.finos.org/quickstart)
467-
* [OpenMAMA Code Examples](https://github.com/OpenMAMA/OpenMAMA/tree/master/mama/c_cpp/src/examples)
468-
* [OpenMAMA Wiki](https://github.com/OpenMAMA/OpenMAMA/wiki)
469-
* [OpenMAMA Documentation and Developers Guides](https://openmama.finos.org/documentation.html)
470-
* [Solace’s Solution for OpenMAMA](https://solace.com/products/tech/)
464+
- [OpenMAMA Quick Start Guide](https://openmama.finos.org/quickstart)
465+
- [OpenMAMA Wiki Quick Start Guide](https://github.com/OpenMAMA/OpenMAMA/wiki/Quick-Start-Guide)
466+
- [OpenMAMA Example Walk Through](https://openmama.finos.org/quickstart)
467+
- [OpenMAMA Code Examples](https://github.com/OpenMAMA/OpenMAMA/tree/master/mama/c_cpp/src/examples)
468+
- [OpenMAMA Wiki](https://github.com/OpenMAMA/OpenMAMA/wiki)
469+
- [OpenMAMA Documentation and Developers Guides](https://openmama.finos.org/documentation.html)
470+
- [Solace’s Solution for OpenMAMA](https://solace.com/products/tech/)

src/pages/tutorials/openmama/publish-subscribe.md

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -4,28 +4,28 @@ title: Publish/Subscribe
44
summary: Learn how to pub/sub using OpenMAMA with the Solace middleware bridge.
55
icon: I_dev_P+S.svg
66
links:
7-
- label: mama.properties
8-
link: /blob/master/src/pubsub/mama.properties
9-
- label: topicSubscriber.c
10-
link: blob/master/src/pubsub/topicSubscriber.c
11-
- label: topicPublisher.c
12-
link: /blob/master/src/pubsub/topicPublisher.c
13-
- label: feedback
14-
link: https://github.com/SolaceDev/solace-dev-tutorials/blob/master/src/pages/tutorials/openmama/publish-subscribe.md
7+
- label: mama.properties
8+
link: /blob/master/src/pubsub/mama.properties
9+
- label: topicSubscriber.c
10+
link: blob/master/src/pubsub/topicSubscriber.c
11+
- label: topicPublisher.c
12+
link: /blob/master/src/pubsub/topicPublisher.c
13+
- label: feedback
14+
link: https://github.com/SolaceDev/solace-dev-tutorials/blob/master/src/pages/tutorials/openmama/publish-subscribe.md
1515
---
1616

1717
## Assumptions
1818

1919
This tutorial assumes the following:
2020

21-
* You are familiar with OpenMAMA [core concepts](https://docs.solace.com/Solace-OpenMama/Solace-OpenMAMA-Overview.htm).
22-
* If not, see [this OpenMAMA guide](https://openmama.finos.org/quickstart) and [Solace OpenMAMA “Hello World” tutorial](../hello-world/).
23-
* You are familiar with Solace [core concepts](https://docs.solace.com/PubSub-Basics/Core-Concepts.htm).
24-
* You have access to a properly installed OpenMAMA [release](https://github.com/OpenMAMA/OpenMAMA/releases).
25-
* Solace middleware bridge with its dependencies is also installed
26-
* You have access to Solace messaging with the following configuration details:
27-
* Connectivity information for a Solace message-VPN
28-
* Enabled client username and password
21+
- You are familiar with OpenMAMA [core concepts](https://docs.solace.com/Solace-OpenMama/Solace-OpenMAMA-Overview.htm).
22+
- If not, see [this OpenMAMA guide](https://openmama.finos.org/quickstart) and [Solace OpenMAMA “Hello World” tutorial](../hello-world/).
23+
- You are familiar with Solace [core concepts](https://docs.solace.com/PubSub-Basics/Core-Concepts.htm).
24+
- You have access to a properly installed OpenMAMA [release](https://github.com/OpenMAMA/OpenMAMA/releases).
25+
- Solace middleware bridge with its dependencies is also installed
26+
- You have access to Solace messaging with the following configuration details:
27+
- Connectivity information for a Solace message-VPN
28+
- Enabled client username and password
2929

3030
One simple way to get access to Solace messaging quickly is to create a messaging service in Solace Cloud [as outlined here](https://solace.com/products/platform/cloud/). You can find other ways to get access to Solace messaging below.
3131

@@ -37,8 +37,8 @@ This tutorial will show you how to publish a message with one string field to a
3737

3838
This tutorial will show you how to use OpenMAMA C API:
3939

40-
* to build and send a message on a topic
41-
* to subscribe to a topic and receive a message
40+
- to build and send a message on a topic
41+
- to subscribe to a topic and receive a message
4242

4343
## Installation
4444

@@ -81,9 +81,9 @@ The **receiver** is a data structure with function pointers that are invoked by
8181
8282
It has a type of `mamaMsgCallbacks` and it is expected to have, as a minimum, the following function pointers:
8383
84-
* `onCreate` that is invoked when a subscription is created
85-
* `onError` that is invoked when an error occurs
86-
* `onMsg` that is invoked when a message arrives on the subscribed topic
84+
- `onCreate` that is invoked when a subscription is created
85+
- `onError` that is invoked when an error occurs
86+
- `onMsg` that is invoked when a message arrives on the subscribed topic
8787
8888
This is how the routine for creating a subscription is implemented:
8989
@@ -309,9 +309,9 @@ Our application consists of two executables: _topicSubscriber_ and _topicPublish
309309

310310
If you combine the example source code shown above and split them into the two mentioned executables, it results in the source that is available for download:
311311

312-
* [mama.properties](https://github.com/SolaceSamples/solace-samples-openmama/blob/master/src/pubsub/mama.properties)
313-
* [topicSubscriber.c](https://github.com/SolaceSamples/solace-samples-openmama/blob/master/src/pubsub/topicSubscriber.c)
314-
* [topicPublisher.c](https://github.com/SolaceSamples/solace-samples-openmama/blob/master/src/pubsub/topicPublisher.c)
312+
- [mama.properties](https://github.com/SolaceSamples/solace-samples-openmama/blob/master/src/pubsub/mama.properties)
313+
- [topicSubscriber.c](https://github.com/SolaceSamples/solace-samples-openmama/blob/master/src/pubsub/topicSubscriber.c)
314+
- [topicPublisher.c](https://github.com/SolaceSamples/solace-samples-openmama/blob/master/src/pubsub/topicPublisher.c)
315315

316316
### Building
317317

@@ -433,22 +433,22 @@ Congratulations! You have now successfully subscribed to a topic and exchanged m
433433

434434
For more information about OpenMAMA:
435435

436-
* The OpenMAMA [website](http://www.openmama.org/)
437-
* The OpenMAMA code repository on [GitHub](https://github.com/OpenMAMA/OpenMAMA)
438-
* Chat with OpenMAMA developers and users at [Gitter OpenMAMA room](https://gitter.im/OpenMAMA/OpenMAMA)
436+
- The OpenMAMA [website](http://www.openmama.org/)
437+
- The OpenMAMA code repository on [GitHub](https://github.com/OpenMAMA/OpenMAMA)
438+
- Chat with OpenMAMA developers and users at [Gitter OpenMAMA room](https://gitter.im/OpenMAMA/OpenMAMA)
439439

440440
For more information about Solace technology:
441441

442-
* The [Solace Developer Portal website](https://www.solace.dev)
443-
* Get a better understanding of [Solace technology](https://solace.com/products/tech/)
444-
* Ask the [Solace community](https://solace.community)
442+
- The [Solace Developer Portal website](https://www.solace.dev)
443+
- Get a better understanding of [Solace technology](https://solace.com/products/tech/)
444+
- Ask the [Solace community](https://community.solace.com)
445445

446446
Other tutorials and related links:
447447

448-
* [OpenMAMA Quick Start Guide](https://openmama.finos.org/quickstart)
449-
* [OpenMAMA Wiki Quick Start Guide](https://github.com/OpenMAMA/OpenMAMA/wiki/Quick-Start-Guide)
450-
* [OpenMAMA Example Walk Through](https://openmama.finos.org/quickstart)
451-
* [OpenMAMA Code Examples](https://github.com/OpenMAMA/OpenMAMA/tree/master/mama/c_cpp/src/examples)
452-
* [OpenMAMA Wiki](https://github.com/OpenMAMA/OpenMAMA/wiki)
453-
* [OpenMAMA Documentation and Developers Guides](https://openmama.finos.org/documentation.html)
454-
* [Solace’s Solution for OpenMAMA](https://solace.com/products/tech/)
448+
- [OpenMAMA Quick Start Guide](https://openmama.finos.org/quickstart)
449+
- [OpenMAMA Wiki Quick Start Guide](https://github.com/OpenMAMA/OpenMAMA/wiki/Quick-Start-Guide)
450+
- [OpenMAMA Example Walk Through](https://openmama.finos.org/quickstart)
451+
- [OpenMAMA Code Examples](https://github.com/OpenMAMA/OpenMAMA/tree/master/mama/c_cpp/src/examples)
452+
- [OpenMAMA Wiki](https://github.com/OpenMAMA/OpenMAMA/wiki)
453+
- [OpenMAMA Documentation and Developers Guides](https://openmama.finos.org/documentation.html)
454+
- [Solace’s Solution for OpenMAMA](https://solace.com/products/tech/)

0 commit comments

Comments
 (0)