Published on

Demo blog post to show all components

Authors
  • Shantanu Shukla
    Name
    Shantanu Shukla
    Title
    External Contributor
    Social media profiles

Introduction paragraph

Our goal at Superface.ai is to simplify API integrations, so you can focus on building your app instead of reading the API docs. As part of our passion for API we also bring you these blog posts to help you integration guides, share expert tips, and keep you up-to-date with the most recent developments at Superface.

Lorem ipsum automatic utm params vs manually provided utm params consectetur adipisicing elit. Adipisci aliquid blanditiis consequuntur dicta dolor eligendi, error explicabo facere impedit iusto modi molestias nihil nobis quibusdam quod sit, ullam vel veritatis?

Code snippets

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ipsa, molestiae, veniam. Adipisci architecto deserunt, doloribus ducimus esse exercitationem inventore ipsum minima, nam non quam quas quasi qui quod velit veniam!

npm start
src/App.css
.leaflet-container {
  width: 100vw;
  height: 100vh;
}

Bigger snippet App.js:

src/App.js
import './App.css';

import 'leaflet/dist/leaflet.css';
import 'leaflet-defaulticon-compatibility/dist/leaflet-defaulticon-compatibility.webpack.css';
import { MapContainer, TileLayer } from 'react-leaflet';
import 'leaflet-defaulticon-compatibility';

function App() {
  return (
    <div className="App">
      <MapContainer center={[51.505, -0.09]} id="mapId" zoom={13}>
        <TileLayer url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png" />
      </MapContainer>
    </div>
  );
}

export default App;
Final file structure
google-maps-clone
├── package.json
├── package-lock.json
├── public
│   └── index.html
├── README.md
├── server
│   ├── package.json
│   ├── package-lock.json
│   └── server.js
└── src
├── App.css
├── App.js
├── index.css
├── index.js
└── RoutingMachine.js

Embedding

Youtube

The final result of the project.

Twitter

Blockquote

Thanks to Superface, the team can focus on building features rather than integrations, and we do not need to hire a developer just for talking to APIs.

Joan Doe, CTO, Company name

Simple pre tag

Example of simple pre tag

Subscribe to the blog

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Accusantium architecto asperiores assumenda atque deleniti ducimus excepturi iure nesciunt nobis nulla pariatur possimus quos recusandae, reiciendis repellendus soluta unde, vero voluptates!

Do you want to read even more about API?

Lorem ipsum dolor sit amet, consectetur adipisicing elit. A at cumque incidunt officiis optio veniam. Asperiores atque corporis delectus exercitationem itaque maiores nostrum, pariatur perferendis possimus quisquam reiciendis voluptate voluptates?

Cross promo

First variant is with custom title, description, href and buttonLabel. UTM params will be done automatically (utm_source=blog&utm_medium=cta&utm_campaign=article-slug).

Lines

Custom title

This is the ideal length of the description. Try to describe what expect after click on the CTA.

Discover Superface

Images

Lorem ipsum dolor sit amet, consectetur adipisicing elit. At corporis, cumque deleniti harum in itaque mollitia quia saepe. Asperiores dolores ex expedita, facere laborum omnis optio repellat totam veniam vero!

Above - If you setup Leaflet correctly, you should see just a map on your page.

Screenshot of website with map and zoom controls.

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Aliquid at commodi consequatur culpa dicta, dignissimos distinctio eaque est excepturi fugit hic in nostrum quam quibusdam quidem quisquam, similique voluptates? Modi?

Screenshot of map with a search box in the bottom right
corner

Below - The map should now include a search box in the bottom right corner.

Conclusion

The demo ends here.

Automate the impossible.
Superface. The LLM-powered automation agent that connects to all your systems.

Try it now