Skip to content

Commit 251b9d7

Browse files
author
Anderson Oliveira Bezerra
committed
ajuste na navegacao e idioma
1 parent 9a36bb5 commit 251b9d7

File tree

4 files changed

+24
-20
lines changed

4 files changed

+24
-20
lines changed

Portfolio/Modules/Home/Components/Presentation.razor

Lines changed: 12 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
<div class="col-md-2 align-self-center">
44
<ul class="ul-home justify-content-start">
55
<li class="nav-home">
6-
<a href="https://www.linkedin.com/in/anderson-oliveira-developer/">
6+
<a href="https://www.linkedin.com/in/andersonbezerra-dev/" target="_blank" rel="noopener noreferrer">
77
<svg xmlns="http://www.w3.org/2000/svg" alt="Linkedin" width="35" fill="currentColor" class="bi bi-linkedin primary-color" viewBox="0 0 16 16">
88
<path d="M0 1.146C0 .513.526 0 1.175 0h13.65C15.474 0 16 .513 16 1.146v13.708c0 .633-.526 1.146-1.175 1.146H1.175C.526 16 0 15.487 0 14.854zm4.943 12.248V6.169H2.542v7.225zm-1.2-8.212c.837 0 1.358-.554 1.358-1.248-.015-.709-.52-1.248-1.342-1.248S2.4 3.226 2.4 3.934c0 .694.521 1.248 1.327 1.248zm4.908 8.212V9.359c0-.216.016-.432.08-.586.173-.431.568-.878 1.232-.878.869 0 1.216.662 1.216 1.634v3.865h2.401V9.25c0-2.22-1.184-3.252-2.764-3.252-1.274 0-1.845.7-2.165 1.193v.025h-.016l.016-.025V6.169h-2.4c.03.678 0 7.225 0 7.225z"/>
99
</svg>
1010
</a>
1111
</li>
1212
<li class="nav-home">
13-
<a href="https://github.com/AndersonPull">
13+
<a href="https://github.com/AndersonPull" target="_blank" rel="noopener noreferrer">
1414
<svg xmlns="http://www.w3.org/2000/svg" width="35" fill="currentColor" class="bi bi-github primary-color" viewBox="0 0 16 16">
1515
<path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27s1.36.09 2 .27c1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.01 8.01 0 0 0 16 8c0-4.42-3.58-8-8-8"/>
1616
</svg>
@@ -19,29 +19,24 @@
1919
</ul>
2020
</div>
2121
<div class="col-md-5 align-self-center">
22-
<h3>Eai, Anderson aqui!</h3>
23-
<h5>Desenvolvedor .net</h5>
22+
<h3>Hey, Anderson here!</h3>
23+
<h5>dotnet developer</h5>
2424
<p>
25-
Possuo um vasto conhecimento em mobile,
26-
backend e frontend utilizando a
27-
plataforma .net
25+
I possess extensive knowledge in mobile,
26+
backend and frontend using the
27+
dotnet platform.
2828
</p>
2929
<br />
30-
<a class="btn btn-home" href="https://wa.me/5511945724819">
31-
contate-me
32-
<img src="Images/whats.png" alt="whats" width="25" height="25" />
30+
<a class="btn btn-home" href="https://dev.to/erudito" target="_blank" rel="noopener noreferrer">
31+
follow me
32+
<svg xmlns="http://www.w3.org/2000/svg" width="25" fill="currentColor" class="bi bi-github white-color" viewBox="0 0 16 16">
33+
<path d="M5.854 4.854a.5.5 0 1 0-.708-.708l-3.5 3.5a.5.5 0 0 0 0 .708l3.5 3.5a.5.5 0 0 0 .708-.708L2.707 8zm4.292 0a.5.5 0 0 1 .708-.708l3.5 3.5a.5.5 0 0 1 0 .708l-3.5 3.5a.5.5 0 0 1-.708-.708L13.293 8z"/>
34+
</svg>
3335
</a>
3436
<br />
3537
</div>
3638
<div class="col-md-5 text-center">
3739
<img class="image-eu" src="Images/eu.png" alt="Eu" width="320" height="320" />
3840
</div>
3941
</div>
40-
@* <div class="row align-self-center scroll-home">
41-
<div class="col-md-2"></div>
42-
<div class="col-md-5 align-self-center position-horizontal">
43-
<i class="bi bi-mouse primary-color" width="30"/>
44-
<p class="align-self-center ">Role para baixo</p>
45-
</div>
46-
</div> *@
4742
</div>

Portfolio/Modules/Newsletter/Pages/Newsletter.razor

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
@using Portfolio.Modules.Newsletter.Models
33

44
@inject Portfolio.INewsletterService _newsletterService
5-
@inject NavigationManager NavigationManager
5+
@inject IJSRuntime JSRuntime
66

77
<div class=" d-flex align-items-center justify-content-center gap-3">
88
<div style="margin-top: 80px;">
@@ -73,8 +73,8 @@
7373
private async Task GetNewslettersAsync()
7474
=> Newsletters = await _newsletterService.GetArticlesMockAsync();
7575

76-
private void NavigateDetailPage(string externalUrl)
76+
private async Task NavigateDetailPage(string externalUrl)
7777
{
78-
NavigationManager.NavigateTo(externalUrl, forceLoad: true);
78+
await JSRuntime.InvokeVoidAsync("openInNewTab", externalUrl);
7979
}
8080
}

Portfolio/wwwroot/css/app.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ a, .btn-link {
4545
color: #F1BC03;
4646
}
4747

48+
.white-color{
49+
color: #dee2e6;
50+
}
51+
4852
.container-body {
4953
padding-bottom: 100px;
5054
margin-top: 120px;

Portfolio/wwwroot/index.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@
2525
overflow-x: hidden;
2626
}
2727
</style>
28+
<script>
29+
window.openInNewTab = function (url) {
30+
window.open(url, '_blank');
31+
};
32+
</script>
2833
<body data-bs-theme="dark">
2934
<div id="app">
3035
<div class="vh-100 d-flex align-items-center justify-content-center gap-3">

0 commit comments

Comments
 (0)