Skip to content

Commit

Permalink
Add Elmah.io to the Sponsor list
Browse files Browse the repository at this point in the history
Also adjusted styling a bit
  • Loading branch information
NielsPilgaard committed Apr 2, 2024
1 parent 7b30761 commit 9357752
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 20 deletions.
9 changes: 6 additions & 3 deletions src/web/Jordnaer/Features/Sponsors/SponsorCard.razor
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@
<MudLink Href="@Sponsor.Link" Target="_blank" Underline="Underline.None">
<MudCard Elevation="5" Class="mt-5" Style="max-width: 300px">
<MudCardContent>
<MudImage Fluid Src="@Sponsor.LogoUrl" loading="lazy" />
<MudText Typo="Typo.h5">@Sponsor.Name</MudText>
<MudText Typo="Typo.subtitle1">@Sponsor.Description</MudText>
<MudImage Fluid Src="@Sponsor.LogoUrl" />
@if (!string.IsNullOrEmpty(Sponsor.Name))
{
<MudText Typo="Typo.h5">@Sponsor.Name</MudText>
}
<MudText Class="mt-2" Typo="Typo.subtitle1">@Sponsor.Description</MudText>
</MudCardContent>
</MudCard>
</MudLink>
Expand Down
41 changes: 24 additions & 17 deletions src/web/Jordnaer/Pages/Footer/Sponsors.razor
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<MetadataComponent Title="Mini Møder - Sponsorer"
Description="Mini Møder's sponsorer" />

<MudContainer MaxWidth="MaxWidth.Medium">
<MudContainer MaxWidth="MaxWidth.Large">
<MudPaper Elevation="3" Class="pa-10 mt-5">
<MudText Typo="Typo.h3" Class="mb-5">Vore Sponsorer</MudText>
<MudText Typo="Typo.h3" Class="mb-5 text-center">Vore Sponsorer</MudText>
<MudDivider Class="mt-1 mb-5" />

<MudGrid Justify="Justify.SpaceEvenly">
Expand All @@ -16,7 +16,7 @@
</MudGrid>

<MudDivider Class="my-10" />
<MudText Typo="Typo.h4" Class="mt-5 mb-3">Bliv Sponsor</MudText>
<MudText Typo="Typo.h4" Class="mt-5 mb-3 text-center">Bliv Sponsor</MudText>
<MudText Typo="Typo.body1">
At være en sponsor af Mini Møder giver en unik mulighed for at støtte et
lokalt initiativ og samtidig opnå synlighed for dit brand.
Expand All @@ -29,22 +29,29 @@

@code {

private readonly List<Sponsor> _sponsors = new()
{
new Sponsor
{
Name = "Moon Creative",
Description = "Moon Creative laver illustrationer og grafisk design til iværksættere og virksomheder, der ønsker at skabe forandring i mennesker",
LogoUrl = "https://usercontent.one/wp/www.mooncreative.dk/wp-content/uploads/2022/04/Logo_mooncreative_long-2-e1649063478985.png",
Link = "https://www.mooncreative.dk/"
private readonly List<Sponsor> _sponsors =
[
new Sponsor
{
Name = string.Empty,
Description = "Moon Creative laver illustrationer og grafisk design til iværksættere og virksomheder, der ønsker at skabe forandring i mennesker",
LogoUrl = "https://usercontent.one/wp/www.mooncreative.dk/wp-content/uploads/2022/04/Logo_mooncreative_long-2-e1649063478985.png",
Link = "https://www.mooncreative.dk/"
},
new Sponsor
{
Name = string.Empty,
Description = "Microsoft for Startups samler mennesker, viden og teknologi for at hjælpe iværksættere på alle stadier med at løse udfordringer i startfasen.",
LogoUrl = "https://i.ibb.co/v4Q7pkQ/startups-wordmark-purple.png",
Link = "https://www.microsoft.com/en-us/startups"
},
new Sponsor
new Sponsor
{
Name = string.Empty,
Description = "Microsoft for Startups samler mennesker, viden og teknologi for at hjælpe iværksættere på alle stadier med at løse udfordringer i startfasen.",
LogoUrl = "https://i.ibb.co/v4Q7pkQ/startups-wordmark-purple.png",
Link = "https://www.microsoft.com/en-us/startups"
Name = string.Empty,
Description = "Tak til elmah.io for deres støtte! Deres fejlhåndteringsværktøj hjælper med at sikre en problemfri brugeroplevelse i vores applikationer.",
LogoUrl = "https://jordnaer.blob.core.windows.net/sponsor-images/elmahio-wide-logo-highquality.png",
Link = "https://elmah.io/"
}
};
];

}

0 comments on commit 9357752

Please sign in to comment.