diff --git a/src/LinkDotNet.Blog.Web/Features/AboutMe/AboutMePage.razor b/src/LinkDotNet.Blog.Web/Features/AboutMe/AboutMePage.razor index 25bc392c..a757b3ee 100644 --- a/src/LinkDotNet.Blog.Web/Features/AboutMe/AboutMePage.razor +++ b/src/LinkDotNet.Blog.Web/Features/AboutMe/AboutMePage.razor @@ -1,4 +1,4 @@ -@page "/AboutMe" +@page "/AboutMe" @using LinkDotNet.Blog.Web.Features.AboutMe.Components @using LinkDotNet.Blog.Domain @inject IOptions AppConfiguration @@ -16,12 +16,14 @@ AbsolutePreviewImageUrl="@ImageUrl">
-
-
- -
- -
+
+
+ +
+
+ +
+
} diff --git a/src/LinkDotNet.Blog.Web/Features/AboutMe/Components/AddProfileShortItem.razor b/src/LinkDotNet.Blog.Web/Features/AboutMe/Components/AddProfileShortItem.razor index 3a31449d..803c1b58 100644 --- a/src/LinkDotNet.Blog.Web/Features/AboutMe/Components/AddProfileShortItem.razor +++ b/src/LinkDotNet.Blog.Web/Features/AboutMe/Components/AddProfileShortItem.razor @@ -1,13 +1,14 @@ -
  • - +
  • + +
  • @code { - [Parameter] + [Parameter] public EventCallback ValueAdded { get; set; } - + private string content = string.Empty; private async Task AddItemAsync() @@ -20,4 +21,4 @@ await ValueAdded.InvokeAsync(content); content = string.Empty; } -} \ No newline at end of file +} diff --git a/src/LinkDotNet.Blog.Web/Features/AboutMe/Components/Profile.razor b/src/LinkDotNet.Blog.Web/Features/AboutMe/Components/Profile.razor index ce2d52d1..eac7c185 100644 --- a/src/LinkDotNet.Blog.Web/Features/AboutMe/Components/Profile.razor +++ b/src/LinkDotNet.Blog.Web/Features/AboutMe/Components/Profile.razor @@ -5,46 +5,46 @@ @inject IRepository Repository @inject ISortOrderCalculator SortOrderCalculator
    -
    - @ProfileInformation.Name -
    - @ProfileInformation.Heading -
    -
    - Profile Picture -
    -
      - @foreach (var entry in profileInformationEntries) - { - @if (ShowAdminActions) - { -
    • +
      + @ProfileInformation.Name +
      + @ProfileInformation.Heading +
      +
      + Profile Picture +
      +
        + @foreach (var entry in profileInformationEntries) + { + @if (ShowAdminActions) + { +
      • - - @MarkdownConverter.ToMarkupString(entry.Content) -
      • - } - else - { -
      • @MarkdownConverter.ToMarkupString(entry.Content)
      • - } - } - @if (ShowAdminActions) - { - - } -
      + + @MarkdownConverter.ToMarkupString(entry.Content) +
    • + } + else + { +
    • @MarkdownConverter.ToMarkupString(entry.Content)
    • + } + } + @if (ShowAdminActions) + { + + } +
    + OnYesPressed="DeleteItem"> @code { [Parameter] diff --git a/src/LinkDotNet.Blog.Web/Features/AboutMe/Components/Profile.razor.css b/src/LinkDotNet.Blog.Web/Features/AboutMe/Components/Profile.razor.css deleted file mode 100644 index 845d4876..00000000 --- a/src/LinkDotNet.Blog.Web/Features/AboutMe/Components/Profile.razor.css +++ /dev/null @@ -1,51 +0,0 @@ -.profile-card { - display: inline-block; - box-shadow: 0 3px 7px -1px rgba(0, 0, 0, 0.1); - width: 100%; - border-radius: 8px; -} - -.profile-name { - padding: 20px; - font-size: 1.25em; - line-height: 1.5em; -} - -.profile-name:first-child { - background: var(--tag-background); -} - -.profile-image { - padding: 30px; - background: var(--tag-background); -} - -.profile-image img { - width: 100%; - margin: auto; - border-radius: 50vw; - display: block; -} - -.profile-keypoints { - background-color: var(--tag-background); - padding-top: 10px; - padding-left: 2.5em; - padding-right: 1.5em; - list-style: none; - margin-bottom: 0; -} - -.profile-keypoints li { - padding-bottom: 0.6em; - letter-spacing: 0.05em; -} - -/* As the MarkupComponent is a base class we have to use deep */ -::deep .profile-keypoints li p { - display: inline; -} - -.item-draggable { - cursor: grab; -} \ No newline at end of file diff --git a/src/LinkDotNet.Blog.Web/Features/AboutMe/Components/Skill/AddSkillDialog.razor b/src/LinkDotNet.Blog.Web/Features/AboutMe/Components/Skill/AddSkillDialog.razor index fba32587..8db05cc0 100644 --- a/src/LinkDotNet.Blog.Web/Features/AboutMe/Components/Skill/AddSkillDialog.razor +++ b/src/LinkDotNet.Blog.Web/Features/AboutMe/Components/Skill/AddSkillDialog.razor @@ -5,28 +5,30 @@
    - - + +
    - - - If set is used before the skill (optional). 24x24 pixel - optimal size + + + + If set, it's used before the skill (optional). 24x24 pixel optimal size. +
    - - + +
    - - + +
    + diff --git a/src/LinkDotNet.Blog.Web/Features/AboutMe/Components/Skill/SkillTable.razor b/src/LinkDotNet.Blog.Web/Features/AboutMe/Components/Skill/SkillTable.razor index 2c88801e..047a0254 100644 --- a/src/LinkDotNet.Blog.Web/Features/AboutMe/Components/Skill/SkillTable.razor +++ b/src/LinkDotNet.Blog.Web/Features/AboutMe/Components/Skill/SkillTable.razor @@ -5,7 +5,7 @@ @if (ShowAdminActions) { + Add skill } @@ -29,8 +29,8 @@ { @if (ShowAdminActions) { -
    +
    diff --git a/src/LinkDotNet.Blog.Web/Features/AboutMe/Components/Skill/SkillTable.razor.css b/src/LinkDotNet.Blog.Web/Features/AboutMe/Components/Skill/SkillTable.razor.css deleted file mode 100644 index 554cf5cc..00000000 --- a/src/LinkDotNet.Blog.Web/Features/AboutMe/Components/Skill/SkillTable.razor.css +++ /dev/null @@ -1,26 +0,0 @@ -.table-container { - overflow-x: auto; -} - -.skill-table { - margin-top: 20px; - width: 100%; -} - -.skill-table td:first-of-type { - width:10% -} - -.skill-table td { - width: 30%; - border-top: 1px var(--bs-light) solid; - vertical-align: top; - min-width: 100px; -} - -.skill-table td div { - display: inline-block; - margin-right: 8px; - margin-top: 12px; - margin-bottom: 12px; -} \ No newline at end of file diff --git a/src/LinkDotNet.Blog.Web/Features/AboutMe/Components/Skill/SkillTag.razor b/src/LinkDotNet.Blog.Web/Features/AboutMe/Components/Skill/SkillTag.razor index f5acf2ec..dec8e4c6 100644 --- a/src/LinkDotNet.Blog.Web/Features/AboutMe/Components/Skill/SkillTag.razor +++ b/src/LinkDotNet.Blog.Web/Features/AboutMe/Components/Skill/SkillTag.razor @@ -1,26 +1,26 @@ @using LinkDotNet.Blog.Domain - @if (!string.IsNullOrEmpty(Skill.IconUrl)) - { - icon - } - @Skill.Name + @if (!string.IsNullOrEmpty(Skill.IconUrl)) + { + icon + } + @Skill.Name - @if (ShowAdminActions) - { - - } + @if (ShowAdminActions) + { + + } @code { - [Parameter, EditorRequired] - public required Skill Skill { get; set; } + [Parameter, EditorRequired] + public required Skill Skill { get; set; } - [Parameter] - public bool ShowAdminActions { get; set; } + [Parameter] + public bool ShowAdminActions { get; set; } - [Parameter] - public EventCallback DeleteSkill { get; set; } + [Parameter] + public EventCallback DeleteSkill { get; set; } } diff --git a/src/LinkDotNet.Blog.Web/Features/AboutMe/Components/Skill/SkillTag.razor.css b/src/LinkDotNet.Blog.Web/Features/AboutMe/Components/Skill/SkillTag.razor.css index e833e689..f036596e 100644 --- a/src/LinkDotNet.Blog.Web/Features/AboutMe/Components/Skill/SkillTag.razor.css +++ b/src/LinkDotNet.Blog.Web/Features/AboutMe/Components/Skill/SkillTag.razor.css @@ -1,14 +1,14 @@ -.skill-tag { - padding: 8px; - border-radius: 5px; - background-color: var(--tag-background); - display: inline-block; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; +.skill-tag { + padding: 8px; + border-radius: 5px; + background-color: var(--tag-background); + display: inline-block; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; } .skill-tag img { - padding-right: 12px; - width: 36px; -} \ No newline at end of file + padding-right: 12px; + width: 36px; +} diff --git a/src/LinkDotNet.Blog.Web/Features/AboutMe/Components/TabbedNavigation.razor b/src/LinkDotNet.Blog.Web/Features/AboutMe/Components/TabbedNavigation.razor index a98a1eac..fcac75b1 100644 --- a/src/LinkDotNet.Blog.Web/Features/AboutMe/Components/TabbedNavigation.razor +++ b/src/LinkDotNet.Blog.Web/Features/AboutMe/Components/TabbedNavigation.razor @@ -1,23 +1,34 @@ @using LinkDotNet.Blog.Web.Features.AboutMe.Components.Skill @using LinkDotNet.Blog.Web.Features.AboutMe.Components.Talk -
    - -
    -
    - -
    -
    - -
    -
    +
    + + +
    +
    + +
    +
    + +
    +
    @code { diff --git a/src/LinkDotNet.Blog.Web/Features/AboutMe/Components/TabbedNavigation.razor.css b/src/LinkDotNet.Blog.Web/Features/AboutMe/Components/TabbedNavigation.razor.css deleted file mode 100644 index cdd5c517..00000000 --- a/src/LinkDotNet.Blog.Web/Features/AboutMe/Components/TabbedNavigation.razor.css +++ /dev/null @@ -1,5 +0,0 @@ -.nav>.nav-item>button { - border: 0; - background: transparent !important; - color: var(--bs-body-color) !important; -} \ No newline at end of file diff --git a/src/LinkDotNet.Blog.Web/Features/AboutMe/Components/Talk/AddTalkEntryDialog.razor b/src/LinkDotNet.Blog.Web/Features/AboutMe/Components/Talk/AddTalkEntryDialog.razor index 32d3f049..3d9fd63d 100644 --- a/src/LinkDotNet.Blog.Web/Features/AboutMe/Components/Talk/AddTalkEntryDialog.razor +++ b/src/LinkDotNet.Blog.Web/Features/AboutMe/Components/Talk/AddTalkEntryDialog.razor @@ -5,23 +5,26 @@
    - - + +
    - - - The place / event where you hold the presentation / talk. + + + + The place / event where you held the presentation / talk. +
    - - + +
    - - + +
    + diff --git a/src/LinkDotNet.Blog.Web/Features/AboutMe/Components/Talk/TalkEntry.razor b/src/LinkDotNet.Blog.Web/Features/AboutMe/Components/Talk/TalkEntry.razor index 12378a36..fb53dd54 100644 --- a/src/LinkDotNet.Blog.Web/Features/AboutMe/Components/Talk/TalkEntry.razor +++ b/src/LinkDotNet.Blog.Web/Features/AboutMe/Components/Talk/TalkEntry.razor @@ -1,24 +1,24 @@ @using LinkDotNet.Blog.Domain
  • -
    -
    -

    @Talk.PublishedDate.ToShortDateString()

    - @Talk.PresentationTitle -

    @Talk.Place

    -
    - @MarkdownConverter.ToMarkupString(Talk.Description) -
    -
    -
    - @if (ShowAdminActions) - { - - } -
    -
    +
    +
    +

    @Talk.PublishedDate.ToShortDateString()

    + @Talk.PresentationTitle +

    @Talk.Place

    +
    + @MarkdownConverter.ToMarkupString(Talk.Description) +
    +
    +
    + @if (ShowAdminActions) + { + + } +
    +

  • diff --git a/src/LinkDotNet.Blog.Web/Features/AboutMe/Components/Talk/Talks.razor b/src/LinkDotNet.Blog.Web/Features/AboutMe/Components/Talk/Talks.razor index 102cb9ac..4090f9da 100644 --- a/src/LinkDotNet.Blog.Web/Features/AboutMe/Components/Talk/Talks.razor +++ b/src/LinkDotNet.Blog.Web/Features/AboutMe/Components/Talk/Talks.razor @@ -7,7 +7,7 @@ @if (ShowAdminActions) { + Add talk }