Vibe Google Analytics

This commit is contained in:
2026-06-25 18:55:04 -04:00
parent fdf8e754f5
commit 73ae3eac53
86 changed files with 53925 additions and 46039 deletions
+2 -2
View File
@@ -20,8 +20,8 @@
</head>
<body>
<Routes />
<script src="_framework/blazor.web.js"></script>
<Routes/>
<script src="_framework/blazor.web.js"></script>
</body>
</html>
+1 -1
View File
@@ -1,4 +1,4 @@
<Router AppAssembly="@typeof(Program).Assembly" AdditionalAssemblies="new[] { typeof(Shared.Pages.Home).Assembly }">
<Router AppAssembly="@typeof(Program).Assembly" AdditionalAssemblies="new[] { typeof(Home).Assembly }">
<Found Context="routeData">
<RouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)"/>
<FocusOnNavigate RouteData="@routeData" Selector="h1"/>
+8 -8
View File
@@ -1,5 +1,8 @@
using Microsoft.EntityFrameworkCore;
using Server;
using Server.Components;
using Shared.Pages;
using Shared.Services;
var builder = WebApplication.CreateBuilder(args);
@@ -7,7 +10,7 @@ builder.Services.AddControllers();
builder.Services.AddEndpointsApiExplorer();
builder.Services.AddRazorComponents().AddInteractiveServerComponents();
builder.Services.AddTelerikBlazor();
builder.Services.AddSingleton<Shared.Services.CardRenderingService>();
builder.Services.AddSingleton<CardRenderingService>();
var connectionString = builder.Configuration.GetConnectionString("DefaultConnection");
builder.Services.AddDbContext<AppDbContext>(options =>
@@ -32,17 +35,14 @@ using (var scope = app.Services.CreateScope())
}
}
if (!app.Environment.IsDevelopment())
{
app.UseExceptionHandler("/Error");
}
if (!app.Environment.IsDevelopment()) app.UseExceptionHandler("/Error");
app.UseStaticFiles();
app.UseAntiforgery();
app.MapControllers();
app.MapRazorComponents<Server.Components.App>()
app.MapRazorComponents<App>()
.AddInteractiveServerRenderMode()
.AddAdditionalAssemblies(typeof(Shared.Pages.Home).Assembly);
.AddAdditionalAssemblies(typeof(Home).Assembly);
app.Run();
app.Run();
-3
View File
@@ -257,9 +257,6 @@ a, .btn-link {
}
.inline-card-btn {
background: none;
border: none;