diff --git a/.gitea/workflows/build-image.yaml b/.gitea/workflows/build-image.yaml index 1c8bb60..4db7bd0 100644 --- a/.gitea/workflows/build-image.yaml +++ b/.gitea/workflows/build-image.yaml @@ -7,7 +7,7 @@ jobs: env: IMAGE_NAME: tladle REGISTRY_NAME: gitea.sc0tt.org - GIT_TAG: 1.0.2 + GIT_TAG: 1.1 runs-on: ubuntu-latest steps: - name: Checkout diff --git a/app/Http/Controllers/TlaController.php b/app/Http/Controllers/TlaController.php index 1b6176a..021b933 100644 --- a/app/Http/Controllers/TlaController.php +++ b/app/Http/Controllers/TlaController.php @@ -124,6 +124,10 @@ class TlaController extends Controller ]); } + public function suggestion(?String $language = "en") { + + } + public function update(Request $request, Tla $tla): RedirectResponse { $request->validate([ diff --git a/app/Models/Tla.php b/app/Models/Tla.php index a58c37d..1e6ab2b 100644 --- a/app/Models/Tla.php +++ b/app/Models/Tla.php @@ -11,7 +11,7 @@ class Tla extends Model use HasFactory; - protected $fillable = ['acronym', 'hint', 'used', 'context']; + protected $fillable = ['acronym', 'hint', 'language', 'used', 'context']; public static function GetCurrentTla( string $language ) : Tla { $tla = Tla::where('used', date("Y-m-d")) diff --git a/app/Models/TlaSuggestion.php b/app/Models/TlaSuggestion.php new file mode 100644 index 0000000..f455d2d --- /dev/null +++ b/app/Models/TlaSuggestion.php @@ -0,0 +1,12 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + A + + L + Tdle + DLE + + T + + + + A + + L + Tdle + DLE + + T + + + + A + + L + Tdle + DLE + + T + + + + + + + + + A + + L + Tdle + DLE + + T + + diff --git a/assets-nopub/logo_full_plain.svg b/assets-nopub/logo_full_plain.svg new file mode 100644 index 0000000..fcc4fe1 --- /dev/null +++ b/assets-nopub/logo_full_plain.svg @@ -0,0 +1,565 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + A + + L + Tdle + DLE + + T + + + + A + + L + Tdle + DLE + + T + + + + A + + L + Tdle + DLE + + T + + + + + + + + + A + + L + Tdle + DLE + + T + + diff --git a/database/migrations/2026_08_13_114058_create_tlasuggestion_table.php b/database/migrations/2026_08_13_114058_create_tlasuggestion_table.php new file mode 100644 index 0000000..ef75752 --- /dev/null +++ b/database/migrations/2026_08_13_114058_create_tlasuggestion_table.php @@ -0,0 +1,31 @@ +id(); + $table->string('acronym'); + $table->string('hint')->nullable(); + $table->enum('language', ['hu', 'en']); + $table->longText('context')->nullable(); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('tla_suggestion'); + } +}; diff --git a/public/logo_full_long_dark.svg b/public/logo_full_long_dark.svg new file mode 100644 index 0000000..05000a1 --- /dev/null +++ b/public/logo_full_long_dark.svg @@ -0,0 +1,90 @@ + + + + + + + + + + + + + Tdle + + + + + diff --git a/public/logo_full_long_light.svg b/public/logo_full_long_light.svg new file mode 100644 index 0000000..23f1e36 --- /dev/null +++ b/public/logo_full_long_light.svg @@ -0,0 +1,90 @@ + + + + + + + + + + + + + Tdle + + + + + diff --git a/public/logo_full_tall_dark.svg b/public/logo_full_tall_dark.svg new file mode 100644 index 0000000..cac2d01 --- /dev/null +++ b/public/logo_full_tall_dark.svg @@ -0,0 +1,90 @@ + + + + + + + + + + + + + Tdle + + + + + diff --git a/public/logo_full_tall_light.svg b/public/logo_full_tall_light.svg new file mode 100644 index 0000000..748cb06 --- /dev/null +++ b/public/logo_full_tall_light.svg @@ -0,0 +1,145 @@ + + + + + + + + + + + + + + + + + + Tdle + + + + + + + + + + diff --git a/resources/css/app.css b/resources/css/app.css index 0ac0f3c..02e77c1 100644 --- a/resources/css/app.css +++ b/resources/css/app.css @@ -9,6 +9,10 @@ 'Segoe UI Symbol', 'Noto Color Emoji'; } +:root { + --ui-primary: rgb(255, 200, 0); +} + .main { text-align: center; } diff --git a/resources/js/App.vue b/resources/js/App.vue index bdac5e0..5111eed 100644 --- a/resources/js/App.vue +++ b/resources/js/App.vue @@ -1,10 +1,8 @@