diff --git a/apps/frontend/astro.config.mjs b/apps/frontend/astro.config.mjs index cb46fe8..e9761ee 100644 --- a/apps/frontend/astro.config.mjs +++ b/apps/frontend/astro.config.mjs @@ -3,6 +3,9 @@ import { defineConfig } from 'astro/config'; import tailwind from '@astrojs/tailwind'; export default defineConfig({ + devToolbar: { + enabled: false + }, integrations: [tailwind()], server: { host: true, diff --git a/apps/frontend/src/layouts/Layout.astro b/apps/frontend/src/layouts/Layout.astro index f6b55d4..b886dfe 100644 --- a/apps/frontend/src/layouts/Layout.astro +++ b/apps/frontend/src/layouts/Layout.astro @@ -6,10 +6,19 @@ - Astro Basics + Teletype Games - +
+ Teletype Games + +
+
+ +
diff --git a/apps/frontend/src/pages/catalog.astro b/apps/frontend/src/pages/catalog.astro new file mode 100644 index 0000000..f10eb19 --- /dev/null +++ b/apps/frontend/src/pages/catalog.astro @@ -0,0 +1,37 @@ +--- +import Layout from '../layouts/Layout.astro'; +const BASE = "https://games.teletype.hu"; +const API = BASE + "/api/software"; + +const res = await fetch(API); +const json = await res.json(); +const softwares = json.softwares; +--- + + +
+

Játékaink

+

Fedezd fel a TIC-80 és más platformokra készült játékokat, közvetlenül a böngészőből játszható verziókkal!

+
+ +
+ {softwares.map(({ software, webPlayableRelease }) => ( +
+
+

{software.title}

+

{software.desc}

+
+
Author: {software.author}
+
Platform: {software.platform}
+
+ {webPlayableRelease?.htmlFolderPath && ( + + ▶ Play in Browser + + )} +
+
+ ))} +
+
\ No newline at end of file diff --git a/apps/frontend/src/pages/index.astro b/apps/frontend/src/pages/index.astro index e22150a..4f0b642 100644 --- a/apps/frontend/src/pages/index.astro +++ b/apps/frontend/src/pages/index.astro @@ -1,46 +1,54 @@ --- -const BASE = "https://games.teletype.hu"; -const API = BASE + "/api/software"; - -const res = await fetch(API); -const json = await res.json(); -const softwares = json.softwares; +import Layout from '../layouts/Layout.astro'; --- - - - - Teletype Games - - -
+ +
+ +

Teletype Games

-

Fedezd fel a TIC-80 és más platformokra készült játékokat, közvetlenül a böngészőből játszható verziókkal!

-
+

+ A Teletype Games egy független játékfejlesztő közösség, amely a kreatív szabadságra, az egyenrangúságra és az open source szemléletre épül. Célunk rövid fejlesztési ciklusú, kísérleti és teljes értékű játékok létrehozása. +

+ -
- {softwares.map(({ software, webPlayableRelease }) => ( -
-
-

{software.title}

-

{software.desc}

-
-
Author: {software.author}
-
Platform: {software.platform}
-
- {webPlayableRelease?.htmlFolderPath && ( - - ▶ Play in Browser - - )} -
-
- ))} -
+ +
+ +
+

Catalog

+

Itt találod a játékainkat. Fedezd fel a TIC-80 és más platformokra készült alkotásokat, melyek közül sokat böngészőből is kipróbálhatsz.

+ + Játékok Böngészése + +
-
- © 2026 Teletype Games -
- - \ No newline at end of file + +
+

Wiki

+

Közérdekű fejlesztéssel kapcsolatos tudásanyagunkat itt gyűjtjük. Olvass bele a technikai leírásokba és fejlesztési naplókba.

+ + Tudásbázis + +
+ + +
+

Git Repók

+

Minden projektünk nyílt forráskódú. Böngészd a kódjainkat, tanulmányozd a megoldásainkat, vagy vegyél részt a fejlesztésben.

+ + Gitea + +
+ + +
+

Countdown

+

Légy naprakész a következő játékunk megjelenésével kapcsolatban. A visszaszámláló mutatja, mennyi idő van még hátra a premierig.

+ + Countdown + +
+
+ +