diff --git a/src/Portfolio.Api/App.razor b/src/Portfolio.Api/App.razor
deleted file mode 100644
index 4124adc..0000000
--- a/src/Portfolio.Api/App.razor
+++ /dev/null
@@ -1,58 +0,0 @@
-@using Microsoft.AspNetCore.Components.Web;
-@using Microsoft.AspNetCore.Components.Routing
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/Portfolio.Api/Portfolio.Api.csproj b/src/Portfolio.Api/Portfolio.Api.csproj
index 8cdda73..bbdd1dd 100644
--- a/src/Portfolio.Api/Portfolio.Api.csproj
+++ b/src/Portfolio.Api/Portfolio.Api.csproj
@@ -10,7 +10,7 @@
-
+
diff --git a/src/Portfolio.Api/Program.cs b/src/Portfolio.Api/Program.cs
index 528c0e1..d2b722c 100644
--- a/src/Portfolio.Api/Program.cs
+++ b/src/Portfolio.Api/Program.cs
@@ -57,7 +57,6 @@ builder.Services.AddHopFrame(options => {
.List(false);
table.Property(p => p.Description)
- .List(false)
.IsTextArea(true);
table.Property(p => p.SourceCode)
@@ -66,23 +65,20 @@ builder.Services.AddHopFrame(options => {
context.Table(table => {
table.Property(a => a.AboutMe)
- .List(false)
+ .SetDisplayLength(100)
.IsTextArea(true);
table.Property(a => a.Future)
- .List(false)
+ .SetDisplayLength(100)
.IsTextArea(true);
});
context.Table(table => {
table.Property(t => t.Description)
- .IsTextArea(true)
- .List(false);
+ .IsTextArea(true);
});
});
});
-builder.Services.AddRazorComponents()
- .AddInteractiveServerComponents();
var app = builder.Build();
@@ -102,9 +98,6 @@ app.UseOutputCache();
app.MapControllers();
-app.UseAntiforgery();
-app.MapStaticAssets();
-app.MapRazorComponents()
- .MapHopFramePages();
+app.MapHopFrame();
app.Run();