Improve styling for images and sponsor section presentation
Update CSS to fix image display issues, adjust the sponsors section layout, and resolve minor styling inconsistencies. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 8702cea6-5379-4542-9446-7e71f9f057ab Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: 8201fba5-a9b5-45f9-8405-e7872874ad43 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/705de26f-a3c1-41e6-845d-88f96627134c/8702cea6-5379-4542-9446-7e71f9f057ab/ejKynqE Replit-Helium-Checkpoint-Created: true
This commit is contained in:
@@ -2,6 +2,7 @@ import express, { type Request, Response, NextFunction } from "express";
|
||||
import { registerRoutes } from "./routes";
|
||||
import { serveStatic } from "./static";
|
||||
import { createServer } from "http";
|
||||
import path from "path";
|
||||
|
||||
const app = express();
|
||||
const httpServer = createServer(app);
|
||||
@@ -22,6 +23,10 @@ app.use(
|
||||
|
||||
app.use(express.urlencoded({ extended: false }));
|
||||
|
||||
// Serve static HTML files and assets from the project root directory
|
||||
// This enables index.html, about.html, css/, images/, js/ etc. to be accessible
|
||||
app.use(express.static(path.resolve(import.meta.dirname, "..")));
|
||||
|
||||
export function log(message: string, source = "express") {
|
||||
const formattedTime = new Date().toLocaleTimeString("en-US", {
|
||||
hour: "numeric",
|
||||
|
||||
Reference in New Issue
Block a user