New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@cagovweb/go-site-card

Package Overview
Dependencies
Maintainers
4
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cagovweb/go-site-card

Card for GO site update

  • 0.0.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
4
Created
Source

go-site-card

Card can have multiple layouts depending on data-attributes

Sample usage:

Card with call to action button

<ul class="cards">
  <li>
    <div class="card-text">
      <h2>Grizzly Bear</h2>
      <p>Description</p>
    </div>
    <a class="action" href="">Call to action</a>
    <img
      src="https://live.staticflickr.com/5609/15596534729_9c240ff83a_b.jpg"
      alt="Brown bear" />
  </li>
</ul>

Horizontal card with image on left

<ul class="cards" data-orientation="media-" data-action="interactive">
  <li>
    <div class="card-text">
      <h2><a href="#">Card Test 1</a></h2>
      <p>This is only a test.</p>
    </div>
    <img
      src="https://live.staticflickr.com/5609/15596534729_9c240ff83a_b.jpg"
      alt="Brown bear" />
  </li>
</ul>

Horizontal card with image on the right

<ul class="cards" data-orientation="media-end" data-action="interactive">
  <li>
    <div class="card-text">
      <h2><a href="#">Card Test 3</a></h2>
      <p>This still is only test.</p>
    </div>
    <img
      src="https://live.staticflickr.com/5609/15596534729_9c240ff83a_b.jpg"
      alt="Brown bear" />
  </li>
</ul>

Vertical card with image on top

<ul class="cards" data-action="interactive">
  <li>
    <div class="card-text">
      <h2><a href="#">Card</a></h2>
      <p>
        "Says who?" said Harry, taking off his sneakers and emptying them of
        water. "Hope they hurry up with the Sorting. I'm starving." The Sorting
        of the new students into Houses took place at the start of every school
        year,
      </p>
    </div>
    <img
      src="https://live.staticflickr.com/5609/15596534729_9c240ff83a_b.jpg"
      alt="Brown bear" />
  </li>
  </ul>

Card with lots of text and image on right

<ul class="cards" data-orientation="media-end" data-action="interactive">
  <li>
    <div class="card-text">
      <h2><a href="#">Card 2</a></h2>
      <p>
        "Says who?" said Harry, taking off his sneakers and emptying them of
        water. "Hope they hurry up with the Sorting. I'm starving." "Says who?"
        said Harry, taking off his sneakers and emptying them of water. "Hope
        they hurry up with the Sorting. I'm starving." "Says who?" said Harry,
        taking off his sneakers and emptying them of water. "Hope they hurry up
        with the Sorting. I'm starving." "Says who?" said Harry, taking off his
        sneakers and emptying them of water. "Hope they hurry up with the
        Sorting. I'm starving." "Says who?" said Harry, taking off his sneakers
        and emptying them of water. "Hope they hurry up with the Sorting. I'm
        starving." "Says who?" said Harry, taking off his sneakers and emptying
        them of water. "Hope they hurry up with the Sorting. I'm starving."
      </p>
    </div>
    <img
      src="https://live.staticflickr.com/5609/15596534729_9c240ff83a_b.jpg"
      alt="Brown bear" />
  </li>
</ul>

Card with lots of text and image on left

<ul class="cards" data-orientation="media-" data-action="interactive">
  <li>
    <div class="card-text">
      <h2><a href="#">Card 2</a></h2>
      <p>
        "Says who?" said Harry, taking off his sneakers and emptying them of
        water. "Hope they hurry up with the Sorting. I'm starving." "Says who?"
        said Harry, taking off his sneakers and emptying them of water. "Hope
        they hurry up with the Sorting. I'm starving." "Says who?" said Harry,
        taking off his sneakers and emptying them of water. "Hope they hurry up
        with the Sorting. I'm starving."
      </p>
    </div>
    <img
      src="https://live.staticflickr.com/8628/16622486169_087756b818_b.jpg"
      alt="California poppy flower" />
  </li>
</ul>

FAQs

Package last updated on 23 May 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc