Skip to content

Commit 7a53224

Browse files
added recent activities to home page and fixed visual bugs with blog
1 parent 5bc9afd commit 7a53224

11 files changed

Lines changed: 1291 additions & 375 deletions

File tree

package-lock.json

Lines changed: 1223 additions & 364 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"@fullcalendar/list": "^6.1.15",
1616
"@fullcalendar/react": "^6.1.15",
1717
"@fullcalendar/timegrid": "^6.1.15",
18+
"framer-motion": "^12.23.0",
1819
"gray-matter": "^4.0.3",
1920
"lucide-react": "^0.475.0",
2021
"moment": "^2.30.1",

public/brightlands_sponsor.jpeg

72 KB
Loading

public/workshop.jpeg

81.6 KB
Loading

src/app/(Pages)/Announcements/[slug]/page.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import Link from "next/link";
22
import {ArrowLeftIcon} from "lucide-react";
33
import {getArticleData, getArticleSlugs} from "../../../../../lib/announcement";
44
import Footer from "app/components/Footer";
5+
import Navbar from "app/components/Navbar";
56

67

78

@@ -11,7 +12,8 @@ const Announcement = async ({params}: {params: Promise<{slug: string}>}) => {
1112

1213
return (
1314
<div className="bg-white">
14-
<section className="mx-auto w-10/12 mt-20 flex flex-col gap-5 bg-white">
15+
<Navbar/>
16+
<section className="mx-auto w-10/12 mt-10 sm:mt-5 sm:flex flex-col lg:gap-5 sm:gap-2 md:gap-3">
1517
<div className="flex justify-between ">
1618
<Link href="/Announcements" className="text-black">
1719
<ArrowLeftIcon width={20}/>

src/app/(Pages)/Blog/[slug]/page.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import Link from "next/link";
22
import { ArrowLeftIcon } from "lucide-react";
33
import { getArticleData, getArticleSlugs } from "../../../../../lib/blogs";
44
import Footer from "app/components/Footer";
5+
import Navbar from "app/components/Navbar";
56

67

78

@@ -13,7 +14,8 @@ const Blog = async ({params}: { params: Promise<{slug: string}> }) => {
1314

1415
return (
1516
<div>
16-
<section className="mx-auto w-10/12 mt-20 flex flex-col gap-5">
17+
<Navbar/>
18+
<section className="mx-auto w-10/12 mt-10 sm:mt-5 sm:flex flex-col lg:gap-5 sm:gap-2 md:gap-3">
1719
<div className="flex justify-between ">
1820
<Link href="/Blog">
1921
<ArrowLeftIcon width={20} />

src/app/components/Footer.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import React from 'react'
22

33
export default function Footer () {
44
return (
5-
<footer className="bg-black py-12 border-t border-white/20 ">
6-
<div className="container mx-auto px-4">
5+
<footer className="bg-black py-12 border-t border-white/20">
6+
<div className="container mx-auto px-4 max-h-screen-sm">
77
<div className="grid md:grid-cols-2 gap-8">
88
<div>
99
<h3 className="text-xl font-semibold mb-4 font-archivo text-white">

src/app/components/Navbar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export default function Navbar() {
3838
};
3939

4040
return (
41-
<header className="w-full z-50 transition-all duration-300 bg-white shadow-md">
41+
<header className="w-full z-50 transition-all duration-300 bg-white">
4242
<nav className="container mx-auto px-4 py-4 flex justify-between items-center">
4343
<div className="flex items-center gap-2">
4444
<Link href="/" className='flex flex-row gap-2'>

src/app/design-system/formatting.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@ export const Body = ({children,}:
77

88
export const H1 = ({children,}: {children: React.ReactNode}) => {
99
return (
10-
<h1 className="sm:pt-10 pt-4 sm:pb-0 pb-6
10+
<h1 className="sm:pt-10 pt-8 sm:pb-0 pb-12
1111
text-center text-3xl
12-
lg:text-2xl
1312
lg:text-4xl
1413
font-semibold tracking-wide
1514
text-blue-900">{children}</h1>

src/app/layout.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ export default function RootLayout({
2727
<html lang="en">
2828
<body
2929
className={`font-mono antialiased`}
30+
3031
>
3132
{children}
3233
</body>

0 commit comments

Comments
 (0)