From 0319d1caf74e02c011a669adee877f0c7c25944d Mon Sep 17 00:00:00 2001 From: SANTHSIM22 Date: Fri, 29 Nov 2024 14:39:37 +0530 Subject: [PATCH] Fix : previous edition suspense and add dummy image --- package-lock.json | 21 +++++++-------------- package.json | 2 +- src/app/previous-editions/page.tsx | 22 +++++++++++----------- src/app/team/page.tsx | 16 ++++++++-------- src/components/common/gridsplash.tsx | 19 +++++-------------- src/components/common/team-section.tsx | 2 +- src/components/shared/back-button.tsx | 6 +++--- 7 files changed, 36 insertions(+), 52 deletions(-) diff --git a/package-lock.json b/package-lock.json index 0b32b82..28eea1c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -50,7 +50,7 @@ "ioredis": "^5.4.1", "jest": "^29.7.0", "ldrs": "^1.0.2", - "lenis": "^1.1.13", + "lenis": "^1.1.17", "lodash.debounce": "^4.0.8", "lucide-react": "^0.441.0", "next": "14.2.6", @@ -729,11 +729,6 @@ "integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==", "license": "MIT" }, - "node_modules/@darkroom.engineering/tempus": { - "version": "0.0.46", - "resolved": "https://registry.npmjs.org/@darkroom.engineering/tempus/-/tempus-0.0.46.tgz", - "integrity": "sha512-s5vav3KMHYezvUCl4ee5epg0oimF6M8C9gAaKxFnFaTvX2q3ywFDryIv6XLd0mRFUt3S1uHDJqKaiEcs2ZVSvw==" - }, "node_modules/@effect/platform": { "version": "0.63.2", "resolved": "https://registry.npmjs.org/@effect/platform/-/platform-0.63.2.tgz", @@ -9355,25 +9350,23 @@ } }, "node_modules/lenis": { - "version": "1.1.13", - "resolved": "https://registry.npmjs.org/lenis/-/lenis-1.1.13.tgz", - "integrity": "sha512-iny+vWwUHcZGbJz+p2I75H1muLBRZqSG7t04jnhA+CWOQDFL1vt9bsZDwPPtYEmYVVvqAdo5MbXVFzNOlbgUkQ==", - "dependencies": { - "@darkroom.engineering/tempus": "^0.0.46" - }, + "version": "1.1.17", + "resolved": "https://registry.npmjs.org/lenis/-/lenis-1.1.17.tgz", + "integrity": "sha512-22XhWvjoJynQdfguMp1V+5ZbGUdGkJ4rtQy8x+w52NKxYb+OIZhGXC9Fo2PQTWzKDbYNDUb/O1CIbeEQHkZbag==", + "license": "MIT", "funding": { "type": "github", "url": "https://github.com/sponsors/darkroomengineering" }, "peerDependencies": { "react": ">=17.0.0", - "react-dom": ">=17.0.0" + "vue": ">=3.0.0" }, "peerDependenciesMeta": { "react": { "optional": true }, - "react-dom": { + "vue": { "optional": true } } diff --git a/package.json b/package.json index 3b8e51d..e85060a 100644 --- a/package.json +++ b/package.json @@ -55,7 +55,7 @@ "ioredis": "^5.4.1", "jest": "^29.7.0", "ldrs": "^1.0.2", - "lenis": "^1.1.13", + "lenis": "^1.1.17", "lodash.debounce": "^4.0.8", "lucide-react": "^0.441.0", "next": "14.2.6", diff --git a/src/app/previous-editions/page.tsx b/src/app/previous-editions/page.tsx index a9bf7da..58530eb 100644 --- a/src/app/previous-editions/page.tsx +++ b/src/app/previous-editions/page.tsx @@ -8,7 +8,7 @@ type Props = {}; const Previous = (props: Props) => { const router = useRouter(); return ( -
+
{ onClick={() => router.back()} > { d="M15 19l-7-7 7-7" /> - Back + Back
@@ -46,23 +46,23 @@ const Previous = (props: Props) => { Revisit TEDxSJEC 2020 and 2022, where inspiring stories and transformative ideas left a lasting impact.

*/} -

- Looking back at TEDx +

+ Looking back atTEDx SJEC

-

- Revisit TEDx +

+ Revisit TEDx SJEC 2020 and 2022, where inspiring stories and transformative ideas left a lasting impact.

-

- 2022 Edition +

+ 2022 Edition

-

- 2020 Edition +

+ 2020 Edition

diff --git a/src/app/team/page.tsx b/src/app/team/page.tsx index bf42360..eaa0a8c 100644 --- a/src/app/team/page.tsx +++ b/src/app/team/page.tsx @@ -33,7 +33,7 @@ const webAndDesignTeam = [ url: `${tedxsjecAssetsPrefix}/team/santhishm.avif`, title: "Frontend ", id: 5, - name: "Santhishm", + name: "Santhsim V Dsouza", }, { url: `${tedxsjecAssetsPrefix}/team/naveen.avif`, @@ -72,13 +72,13 @@ const webAndDesignTeam = [ name: "Deric Jojo", }, { - url: `${tedxsjecAssetsPrefix}/team/alston.avif`, + url: `${tedxsjecAssetsPrefix}/team/dummyPhoto.avif`, title: "Design", id: 12, name: "Alston Peter", }, { - url: `${tedxsjecAssetsPrefix}/team/dhanush.avif`, + url: `${tedxsjecAssetsPrefix}/team/dummyPhoto.avif`, title: "Design", id: 13, name: "Dhanush D", @@ -88,13 +88,13 @@ const webAndDesignTeam = [ export default function Teams() { return ( -
+
- -

- The Web Team and Design Team + +

+ The Web and Design Team

-
+
diff --git a/src/components/common/gridsplash.tsx b/src/components/common/gridsplash.tsx index 5c21ebf..9e418e0 100644 --- a/src/components/common/gridsplash.tsx +++ b/src/components/common/gridsplash.tsx @@ -17,9 +17,9 @@ function UnsplashGrid(props: UnsplashGridProps) { return ( <> {props.year === 2022 ? ( -
+
-
+
<> }> {prevEdition22.map((img, index) => ( @@ -71,18 +71,9 @@ interface ImageItemProps { } const ImagePlaceholder: React.FC = () => ( -
-
+ Loading...
diff --git a/src/components/common/team-section.tsx b/src/components/common/team-section.tsx index 442f4ba..e6eee66 100644 --- a/src/components/common/team-section.tsx +++ b/src/components/common/team-section.tsx @@ -68,7 +68,7 @@ const Team = () => {
- diff --git a/src/components/shared/back-button.tsx b/src/components/shared/back-button.tsx index bc11ed7..4524903 100644 --- a/src/components/shared/back-button.tsx +++ b/src/components/shared/back-button.tsx @@ -6,11 +6,11 @@ export default function BackButton({ className }: { className?: string }) { return (
);