College Website

Created a college website for my diploma college: Agnel Polytechnic.

What it is

This is the website of Agnel Polytechnic, a diploma college in Vashi, Navi Mumbai. It covers the institution's about pages, department pages, admissions, gallery, syllabus downloads and a contact form. Prospective students and current students are the main readers. It is live at apv.ac.in.

The problem

Institutional sites for small colleges tend to load slowly, look dated and work poorly on phones. For a technical institution, that sends the wrong signal. The college needed a modern site that shows key information clearly on any device and does not need a server to run.

How it works

The site is a SvelteKit app that prerenders every page to static HTML. The root layout sets export const prerender = true in src/routes/+layout.server.ts, so no page renders per request.

AreaWhere it livesWhat it does
Home pagesrc/routes/+page.svelteComposes Hero, AboutAgnel, AllCourses, Events and PlacementStats sections.
About pagessrc/routes/about_us/*One route per committee or topic, such as staff details, anti-ragging and vision and mission.
Department pagessrc/routes/courses/[course]One dynamic route that reads department data from src/routes/courses/data.ts.
Gallerysrc/routes/gallery/[section]Lists images by reading folders under static/gallery at build time.
Contact formsrc/routes/contact_us/+page.svelteSends form data to EmailJS from the browser.
News ticker datasrc/components/news.tsA plain array of titles and links.

Content is data in the repository. Department details, such as intake, vision and faculty lists, sit in a typed DeptData record. Fee charts, admission vacancy lists and notices are PDFs in static/. Syllabus archives are ZIP files in static/downloads/syllabus.

Design decisions

Fully static output instead of a CMS or server rendering. The content changes a few times a year, so a database adds cost without adding value. Prerendering also means the site needs no server process. The trade-off is that every content change is a Git commit and a redeploy. The commit history shows this workflow: most commits update a page, a PDF or a staff name.

Folder-driven galleries and department assets. The +page.server.ts and +layout.server.ts files call fs.readdirSync on folders in static/. Adding a photo means dropping a file into a folder, with no code edit. The trade-off is that this works only at build time, which suits a prerendered site.

Client-side contact form through EmailJS. The form needs no backend of its own. EmailJS delivers the message from the browser. The trade-off is a dependency on a third-party service for the one interactive feature.

WebP for images. Two Node scripts, convertToWebP.cjs and deleteNonWebP.cjs, convert JPEG, PNG, BMP and TIFF files to WebP with sharp and remove the originals. This reduces image weight, which dominates page size on a photo-heavy college site.

Custom DaisyUI theme. tailwind.config.cjs defines one theme with navy and orange-red as accent and secondary. This gives the site a consistent palette from one config file.

Run it locally

  1. Clone the repository: git clone https://github.com/WhyAsh5114/Agnel-Polytechnic-Vashi.git
  2. Install dependencies: npm install
  3. Start the dev server: npm run dev
  4. Build the static site: npm run build
  5. Preview the build: npm run preview

Reference

ToolVersion in package.jsonUse
SvelteKit^1.30.4Routing and prerendering.
Svelte^4.0.0Components.
TypeScript^5.0.0Types for data and load functions.
TailwindCSS^3.2.7Utility styling.
DaisyUI^3.0.0Component classes and the custom theme.
@emailjs/browser^3.11.0Contact form delivery.
@vercel/analytics^1.0.1Page analytics, injected in the root layout.
adapter-auto^2.0.0Picks a deployment adapter for the host.

Notes from the author

Working for a real institution means working inside constraints beyond the technical ones. The color palette, logo use and content structure came with requirements. I had to build within the college's brand identity while still improving the technical side.

Outcome

  • The site is live at apv.ac.in.
  • The repository was created on 25 March 2023 and still receives updates. The latest commit is dated 28 August 2026.
  • The repository has about 348 commits from three contributors: me, sundaram123krishnan and pranavkumar1991.

Liked College Website? Here's my background.

Full-stack TypeScript, shipped to real users.