Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update index.php #108

Merged
merged 2 commits into from
Nov 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
162 changes: 82 additions & 80 deletions Src/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,97 +35,99 @@
?>
<!DOCTYPE html>
<html lang="en">

<head>
<title>Guilherme Branco Stracini - Senior Software Engineer</title>
<meta charset="utf-8" />
<meta http-equiv="x-ua-compatible" content="ie=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="<?php echo $description; ?>" />
<meta property="og:url" content="https://zerocool.com.br/" />
<meta property="og:title" content="Guilherme Branco Stracini - Senior Software Engineer" />
<meta property="og:site_name" content="Guilherme Branco Stracini - Senior Software Engineer" />
<meta property="og:description" content="<?php echo $description; ?>" />
<meta property="og:image" content="https://zerocool.com.br/portfolio/imagens/icone.png" />
<meta property="og:image:type" content="image/png" />
<meta property="og:image:width" content="250" />
<meta property="og:image:height" content="250" />
<meta property="og:type" content="website" />
<meta property="fb:app_id" content="290252964970555" />
<meta property="fb:admins" content="1614826774" />
<base href="https://zerocool.com.br/portfolio/" />
<link rel="stylesheet" type="text/css" href="styles.css?update=<?php echo filemtime("styles.css"); ?>" />
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
<script async src="https://www.googletagmanager.com/gtag/js?id=G-4KQXFWPLV8"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-4KQXFWPLV8');
</script>
</head>

<body>
<div id="fb-root"></div>
<script async defer crossorigin="anonymous"
src="https://connect.facebook.net/pt_BR/sdk.js#xfbml=1&version=v20.0&appId=290252964970555"
nonce="mLVu8wYS"></script>
<div id="header">
<div id="top">
<head>
<title>Guilherme Branco Stracini - Senior Software Engineer</title>
<meta charset="utf-8" />
<meta http-equiv="x-ua-compatible" content="ie=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="<?php echo $description; ?>" />
<meta property="og:url" content="https://zerocool.com.br/" />
<meta property="og:title" content="Guilherme Branco Stracini - Senior Software Engineer" />
<meta property="og:site_name" content="Guilherme Branco Stracini - Senior Software Engineer" />
<meta property="og:description" content="<?php echo $description; ?>" />
<meta property="og:image" content="https://zerocool.com.br/portfolio/imagens/icone.png" />
<meta property="og:image:type" content="image/png" />
<meta property="og:image:width" content="250" />
<meta property="og:image:height" content="250" />
<meta property="og:type" content="website" />
<meta property="fb:app_id" content="290252964970555" />
<meta property="fb:admins" content="1614826774" />
<base href="https://zerocool.com.br/portfolio/" />
<link rel="stylesheet" type="text/css" href="styles.css?update=<?php echo filemtime("styles.css"); ?>" />
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
<script async src="https://www.googletagmanager.com/gtag/js?id=G-4KQXFWPLV8"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-4KQXFWPLV8');
</script>
</head>
<body>
<div id="fb-root"></div>
<script async defer crossorigin="anonymous"
src="https://connect.facebook.net/pt_BR/sdk.js#xfbml=1&version=v20.0&appId=290252964970555"
nonce="mLVu8wYS"></script>
<div id="header">
<div id="top">
<div id="socialLinks">
<ul>
<?php
foreach ($socialLinks as $social => $link) {
echo "<li>\n";
echo "<a href='" . $link . "' rel='noopener' title='Guilherme Branco Stracini on " . ucwords($social) . "' target='_blank'>\n";
echo "<img src='imagens/" . $social . ".png' width='24' height='24' alt='Guilherme Branco Stracini on " . ucwords($social) . "' />\n";
echo "</a>\n";
echo "</li>\n";
}
<ul>
<?php
foreach ($socialLinks as $social => $link) {
echo "<li>\n";
echo "<a href='" . $link . "' rel='noopener' title='Guilherme Branco Stracini on " . ucwords($social) . "' target='_blank'>\n";
echo "<img src='imagens/" . $social . ".png' width='24' height='24' alt='Guilherme Branco Stracini on " . ucwords($social) . "' />\n";
echo "</a>\n";
echo "</li>\n";
}

Check notice on line 82 in Src/index.php

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

Src/index.php#L82

Line indented incorrectly; expected 3 spaces, found 4
?>
</ul>
</ul>
</div>
</div>
</div>
<div id="content">
<div id="projects">
</div>
</div>
<div id="content">
<div id="projects">
<h1>Projects</h1>
<div class="links">
<?php
foreach ($projects as $project) {
$name = ucwords(str_replace("_", " ", str_replace("-", " ", $project)));
if (strlen($name) <= 3) {
$name = strtoupper($name);
}
echo "<a href='https://guilhermebranco.com.br/" . $project . "/" . $utm . "'>" . $name . "</a><br />\n";
}
<?php
foreach ($projects as $project) {

Check notice on line 93 in Src/index.php

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

Src/index.php#L93

Line indented incorrectly; expected 4 spaces, found 7
$name = ucwords(str_replace("_", " ", str_replace("-", " ", $project)));
if (strlen($name) <= 3) {
$name = strtoupper($name);
}
echo "<a href='https://guilhermebranco.com.br/" . $project . "/" . $utm . "'>" . $name . "</a><br />\n";
}
?>
</div>
</div>

<div id="boxes">
</div>
<div id="boxes">
<div id="free-sms">
<a href="https://guilhermebranco.com.br/sms/<?php echo $utm; ?>">Free SMS sending</a>
<a href="https://guilhermebranco.com.br/sms/<?php echo $utm; ?>">Free SMS sending</a>
</div>

<div id="personal">
<a href="https://guilhermebranco.com.br/<?php echo $utm; ?>">Portfolio</a> <br />
<a href="https://blog.guilhermebranco.com.br/<?php echo $utm; ?>">Blog</a> <br />
<a href="https://guilhermebranco.com.br/<?php echo $utm; ?>">Portfolio</a> <br />
<a href="https://blog.guilhermebranco.com.br/<?php echo $utm; ?>">Blog</a> <br />
</div>

</div>
<div id="facebook">
</div>
<div id="facebook">
<div class="fb-page" data-href="https://www.facebook.com/guilhermebrancostracini" data-tabs="timeline"
data-width="" data-height="" data-small-header="false" data-adapt-container-width="true"
data-hide-cover="false" data-show-facepile="true">
<blockquote cite="https://www.facebook.com/guilhermebrancostracini" class="fb-xfbml-parse-ignore"><a
href="https://www.facebook.com/guilhermebrancostracini">Guilherme Branco Stracini</a>
</blockquote>
data-width="" data-height="" data-small-header="false" data-adapt-container-width="true"
data-hide-cover="false" data-show-facepile="true">
<blockquote cite="https://www.facebook.com/guilhermebrancostracini" class="fb-xfbml-parse-ignore"><a
href="https://www.facebook.com/guilhermebrancostracini">Guilherme Branco Stracini</a>
</blockquote>
</div>
</div>
</div>

<footer>Developed by <a href="https://guibranco.github.io/?utm_campaign=project&amp;utm_media=zerocool+portfolio&amp;utm_source=zerocool.com.br" target="_blank" rel="noopener noreferrer"><img src="https://guibranco.github.io/photo.png" alt="Guilherme Branco Stracini" class="image-rounded image-responsive" loading="lazy" style="width: 24px; height: 44px;"></a> <a href="https://guibranco.github.io/?utm_campaign=project&amp;utm_media=zerocool+portfolio&amp;utm_source=zerocool.com.br" target="_blank" rel="noopener noreferrer">Guilherme Branco Stracini</a> | Repository <a href="https://github.com/ApiBR/vagas-aggregator-ui"><svg height="32px" fill="#FFFFFF" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>GitHub</title><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"></path></svg></a> <a href="https://github.com/guibranco/zerocool">GitHub</a></footer>
</body>

</div>
</div>
<footer>
Developed by <a href="https://guibranco.github.io/?utm_campaign=project&amp;utm_media=zerocool+portfolio&amp;utm_source=zerocool.com.br" target="_blank" rel="noopener noreferrer"><img src="https://guibranco.github.io/photo.png" alt="Guilherme Branco Stracini" class="image-rounded image-responsive" loading="lazy" style="width: 24px; height: 44px;"></a> <a href="https://guibranco.github.io/?utm_campaign=project&amp;utm_media=zerocool+portfolio&amp;utm_source=zerocool.com.br" target="_blank" rel="noopener noreferrer">Guilherme Branco Stracini</a> | Repository
<a href="https://github.com/guibranco/zerocool">
<svg height="32px" fill="#FFFFFF" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<title>GitHub</title>
<path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"></path>
</svg>
</a>
<a href="https://github.com/guibranco/zerocool">GitHub</a>
</footer>
</body>
</html>