Skip to content

Commit d903b29

Browse files
authored
Merge pull request #2 from TimothyHTan/main
Remove why bit page and update campus life content
2 parents f34d2df + f2ed9c8 commit d903b29

File tree

8 files changed

+12496
-313
lines changed

8 files changed

+12496
-313
lines changed

app/campus-life/page.tsx

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import { motion } from "framer-motion";
44
import { BlurImage } from "@/components/ui/blur-image";
5-
import { MapPin, Coffee, Utensils, Wifi, Bus, Bike } from "lucide-react";
5+
import { MapPin, Coffee, Utensils, Wifi, Bus, Bike, Shield } from "lucide-react";
66
import { GradientBlob } from "@/components/ui/GradientBlob";
77

88
import dormImg1 from "@/public/images/uni/IMG_20251103_130246 (1).webp";
@@ -15,6 +15,7 @@ import galleryImg3 from "@/public/images/uni/IMG_20251213_102035090.CCD.webp";
1515
import galleryImg4 from "@/public/images/uni/IMG_20251207_121823829.CCD.webp";
1616
import galleryImg5 from "@/public/images/uni/IMG_20250915_121520361.CCD.webp";
1717
import galleryImg6 from "@/public/images/uni/IMG_20250911_163633452.CCD.webp";
18+
import beijingMap from "@/public/images/beijing-map.webp";
1819

1920
export default function CampusLifePage() {
2021
const facilities = [
@@ -97,7 +98,29 @@ export default function CampusLifePage() {
9798
<h2 className="text-3xl font-display font-bold mb-4">Where You&apos;ll Live</h2>
9899
<p className="text-muted-foreground">Affordable, comfortable, and safe.</p>
99100
</div>
101+
102+
{/* Location Section */}
103+
<div className="bg-slate-900 text-white rounded-3xl p-8 md:p-16 relative overflow-hidden mb-12">
104+
<div className="absolute top-0 right-0 w-full h-full opacity-20">
105+
<GradientBlob variant="cool" className="translate-x-1/2" />
106+
</div>
100107

108+
<div className="relative z-10 grid md:grid-cols-2 gap-12 items-center">
109+
<div>
110+
<h2 className="text-3xl md:text-4xl font-display font-bold mb-6">The Geography of Focus</h2>
111+
<p className="text-slate-300 leading-relaxed mb-6">
112+
Liangxiang is 30-40km from central Beijing. This isolation is a feature. In the city, distractions are infinite. In Liangxiang, the environment is engineered for deep work.
113+
</p>
114+
<div className="flex items-center gap-4 text-slate-300">
115+
<Shield className="w-5 h-5 text-emerald-400" />
116+
<span>Library seats 2,500 students</span>
117+
</div>
118+
</div>
119+
<div className="h-64 rounded-2xl bg-white/10 backdrop-blur-md border border-white/10 overflow-hidden relative group">
120+
<BlurImage src={beijingMap} alt="Map of Liangxiang vs Beijing" fill className="object-cover opacity-80 group-hover:opacity-100 transition-opacity" placeholder="blur" />
121+
</div>
122+
</div>
123+
</div>
101124
<div className="space-y-16">
102125
{/* New Building */}
103126
<div>

app/globals.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,4 +242,14 @@
242242
position: relative;
243243
z-index: 4;
244244
}
245+
246+
.no-visible-scrollbar {
247+
scrollbar-width: none;
248+
-ms-overflow-style: none;
249+
-webkit-overflow-scrolling: touch;
250+
}
251+
252+
.no-visible-scrollbar::-webkit-scrollbar {
253+
display: none;
254+
}
245255
}

app/page.tsx

Lines changed: 171 additions & 85 deletions
Large diffs are not rendered by default.

app/why-bit/page.tsx

Lines changed: 0 additions & 217 deletions
This file was deleted.

components/layout/Navbar.tsx

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,8 @@ import { cn } from "@/lib/utils";
1010

1111
const navItems = [
1212
{ name: "Home", href: "/" },
13-
{ name: "Why BIT?", href: "/why-bit" },
1413
{ name: "Campus Life", href: "/campus-life" },
1514
{ name: "Community", href: "/community" },
16-
{ name: "Admissions", href: "/admissions" },
1715
{ name: "FAQ", href: "/faq" },
1816
];
1917

@@ -61,14 +59,12 @@ export function Navbar() {
6159
{/* CTA & Mobile Toggle */}
6260
<div className="flex items-center gap-2">
6361
<Link
64-
href="https://wa.me/6281388577873"
65-
target="_blank"
66-
rel="noopener noreferrer"
62+
href="/admissions"
6763
className="cta-button !px-5 !py-2 !text-sm whitespace-nowrap hidden sm:inline-flex items-center gap-2"
6864
>
6965
<span className="cta-glow"></span>
70-
Chat
71-
<MessageCircle className="w-4 h-4" />
66+
Admissions
67+
<GraduationCap className="w-4 h-4" />
7268
</Link>
7369

7470
<button

lib/content.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ export const siteContent = {
55
cta: "Start Your Journey",
66
},
77
stats: [
8-
{ label: "Global Engineering Rank", value: "14", suffix: "th", source: "NTU Ranking" },
9-
{ label: "Graduate Employability", value: "9", suffix: "th", source: "QS China" },
8+
{ label: "Mechanical Engineering", value: "64", suffix: "th", source: "QS Ranking" },
9+
{ label: "Computer Science", value: "89", suffix: "th", source: "QS Ranking" },
10+
{ label: "Economics", value: "108", suffix: "th", source: "QS Ranking" },
1011
{ label: "Indonesian Students", value: "400", suffix: "+", source: "Active Community" },
11-
{ label: "Global Rank", value: "102", suffix: "", source: "ARWU 2025" },
1212
],
1313
features: [
1414
{

0 commit comments

Comments
 (0)