diff --git a/assets/css/custom.css b/assets/css/custom.css new file mode 100644 index 0000000..8020c32 --- /dev/null +++ b/assets/css/custom.css @@ -0,0 +1,99 @@ + +@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Roboto:wght@400;500&display=swap'); + +body { + background-color: #F4F7F6; + font-family: 'Roboto', sans-serif; + color: #333333; +} + +:root { + --primary-color: #4A90E2; + --secondary-color: #50E3C2; + --background-color: #F4F7F6; + --surface-color: #FFFFFF; + --text-color: #333333; + --light-text-color: #888; +} + +.navbar { + background-color: var(--surface-color); + box-shadow: 0 2px 4px rgba(0,0,0,0.05); +} + +.navbar-brand { + font-family: 'Poppins', sans-serif; + font-weight: 700; + color: var(--primary-color) !important; +} + +.post-card { + background-color: var(--surface-color); + border: none; + border-radius: 12px; + box-shadow: 0 4px 12px rgba(0,0,0,0.08); + margin-bottom: 24px; +} + +.post-card .card-header { + background-color: transparent; + border-bottom: none; + padding: 16px 24px 0; + display: flex; + align-items: center; +} + +.post-card .card-body { + padding: 16px 24px; +} + +.post-card .card-footer { + background-color: transparent; + border-top: 1px solid #eee; + padding: 8px 24px; +} + +.avatar { + width: 48px; + height: 48px; + border-radius: 50%; + margin-right: 16px; +} + +.post-author { + font-family: 'Poppins', sans-serif; + font-weight: 600; + margin-bottom: 0; +} + +.post-timestamp { + font-size: 0.85rem; + color: var(--light-text-color); +} + +.post-content { + font-size: 1rem; + line-height: 1.6; +} + +.post-actions .btn { + border-radius: 24px; + font-weight: 500; + display: inline-flex; + align-items: center; + gap: 8px; +} + +.btn-like, .btn-comment { + color: var(--light-text-color); +} + +.btn-like:hover, .btn-comment:hover { + background-color: #f0f0f0; + color: var(--primary-color); +} + +.btn i { + width: 20px; + height: 20px; +} diff --git a/index.php b/index.php index 7205f3d..8706474 100644 --- a/index.php +++ b/index.php @@ -1,150 +1,93 @@ - - + - - - New Style - - - - - - - - - - - - - - - - - - - + + + Classroom - Feed + + + + + + + + + + -
-
-

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

-
-
-
- Page updated: (UTC) -
+ +
+
+ Classroom + +
+
    +
  • Feed
  • +
  • Messages
  • +
  • Profile
  • +
+
+
+
+ +
+
+
+ 'Dr. Evelyn Reed', + 'avatar' => 'https://i.pravatar.cc/150?img=1', + 'timestamp' => '2 hours ago', + 'type' => 'Assignment', + 'content' => 'Reminder: The Chapter 5 reading quiz is tomorrow. Make sure you have reviewed the key concepts of cellular respiration. Good luck!' + ], + [ + 'author' => 'Mr. David Chen', + 'avatar' => 'https://i.pravatar.cc/150?img=2', + 'timestamp' => '1 day ago', + 'type' => 'Note', + 'content' => 'Great discussion in class today about the French Revolution! Here is a link to the documentary we talked about: [link]. I highly recommend watching it.' + ], + [ + 'author' => 'Admin', + 'avatar' => 'https://i.pravatar.cc/150?img=3', + 'timestamp' => '3 days ago', + 'type' => 'Announcement', + 'content' => 'Parent-Teacher conferences are scheduled for next week. Please sign up for a time slot using the link sent to your email.' + ] + ]; + + foreach ($posts as $post) { + ?> +
+
+ <?php echo $post['author']; ?> +
+
+ · +
+
+
+

+
+
+ + +
+
+ +
+
+
+ + + + - + \ No newline at end of file