Aragon Union Action: Shorter Work Week & Collective Bargaining
Here’s a breakdown of the provided SVG code and the surrounding HTML, along with what it likely represents:
Overall Structure
The code snippet appears to be part of a web page, specifically related to sharing an article from the Spanish news website “elEconomista.es”. It includes:
HTML: The (anchor) tags with href attributes define links. The tag with class="d-none" hides the text “Bluesky” visually. The aria-label provides an accessible description for screen readers.
SVG: The tag contains Scalable Vector Graphics (SVG) code. this SVG is used as an icon for the “Bluesky” sharing option.
SVG Details
The SVG code defines a series of paths () that, when rendered, create a complex shape.Here’s a breakdown of what the attributes mean:
xmlns="http://www.w3.org/2000/svg": Specifies the SVG namespace.
width="21" height="21" viewbox="... : Defines the dimensions of the SVG canvas and the coordinate system used within it. The viewbox attribute is crucial; it defines the portion of the SVG that is visible.
d="...": this is the most notable attribute. It contains the path data, which is a series of commands that tell the SVG renderer how to draw the shape.The commands include:
M: Move to (starts a new subpath).
L: Line to (draws a straight line).
A: Elliptical Arc (draws a curved segment).
C: Cubic Bezier Curve (draws a curved segment).
Z: Close path (connects the last point to the starting point).
transform="translate(0 0)": Applies a translation to the path. In this case, it’s not changing the position.
id="..." data-name="...": Provides unique identifiers for the elements, likely used for styling or scripting.
What the SVG Represents
The SVG code defines the Bluesky logo. It’s a stylized “b” shape.
sharing Functionality
The href attribute of the first tag is the key to the sharing functionality. It’s a URL that, when clicked, will:
- Open the bluesky app (or web interface).
- Pre-populate a new post with:
The URL of the article from elEconomista.es (https://www.eleconomista.es/economia/noticias/13536078/09/25/la-reduccion-de-la-jornada-laboral-y-renovar-el-acuerdo-de-negociacion-colectiva-centraran-la-linea-de-accion-de-ugt-y-ccoo-en-aragon.html).
Text that includes the article URL.
A mention of the elEconomista.es account (&via=elEconomistaes).
An ID (&id=1648118839245_bluesky).
In Summary
This code snippet provides a “Share on Bluesky” button for an article on elEconomista.es. When clicked, it opens blues
