Skip to content

Commit d2c5ff7

Browse files
committed
Change layout
1 parent a19d20b commit d2c5ff7

File tree

1 file changed

+29
-28
lines changed

1 file changed

+29
-28
lines changed

Components/Pages/Home.razor

Lines changed: 29 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -14,34 +14,7 @@
1414

1515
<PageTitle>Github Star Search</PageTitle>
1616

17-
@if (string.IsNullOrEmpty(GithubUsername) && _searchResults.Count == 0)
18-
{
19-
<MudPaper Class="pa-4" Elevation="4">
20-
<MudText Typo="Typo.h5">Welcome to GitHub Star Search!</MudText>
21-
<MudDivider Class="my-2"/>
22-
23-
<MudText Typo="Typo.body1" Class="mt-2">
24-
Did you star over 500 repositories and now cant find that awesome library you bookmarked last week?
25-
Are you tired of scrolling endlessly through your GitHub stars, only to lose track of what youre looking
26-
for?
27-
</MudText>
28-
29-
<MudText Typo="Typo.body1" Class="mt-2">
30-
Don’t worry! <strong>GitHub Star Search</strong> is here to save the day. With blazing-fast full-text
31-
search,
32-
you’ll find your favorite repositories in no time. No more stress, no more chaos—just your starred
33-
repositories,
34-
neatly organized and instantly searchable.
35-
</MudText>
36-
37-
<MudDivider Class="my-2"/>
38-
<MudText Typo="Typo.caption" Class="text-secondary">
39-
Go ahead, give it a try and never lose sight of your stars again!
40-
</MudText>
41-
</MudPaper>
42-
}
43-
44-
<MudGrid Class="mt-4">
17+
<MudGrid>
4518
<!-- GitHub Username Input Section -->
4619
<MudItem xs="12" md="6">
4720
<MudPaper Class="pa-4">
@@ -128,6 +101,34 @@
128101
}
129102
else
130103
{
104+
@if (string.IsNullOrEmpty(GithubUsername) && _searchResults.Count == 0)
105+
{
106+
<MudPaper Class="pa-4 mt-4" Elevation="4">
107+
<MudText Typo="Typo.h5">Welcome to GitHub Star Search!</MudText>
108+
<MudDivider Class="my-2"/>
109+
110+
<MudText Typo="Typo.body1" Class="mt-2">
111+
Did you star over 500 repositories and now cant find that awesome library you bookmarked last week?
112+
Are you tired of scrolling endlessly through your GitHub stars, only to lose track of what youre
113+
looking
114+
for?
115+
</MudText>
116+
117+
<MudText Typo="Typo.body1" Class="mt-2">
118+
Don’t worry! <strong>GitHub Star Search</strong> is here to save the day. With blazing-fast full-text
119+
search,
120+
you’ll find your favorite repositories in no time. No more stress, no more chaos—just your starred
121+
repositories,
122+
neatly organized and instantly searchable.
123+
</MudText>
124+
125+
<MudDivider Class="my-2"/>
126+
<MudText Typo="Typo.caption" Class="text-secondary">
127+
Go ahead, give it a try and never lose sight of your stars again!
128+
</MudText>
129+
</MudPaper>
130+
}
131+
131132
<!-- No Search Results Placeholder -->
132133
<MudPaper Class="pa-4 mt-4">
133134
<MudText Typo="Typo.h5">How to Use GitHub Star Search</MudText>

0 commit comments

Comments
 (0)