Skip to content
This repository has been archived by the owner on Feb 8, 2023. It is now read-only.

Commit

Permalink
Replace nats slice with wasm whitepaper slice on homepage (#1029)
Browse files Browse the repository at this point in the history
* Replace nats slice with wasm whitepaper slice on homepage

* Add background image and tweak image styling

* Use correct text

* Implement comments

* Update link styling
  • Loading branch information
TimboTambo authored Apr 26, 2022
1 parent fe8c079 commit 23835d6
Show file tree
Hide file tree
Showing 12 changed files with 210 additions and 296 deletions.
Binary file removed site/components/nats-slice/images/background.png
Binary file not shown.
Binary file removed site/components/nats-slice/images/nats-logo.png
Binary file not shown.
61 changes: 0 additions & 61 deletions site/components/nats-slice/index.js

This file was deleted.

197 changes: 0 additions & 197 deletions site/components/nats-slice/style.css

This file was deleted.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
57 changes: 57 additions & 0 deletions site/components/wasm-whitepaper-slice/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
// @flow
import * as React from 'react';

import styles from './style.css';
import titleImg from './images/title.png';
import whitepaperImg from './images/whitepaper.png';

const WasmWhitepaperSlice = () => {
return (
<div className={`${styles.WasmWhitepaperSliceWrapper}`}>
<div className={styles.WasmWhitepaperSliceContent}>
<div className={styles.WasmWhitepaperSlice}>
<div className={styles.WasmWhitepaperSliceText}>
<img
className={styles.WasmWhitepaperSliceTitleImage}
src={titleImg}
alt="text reading: We Love Tech"
/>
<div className={styles.WasmWhitepaperSliceTextContent}>
<div className={styles.WasmWhitepaperSliceBodyheader}>
<h3>
Multi-cloud platforms are here: How WebAssembly, NATS and wasmCloud can move us
beyond the cloud
</h3>
</div>
<div className={styles.WasmWhitepaperSliceBodySubHeader}>
<h4>
With contributions from Liam Randall, Cosmonic’s CEO and Derek Collison, CEO of
Synadia and creator of{' '}
<a href="http://nats.io/" className={styles.WasmWhitepaperSliceBodyLink}>
NATS.io
</a>
, our latest white paper written by our Chief Scientist, Stuart Harris, maps out
the journey to a truly resilient multi-cloud platform.
</h4>
</div>
<div>
<a href="https://bit.ly/393vkLn" className={styles.WasmWhitepaperSliceLink}>
Download White Paper
</a>
</div>
</div>
</div>
<div className={styles.WasmWhitepaperSliceImageWrapper}>
<img
className={styles.WasmWhitepaperSliceImage}
src={whitepaperImg}
alt="An illustration of the WASM whitepaper"
/>
</div>
</div>
</div>
</div>
);
};

export default WasmWhitepaperSlice;
Loading

0 comments on commit 23835d6

Please sign in to comment.