Compare commits

...

2 Commits

Author SHA1 Message Date
e3b656a036 Changed / route to a redirect
Some checks failed
linter / quality (push) Successful in 4m47s
tests / ci (8.4) (push) Failing after 4m31s
tests / ci (8.5) (push) Failing after 4m15s
2026-03-21 10:23:49 +01:00
2d1c5e6397 Fix eslint 2026-03-21 10:23:17 +01:00
4 changed files with 1 additions and 60 deletions

View File

@@ -1,44 +0,0 @@
<script setup lang="ts">
import { Head, Link } from '@inertiajs/vue3';
</script>
<template>
<Head title="Welcome">
</Head>
<div
class="flex min-h-screen flex-col items-center bg-[#FDFDFC] p-6 text-[#1b1b18] lg:justify-center lg:p-8 dark:bg-[#0a0a0a]"
>
<header
class="mb-6 w-full max-w-[335px] text-sm not-has-[nav]:hidden lg:max-w-4xl"
>
<nav class="flex items-center justify-end gap-4">
<Link
href="/test"
class="inline-block rounded-sm border border-[#19140035] px-5 py-1.5 text-sm leading-normal text-[#1b1b18] hover:border-[#1915014a] dark:border-[#3E3E3A] dark:text-[#EDEDEC] dark:hover:border-[#62605b]"
view-transition
>
Test
</Link>
<Link
href="/perceptron"
class="inline-block rounded-sm border border-[#19140035] px-5 py-1.5 text-sm leading-normal text-[#1b1b18] hover:border-[#1915014a] dark:border-[#3E3E3A] dark:text-[#EDEDEC] dark:hover:border-[#62605b]"
:data="{type: 'simple'}"
view-transition
>
Perceptron Simple
</Link>
</nav>
</header>
<div
class="flex w-full items-center justify-center opacity-100 transition-opacity duration-750 lg:grow starting:opacity-0"
>
<main
class="flex w-full max-w-[335px] flex-col-reverse overflow-hidden rounded-lg lg:max-w-4xl lg:flex-row"
>
</main>
</div>
</div>
</template>

View File

@@ -1,11 +0,0 @@
<script setup lang="ts">
import { Head, Link } from '@inertiajs/vue3';
</script>
<template>
<p>
I'm you father
</p>
</template>

View File

@@ -1,5 +1,3 @@
import type { Point } from "chart.js";
export type Iteration = {
epoch: number;
exampleIndex: number;

View File

@@ -4,9 +4,7 @@ use App\Http\Controllers\PerceptronController;
use Illuminate\Support\Facades\Broadcast;
use Illuminate\Support\Facades\Route;
Route::inertia('/', 'Home')->name('home');
Route::inertia('/test', 'Test')->name('test');
Route::redirect('/', '/perceptron?type=simple')->name('home');
Route::resource('perceptron', PerceptronController::class)->only(['index']);