Giter Site home page Giter Site logo

jliwanag77 / square-market-embeds Goto Github PK

View Code? Open in Web Editor NEW

This project forked from square/square-market-embeds

1.0 1.0 0.0 649 KB

Examples for embedding Square Market items in your own website.

Home Page: https://squareup.com/market

License: Other

square-market-embeds's Introduction

Square Market Item Embedding

This repository contains examples for embedding items from Square Market into your own website.

You can read more about embedding and sharing items in our Help Center.

Basic Embedding

You can find embed code on item pages throughout Square Market. Any item that is for sale and has an image can be embedded. Start by clicking the embed icon alongside our icons for sharing on Twitter, Facebook, etc:

The code shown can be copied and pasted into the HTML for your page:

Check the preview to see what the finished item will look like in your site:

Advanced Embedding

Browse the code in this repository for examples of different embedding techniques, or view the source for our examples live in our github pages.

Our favorite sample so far uses the Masonry library to create a crisp, clean layout for a large number of embedded items.

Contributing

We welcome your bug reports in the issues section of this repository.

We also welcome new and improved examples. If you have an example that you'd like to share with us:

  1. Fork this repository
  2. Create your feature branch (git checkout -b my-new-example)
  3. Commit your changes (git commit -am 'Add an example')
  4. Push to the branch (git push origin my-new-example)
  5. Create new Pull Request

We ask that contributors to the square-market-embeds repository first sign our Individual Contributor License Agreement (CLA). It's a short form that covers our bases and makes sure you're eligible to contribute.

License

The samples here are made available to you under the Apache 2.0 license.

The Masonry plug-in is used unmodified under the MIT license.

square-market-embeds's People

Contributors

keithchu avatar randometc avatar

Stargazers

JJ avatar

Watchers

JJ avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.