diff --git a/src/JobsJobsJobs/Client/Pages/Profile/Search.razor b/src/JobsJobsJobs/Client/Pages/Profile/Search.razor
index 0175372..7de385c 100644
--- a/src/JobsJobsJobs/Client/Pages/Profile/Search.razor
+++ b/src/JobsJobsJobs/Client/Pages/Profile/Search.razor
@@ -14,9 +14,9 @@
{
if (!Searched)
{
-
Instructions go here
+ Enter one or more criteria to filter results, or just click “Search” to list all profiles.
}
-
+
+
@if (SearchResults.Any())
{
}
+ else if (Searched)
+ {
+ No results found for the specified criteria
+ }
}
diff --git a/src/JobsJobsJobs/Client/Pages/Profile/Search.razor.cs b/src/JobsJobsJobs/Client/Pages/Profile/Search.razor.cs
index 337443b..82724be 100644
--- a/src/JobsJobsJobs/Client/Pages/Profile/Search.razor.cs
+++ b/src/JobsJobsJobs/Client/Pages/Profile/Search.razor.cs
@@ -54,9 +54,6 @@ namespace JobsJobsJobs.Client.Pages.Profile
{
ErrorMessages.Add(continentResult.Error);
}
-
- // TODO: remove this call once the filter is ready
- await RetrieveProfiles();
}
///
diff --git a/src/JobsJobsJobs/Client/Shared/Collapsible.razor b/src/JobsJobsJobs/Client/Shared/Collapsible.razor
new file mode 100644
index 0000000..1f38e72
--- /dev/null
+++ b/src/JobsJobsJobs/Client/Shared/Collapsible.razor
@@ -0,0 +1,25 @@
+
+
+ @if (!Collapsed)
+ {
+
@ChildContent
+ }
+
+
+@code {
+ [Parameter]
+ public RenderFragment ChildContent { get; set; } = default!;
+
+ [Parameter]
+ public bool Collapsed { get; set; } = false;
+
+ [Parameter]
+ public string HeaderText { get; set; } = "Toggle";
+
+ private void Toggle() => Collapsed = !Collapsed;
+}
diff --git a/src/JobsJobsJobs/Client/Shared/Collapsible.razor.css b/src/JobsJobsJobs/Client/Shared/Collapsible.razor.css
new file mode 100644
index 0000000..82ff7b3
--- /dev/null
+++ b/src/JobsJobsJobs/Client/Shared/Collapsible.razor.css
@@ -0,0 +1,16 @@
+a.jjj-c-collapsed,
+a.jjj-c-open {
+ text-decoration: none;
+ font-weight: bold;
+ color: black;
+}
+a.jjj-c-collapsed:hover,
+a.jjj-c-open:hover {
+ cursor: pointer;
+}
+.jjj-c-collapsed::before {
+ content: '\2b9e \00a0';
+}
+.jjj-c-open::before {
+ content: '\2b9f \00a0';
+}
\ No newline at end of file
diff --git a/src/JobsJobsJobs/Directory.Build.props b/src/JobsJobsJobs/Directory.Build.props
index eaa6e00..8868ec2 100644
--- a/src/JobsJobsJobs/Directory.Build.props
+++ b/src/JobsJobsJobs/Directory.Build.props
@@ -2,7 +2,7 @@
net5.0
enable
- 0.7.2.0
- 0.7.2.0
+ 0.8.0.0
+ 0.8.0.0