diff --git a/app/MindWork AI Studio/Components/Blocks/InnerScrolling.razor b/app/MindWork AI Studio/Components/Blocks/InnerScrolling.razor new file mode 100644 index 0000000..fbd9f58 --- /dev/null +++ b/app/MindWork AI Studio/Components/Blocks/InnerScrolling.razor @@ -0,0 +1,7 @@ +
+
+ @this.ChildContent +
+ + @this.FooterContent +
\ No newline at end of file diff --git a/app/MindWork AI Studio/Components/Blocks/InnerScrolling.razor.cs b/app/MindWork AI Studio/Components/Blocks/InnerScrolling.razor.cs new file mode 100644 index 0000000..f9d7ed7 --- /dev/null +++ b/app/MindWork AI Studio/Components/Blocks/InnerScrolling.razor.cs @@ -0,0 +1,25 @@ +using Microsoft.AspNetCore.Components; + +namespace AIStudio.Components.Blocks; + +public partial class InnerScrolling : ComponentBase +{ + /// + /// Set the height of anything above the scrolling content; usually a header. + /// What we do is calc(100vh - THIS). Means, you can use multiple measures like + /// 230px - 3em. Default is 3em. + /// + [Parameter] + public string HeaderHeight { get; set; } = "3em"; + + [Parameter] + public RenderFragment? ChildContent { get; set; } + + /// + /// Optional footer content, shown after the scrolling area. + /// + [Parameter] + public RenderFragment? FooterContent { get; set; } + + private string Height => $"height: calc(100vh - {this.HeaderHeight});"; +} \ No newline at end of file diff --git a/app/MindWork AI Studio/Components/Pages/About.razor b/app/MindWork AI Studio/Components/Pages/About.razor index 135eb22..9c72ccc 100644 --- a/app/MindWork AI Studio/Components/Pages/About.razor +++ b/app/MindWork AI Studio/Components/Pages/About.razor @@ -3,64 +3,62 @@ About MindWork AI Studio -
-
- - - -
- - Versions -
-
- - - The following list shows the versions of the MindWork AI Studio, the used compilers, build time, etc.: - - - - - - - - - - - -
- - -
- - Used Open Source Projects -
-
- - - - - - - - - - - - - - -
- - -
- - License: FSL-1.1-MIT -
-
- - - -
-
-
-
\ No newline at end of file + + + + +
+ + Versions +
+
+ + + The following list shows the versions of the MindWork AI Studio, the used compilers, build time, etc.: + + + + + + + + + + + +
+ + +
+ + Used Open Source Projects +
+
+ + + + + + + + + + + + + + +
+ + +
+ + License: FSL-1.1-MIT +
+
+ + + +
+
+
\ No newline at end of file diff --git a/app/MindWork AI Studio/Components/Pages/Chat.razor b/app/MindWork AI Studio/Components/Pages/Chat.razor index 1feff68..ae9138d 100644 --- a/app/MindWork AI Studio/Components/Pages/Chat.razor +++ b/app/MindWork AI Studio/Components/Pages/Chat.razor @@ -10,8 +10,8 @@ } -
-
+ + @if (this.chatThread is not null) { foreach (var block in this.chatThread.Blocks.OrderBy(n => n.Time)) @@ -19,9 +19,10 @@ } } -
- - - - -
\ No newline at end of file + + + + + + + \ No newline at end of file diff --git a/app/MindWork AI Studio/Components/Pages/Home.razor b/app/MindWork AI Studio/Components/Pages/Home.razor index d19c615..23ca0ca 100644 --- a/app/MindWork AI Studio/Components/Pages/Home.razor +++ b/app/MindWork AI Studio/Components/Pages/Home.razor @@ -4,69 +4,67 @@ Let's get started -
-
- + + - - -
- - Introduction -
-
- - - Welcome to MindWork AI Studio! - - - Thank you for considering MindWork AI Studio for your AI needs. This app is designed to help you harness - the power of Large Language Models (LLMs). Please note that this app doesn't come with an integrated - LLM. Instead, you will need to bring an API key from a suitable provider. - - - Here's what makes MindWork AI Studio stand out: - - - - We hope you enjoy using MindWork AI Studio to bring your AI projects to life! - - -
+ + +
+ + Introduction +
+
+ + + Welcome to MindWork AI Studio! + + + Thank you for considering MindWork AI Studio for your AI needs. This app is designed to help you harness + the power of Large Language Models (LLMs). Please note that this app doesn't come with an integrated + LLM. Instead, you will need to bring an API key from a suitable provider. + + + Here's what makes MindWork AI Studio stand out: + + + + We hope you enjoy using MindWork AI Studio to bring your AI projects to life! + + +
- - -
- - Our vision -
-
- - - Curious about the vision for MindWork AI Studio and what the future holds? We're here to address just that. Remember, this is a free, open-source project, meaning we can't guarantee when or if this vision will be fully realized. Our aim is to share our vision with you to help you decide whether this app is right for you. - - - So, where are we headed, and how could the app evolve in the coming months and years? The following list outlines our ideas, though not in order of priority: - - - - We hope this vision excites you as much as it excites us. Together, let's build a powerful and flexible AI toolkit to support all your creative, professional, and everyday needs with MindWork AI Studio. - - -
+ + +
+ + Our vision +
+
+ + + Curious about the vision for MindWork AI Studio and what the future holds? We're here to address just that. Remember, this is a free, open-source project, meaning we can't guarantee when or if this vision will be fully realized. Our aim is to share our vision with you to help you decide whether this app is right for you. + + + So, where are we headed, and how could the app evolve in the coming months and years? The following list outlines our ideas, though not in order of priority: + + + + We hope this vision excites you as much as it excites us. Together, let's build a powerful and flexible AI toolkit to support all your creative, professional, and everyday needs with MindWork AI Studio. + + +
- - -
- - Quick Start Guide -
-
- - - -
+ + +
+ + Quick Start Guide +
+
+ + + +
-
-
-
\ No newline at end of file + + \ No newline at end of file diff --git a/app/MindWork AI Studio/Components/Pages/Settings.razor b/app/MindWork AI Studio/Components/Pages/Settings.razor index 66a2739..667f4d4 100644 --- a/app/MindWork AI Studio/Components/Pages/Settings.razor +++ b/app/MindWork AI Studio/Components/Pages/Settings.razor @@ -2,57 +2,55 @@ Settings -
-
- - Configured Providers - - - - - - - - - - # - Instance Name - Provider - Model - Actions - - - @context.Num - @context.InstanceName - @context.UsedProvider - @context.Model - - - Edit - - - Delete - - - - + + + Configured Providers + + + + + + + + + + # + Instance Name + Provider + Model + Actions + + + @context.Num + @context.InstanceName + @context.UsedProvider + @context.Model + + + Edit + + + Delete + + + + - @if(this.SettingsManager.ConfigurationData.Providers.Count == 0) - { - No providers configured yet. - } + @if(this.SettingsManager.ConfigurationData.Providers.Count == 0) + { + No providers configured yet. + } - - Add Provider - + + Add Provider + - Options - - - - -
-
\ No newline at end of file + Options + + + + + \ No newline at end of file diff --git a/app/MindWork AI Studio/Components/Pages/Supporters.razor b/app/MindWork AI Studio/Components/Pages/Supporters.razor index f3cef07..1ecc606 100644 --- a/app/MindWork AI Studio/Components/Pages/Supporters.razor +++ b/app/MindWork AI Studio/Components/Pages/Supporters.razor @@ -2,49 +2,47 @@ Supporters -
-
- -
- Our Titans - - In this section, we highlight the titan supporters of MindWork AI Studio. Titans are prestigious companies that provide significant support to our mission. - - - For companies, sponsoring MindWork AI Studio is not only a way to support innovation but also a valuable opportunity for public relations and marketing. Your company's name and logo will be featured prominently, showcasing your commitment to using cutting-edge AI tools and enhancing your reputation as an innovative enterprise. - - - Become our first Titan - -
- - - - - - - Individual Contributors - - - - Become a contributor - - - - - - - - - Business Contributors - - - - Become a contributor - - - - + +
+ Our Titans + + In this section, we highlight the titan supporters of MindWork AI Studio. Titans are prestigious companies that provide significant support to our mission. + + + For companies, sponsoring MindWork AI Studio is not only a way to support innovation but also a valuable opportunity for public relations and marketing. Your company's name and logo will be featured prominently, showcasing your commitment to using cutting-edge AI tools and enhancing your reputation as an innovative enterprise. + + + Become our first Titan +
-
\ No newline at end of file + + + + + + + Individual Contributors + + + + Become a contributor + + + + + + + + + Business Contributors + + + + Become a contributor + + + + + + \ No newline at end of file