mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-02-05 13:49:07 +00:00
Added second supporter (#182)
This commit is contained in:
parent
e419c5561b
commit
8bd54e6d61
@ -8,7 +8,7 @@ Things we are currently working on:
|
||||
|
||||
Other News:
|
||||
|
||||
- October 2024: We have our first financial supporter: Thank you @richard-stanton for financially supporting AI Studio. The supporter page in the app will be updated accordingly with the next update.
|
||||
- October 2024: We've found the first two financial supporters. Huge thanks to `richard-stanton` and `peerschuett` for backing the project. Thanks for having the courage to be the first to support us.
|
||||
|
||||
- October 2024: The [German Aerospace Center (DLR)](https://en.wikipedia.org/wiki/German_Aerospace_Center) ([Website](https://www.dlr.de/en)) will use AI Studio at least within the scope of one project and will also contribute to its further development. This is great news.
|
||||
|
||||
|
18
app/MindWork AI Studio/Components/Supporter.razor
Normal file
18
app/MindWork AI Studio/Components/Supporter.razor
Normal file
@ -0,0 +1,18 @@
|
||||
<MudListItem T="string" Icon="@this.Icon">
|
||||
@if (string.IsNullOrWhiteSpace(this.URL))
|
||||
{
|
||||
<MudText Typo="Typo.body1" Inline="@true">
|
||||
@this.Name
|
||||
</MudText>
|
||||
}
|
||||
else
|
||||
{
|
||||
<MudLink Href="@this.URL" Target="_blank">
|
||||
@this.Name
|
||||
</MudLink>
|
||||
}
|
||||
|
||||
<MudText Typo="Typo.body1" Class="ml-3" Inline="@true">
|
||||
@this.Acknowledgment
|
||||
</MudText>
|
||||
</MudListItem>
|
26
app/MindWork AI Studio/Components/Supporter.razor.cs
Normal file
26
app/MindWork AI Studio/Components/Supporter.razor.cs
Normal file
@ -0,0 +1,26 @@
|
||||
using Microsoft.AspNetCore.Components;
|
||||
|
||||
namespace AIStudio.Components;
|
||||
|
||||
public partial class Supporter : ComponentBase
|
||||
{
|
||||
[Parameter]
|
||||
public string Name { get; set; } = string.Empty;
|
||||
|
||||
[Parameter]
|
||||
public string Acknowledgment { get; set; } = string.Empty;
|
||||
|
||||
[Parameter]
|
||||
public string? URL { get; set; }
|
||||
|
||||
[Parameter]
|
||||
public SupporterType Type { get; set; }
|
||||
|
||||
private string Icon => this.Type switch
|
||||
{
|
||||
SupporterType.INDIVIDUAL => Icons.Material.Filled.Person,
|
||||
SupporterType.ORGANIZATION => Icons.Material.Filled.Business,
|
||||
|
||||
_ => Icons.Material.Filled.Person4,
|
||||
};
|
||||
}
|
8
app/MindWork AI Studio/Components/SupporterType.cs
Normal file
8
app/MindWork AI Studio/Components/SupporterType.cs
Normal file
@ -0,0 +1,8 @@
|
||||
namespace AIStudio.Components;
|
||||
|
||||
public enum SupporterType
|
||||
{
|
||||
UNKNOWN,
|
||||
INDIVIDUAL,
|
||||
ORGANIZATION
|
||||
}
|
@ -33,14 +33,8 @@
|
||||
The first 10 supporters who make a monthly contribution:
|
||||
</MudText>
|
||||
<MudList T="string">
|
||||
<MudListItem T="string" Icon="@Icons.Material.Filled.Person">
|
||||
<MudLink Href="https://github.com/richard-stanton" Target="_blank">
|
||||
richard-stanton
|
||||
</MudLink>
|
||||
<MudText Typo="Typo.body1" Class="ml-3" Inline="@true">
|
||||
Thank you, Richard, for being the first.
|
||||
</MudText>
|
||||
</MudListItem>
|
||||
<Supporter Name="richard-stanton" Type="SupporterType.INDIVIDUAL" URL="https://github.com/richard-stanton" Acknowledgment="Thank you, Richard, for being the first."/>
|
||||
<Supporter Name="peerschuett" Type="SupporterType.INDIVIDUAL" URL="https://github.com/peerschuett" Acknowledgment="Thank you, Peer, for your courage in being the second person to support the project financially."/>
|
||||
</MudList>
|
||||
</MudPaper>
|
||||
</MudItem>
|
||||
|
@ -1,2 +1,3 @@
|
||||
# v0.9.16, build 191 (2024-11-xx xx:xx UTC)
|
||||
- Added our second financial contributor: Thanks `peerschuett` for supporting AI Studio financially.
|
||||
- Improved the layout of the app window, for example, in full-screen mode on large or high-resolution monitors.
|
Loading…
Reference in New Issue
Block a user