-
-
Notifications
You must be signed in to change notification settings - Fork 93
Expand file tree
/
Copy pathTabbedNavigation.razor
More file actions
37 lines (34 loc) · 1.32 KB
/
Copy pathTabbedNavigation.razor
File metadata and controls
37 lines (34 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
@using LinkDotNet.Blog.Web.Features.AboutMe.Components.Skill
@using LinkDotNet.Blog.Web.Features.AboutMe.Components.Talk
<div class="col-lg-9 col-md-8">
<ul class="nav nav-pills nav-underline border-bottom justify-content-around" id="aboutMe" role="tablist">
<li class="nav-item" role="presentation">
<button class="nav-link active" id="pills-skills-tab"
data-bs-toggle="pill" data-bs-target="#pills-home"
type="button" role="tab" aria-controls="pills-home" aria-selected="true">
Skills
</button>
</li>
<li class="nav-item" role="presentation">
<button class="nav-link" id="pills-talks-tab"
data-bs-toggle="pill" data-bs-target="#pills-profile"
type="button" role="tab" aria-controls="pills-profile" aria-selected="false">
Talks
</button>
</li>
</ul>
<div class="tab-content pt-3" id="myTabContent">
<div class="tab-pane fade show active" id="pills-home"
role="tabpanel" aria-labelledby="pills-skills-tab" tabindex="0">
<SkillTable ShowAdminActions="@IsAuthenticated"></SkillTable>
</div>
<div class="tab-pane fade" id="pills-profile"
role="tabpanel" aria-labelledby="pills-talks-tab" tabindex="0">
<Talks ShowAdminActions="@IsAuthenticated"></Talks>
</div>
</div>
</div>
@code {
[Parameter]
public bool IsAuthenticated { get; set; }
}