'width' => 900,\r
'media' => '(max-width: 900px)'\r
]\r
+ ],\r
+ [\r
+ 'alt' => $data['title']\r
]), 'div', array('class' => 'picture'));\r
$content = $bg . $content;\r
}\r
\r
return $this->htmlElement($content, 'div', $attributes);\r
}\r
-}
\ No newline at end of file
+}\r
* @return string\r
*/\r
public function headerLogo() {\r
- $logos = $this->image('/images/logo/leave.svg', "", -1, -1, array('class' => 'leave'));\r
- $logos .= $this->htmlElement($this->image('/images/logo/text-white.svg', 'Fluidbook', -1, -1, array('class' => 'text-white')) . $this->image('/images/logo/text-dark.svg', '', -1, -1, array('class' => 'text-dark')), 'div', array('class' => 'text'));\r
+ $logos = $this->image('/images/logo/leave.svg', 'Fluidbook logo', -1, -1, array('class' => 'leave'));\r
+ $logos .= $this->htmlElement($this->image('/images/logo/text-white.svg', 'Fluidbook', -1, -1, array('class' => 'text-white')) . $this->image('/images/logo/text-dark.svg', 'Fluidbook', -1, -1, array('class' => 'text-dark')), 'div', array('class' => 'text'));\r
\r
return $this->link($logos, '/', array('class' => 'logo'));\r
}\r
-}
\ No newline at end of file
+}\r
// </svg>';\r
// $res .= '<span></span><span></span><span></span>'; // Dot elements\r
$res .= '</div>'; // .window-top-wrapper\r
- $res .= '<img src="/images/home/window-top.png" class="window-top">';\r
+ $res .= '<img src="/images/home/window-top.png" class="window-top" alt="Window header">';\r
$res .= '<div class="services-examples">';\r
\r
foreach ($data['examples'] as $example) {\r
\r
$res .= '<div class="contact-details">';\r
\r
-$logo = $this->imageCms($this->option('logo'), 'Fluidbook', 180, 45, ['itemprop' => 'logo']);\r
+$logo = $this->imageCms($this->option('logo'), 'Fluidbook logo', 180, 45, ['itemprop' => 'logo']);\r
$address = $this->option('address');\r
// .....\r
\r
$res .= '#s-' . $social['icon'] . ':hover{background-color: ' . $social['color'] . ';border-color: ' . $social['color'] . ';}';\r
$res .= '</style>';\r
$res .= $this->link('', $social['url'], array('id' => 's-' . $social['icon'],\r
+ 'title' => $social['title'],\r
'class' => 'social-link fb-' . $social['icon'],\r
'itemprop' => 'sameAs',\r
'data-event' => array('category' => 'social',\r
$res .= '</footer>'; // footer.legal\r
\r
// Output footer with Organization microdata wrapper\r
-echo $this->microdata($res, ['class' => 'auto-height', 'id' => 'footerHolder'], 'Organization');
\ No newline at end of file
+echo $this->microdata($res, ['class' => 'auto-height', 'id' => 'footerHolder'], 'Organization');\r