From 379c2649870fb6fb9625150100934df2a7e4c851 Mon Sep 17 00:00:00 2001 From: Matthew Florentino Date: Thu, 13 Nov 2025 20:35:57 +0700 Subject: [PATCH 1/2] style: add basic structure index.php and global css --- src/css/global.css | 23 +++++++++++++++++++++++ src/index.php | 22 ++++++++++++++++++++++ src/login.php | 0 3 files changed, 45 insertions(+) delete mode 100644 src/login.php diff --git a/src/css/global.css b/src/css/global.css index e69de29..94976cc 100644 --- a/src/css/global.css +++ b/src/css/global.css @@ -0,0 +1,23 @@ +@import url('https://fonts.googleapis.com/css2?family=Jersey+15&family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap'); +*{ + font-family: "Jersey 15", sans-serif; + margin: 0; + padding: 0; +} + +body { + color: white; + background-color: black; +} + +.row { + display: flex; + height: 100dvh; +} + +.col { + flex: 1; + width: 50%; + padding: 30px; + box-sizing: border-box; +} \ No newline at end of file diff --git a/src/index.php b/src/index.php index e69de29..b795db4 100644 --- a/src/index.php +++ b/src/index.php @@ -0,0 +1,22 @@ + + + + + + login + + + + +
+

codebeater

+ +
+ + \ No newline at end of file diff --git a/src/login.php b/src/login.php deleted file mode 100644 index e69de29..0000000 From de8e602fe19376eecacd7d84b49f72a0bcfa2cc3 Mon Sep 17 00:00:00 2001 From: Matthew Florentino Date: Fri, 14 Nov 2025 14:45:29 +0700 Subject: [PATCH 2/2] style: fix bug --- docker-compose.yml | 2 +- src/css/style.css | 11 +++++++++++ src/index.php | 6 +++--- 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 67b83b6..8a1ba96 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,7 +6,7 @@ services: build: context: . dockerfile: web/Dockerfile - image: codebeater:latest + image: kelompok12:latest container_name: phpapache ports: - "${APP_PORT}:80" diff --git a/src/css/style.css b/src/css/style.css index e69de29..c47ffd0 100644 --- a/src/css/style.css +++ b/src/css/style.css @@ -0,0 +1,11 @@ +.container-login { + display: flex; + width: 100%; + height: 100dvh; + flex-direction: column; + justify-content: center; + align-items: center; +} +.container-login h1 { + font-size: 100px; +} \ No newline at end of file diff --git a/src/index.php b/src/index.php index b795db4..f868f81 100644 --- a/src/index.php +++ b/src/index.php @@ -4,11 +4,11 @@ login - - + + -