polymer Reusable Modals with Polymer Using the custom element with Modal | Share | Fork icons


On whichever page you want to display your product / project portfolio, invoke the custom element like so:

<article id="project-neighbourhood">
    <div class="row">
        <div class="col-12 hero">
            <img src="path-to-hero-image">
    <tool-bar link2-share="http://www.mywebsite.com/neighbourhood" link2-fork="https://github.com/myusername/neighbourhood" modal-id="project-neighbourhood-map" title="project-neighbourhood-map">
                <div class="col-12">
                      <p> a single-page application featuring a map of my neighborhood or a neighborhood I would like to visit. I will then add additional functionality to this application, including: map markers to identify popular locations or places you’d like to visit, a search function to easily discover these locations, and a listview to support simple browsing of all locations. I will then research and implement third-party APIs that provide additional information about each of these locations (such as Street View images, Wikipedia articles, Yelp reviews, etc).</p>

and you get this as preview

enter image description here

And when you click on info, you get this

enter image description here