From f46cd27a5c68b27cbae08efab1f1f5a6962e9a33 Mon Sep 17 00:00:00 2001 From: Flatlogic Bot Date: Wed, 10 Dec 2025 20:54:19 +0000 Subject: [PATCH] KES --- assets/css/custom.css | 69 ++++++++++ assets/js/main.js | 0 downloads/learning_guide.pdf | 0 downloads/sample_form.pdf | 0 index.php | 241 ++++++++++++++--------------------- resources.php | 105 +++++++++++++++ 6 files changed, 270 insertions(+), 145 deletions(-) create mode 100644 assets/css/custom.css create mode 100644 assets/js/main.js create mode 100644 downloads/learning_guide.pdf create mode 100644 downloads/sample_form.pdf create mode 100644 resources.php diff --git a/assets/css/custom.css b/assets/css/custom.css new file mode 100644 index 0000000..ddf33eb --- /dev/null +++ b/assets/css/custom.css @@ -0,0 +1,69 @@ +/* Elementary School Website - Custom Styles */ + +:root { + --primary-color: #4A90E2; /* Friendly Blue */ + --secondary-color: #F5A623; /* Warm Orange */ + --background-color: #F9F9F9; + --surface-color: #FFFFFF; + --text-color: #333333; + --heading-font: 'Poppins', sans-serif; + --body-font: 'Lato', sans-serif; + --border-radius: 8px; +} + +body { + font-family: var(--body-font); + color: var(--text-color); + background-color: var(--background-color); +} + +h1, h2, h3, h4, h5, h6, .navbar-brand { + font-family: var(--heading-font); +} + +.navbar-brand { + font-weight: 700; +} + +.hero-section { + background: linear-gradient(45deg, var(--primary-color), #7dc1ff); + min-height: 50vh; +} + +.hero-section h1 { + font-weight: 700; +} + +#announcements h2 { + font-weight: 600; + color: var(--primary-color); +} + +.announcement-card { + border: 0; + border-radius: var(--border-radius); + box-shadow: 0 4px 12px rgba(0,0,0,0.08); + transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out; +} + +.announcement-card:hover { + transform: translateY(-5px); + box-shadow: 0 8px 20px rgba(0,0,0,0.12); +} + +.announcement-card .card-title { + color: var(--primary-color); + font-weight: 600; +} + +.navbar-nav .nav-link.dropdown-toggle { + background-color: var(--secondary-color); + color: white !important; + border-radius: var(--border-radius); + padding-left: 1rem !important; + padding-right: 1rem !important; +} + +.footer { + background-color: #343a40; +} diff --git a/assets/js/main.js b/assets/js/main.js new file mode 100644 index 0000000..e69de29 diff --git a/downloads/learning_guide.pdf b/downloads/learning_guide.pdf new file mode 100644 index 0000000..e69de29 diff --git a/downloads/sample_form.pdf b/downloads/sample_form.pdf new file mode 100644 index 0000000..e69de29 diff --git a/index.php b/index.php index 7205f3d..2c2fdcd 100644 --- a/index.php +++ b/index.php @@ -1,150 +1,101 @@ - - + - - - New Style - - - - - - - - - - - - - - - - - - - + + + Welcome to Springfield Elementary + + + + + -
-
-

Analyzing your requirements and generating your website…

-
- Loading… -
-

AI is collecting your requirements and applying the first changes.

-

This page will update automatically as the plan is implemented.

-

Runtime: PHP — UTC

-
-
- + + +
+
+
+

Welcome to Springfield Elementary

+

A place to learn, grow, and succeed.

+
+
+ +
+
+

Latest Announcements

+
+ '2025-12-08', + 'title' => 'Winter Break Reminder', + 'snippet' => 'School will be closed for winter break from December 22nd to January 5th. We wish you a wonderful holiday season!' + ], + [ + 'date' => '2025-12-05', + 'title' => 'Parent-Teacher Conferences', + 'snippet' => 'Sign-ups for parent-teacher conferences are now open. Please check your email for the link to schedule your appointment.' + ], + [ + 'date' => '2025-12-01', + 'title' => 'Annual Food Drive', + 'snippet' => 'Our annual food drive is underway! Please bring non-perishable food items to the front office to support our community.' + ] + ]; + + foreach ($announcements as $item) : + ?> +
+
+
+

+
+

+
+
+
+ +
+
+
+
+ + + + - + \ No newline at end of file diff --git a/resources.php b/resources.php new file mode 100644 index 0000000..974e524 --- /dev/null +++ b/resources.php @@ -0,0 +1,105 @@ + + + + + + + Resources - Springfield Elementary + + + + + + + + + +
+
+

Documents & Resources

+ + [ + [ + 'title' => 'Enrollment Application Form', + 'description' => 'Required for all new students for the 2026-2027 school year.', + 'file' => 'downloads/sample_form.pdf' + ], + [ + 'title' => 'Permission Slip for Field Trip', + 'description' => 'Permission slip for the upcoming trip to the Springfield Museum.', + 'file' => 'downloads/sample_form.pdf' + ] + ], + 'Learning Materials' => [ + [ + 'title' => 'Grade 3 Mathematics Guide', + 'description' => 'A guide for parents to help their children with 3rd-grade math concepts.', + 'file' => 'downloads/learning_guide.pdf' + ], + [ + 'title' => 'Summer Reading List', + 'description' => 'Recommended reading list for all grade levels for the upcoming summer break.', + 'file' => 'downloads/learning_guide.pdf' + ] + ] + ]; + ?> + + $items) : ?> +

+ + + +
+
+ + + + + +