Skip to content

Commit 7fe5898

Browse files
Merge pull request #32 from prashantbhandary/dev/prashant/0.0.2
added new site with new css
2 parents 3859e9a + e739d54 commit 7fe5898

20 files changed

Lines changed: 3783 additions & 693 deletions

next.config-new.js

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
/** @type {import('next').NextConfig} */
2+
const nextConfig = {
3+
experimental: {
4+
appDir: true,
5+
},
6+
images: {
7+
domains: ['robotics.wrc.edu.np', 'techfest.org'],
8+
dangerouslyAllowSVG: true,
9+
contentSecurityPolicy: "default-src 'self'; script-src 'none'; sandbox;",
10+
},
11+
typescript: {
12+
ignoreBuildErrors: false,
13+
},
14+
eslint: {
15+
ignoreDuringBuilds: false,
16+
},
17+
}
18+
19+
module.exports = nextConfig

package-new.json

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"name": "wrc-robotics-new",
3+
"version": "1.0.0",
4+
"description": "Modern WRC Robotics Club Website - Inspired by Techfest Design",
5+
"private": true,
6+
"scripts": {
7+
"dev": "next dev --turbopack",
8+
"build": "next build",
9+
"start": "next start",
10+
"lint": "next lint",
11+
"type-check": "tsc --noEmit"
12+
},
13+
"dependencies": {
14+
"next": "^14.0.3",
15+
"react": "^18.2.0",
16+
"react-dom": "^18.2.0",
17+
"framer-motion": "^10.16.4",
18+
"lucide-react": "^0.292.0",
19+
"react-intersection-observer": "^9.5.2",
20+
"swiper": "^11.0.4",
21+
"embla-carousel-react": "^8.0.0-rc17",
22+
"@radix-ui/react-dialog": "^1.0.5",
23+
"@radix-ui/react-navigation-menu": "^1.1.4",
24+
"clsx": "^2.0.0",
25+
"tailwind-merge": "^2.0.0"
26+
},
27+
"devDependencies": {
28+
"typescript": "^5.2.2",
29+
"@types/node": "^20.8.7",
30+
"@types/react": "^18.2.31",
31+
"@types/react-dom": "^18.2.14",
32+
"autoprefixer": "^10.4.16",
33+
"postcss": "^8.4.31",
34+
"tailwindcss": "^3.3.5",
35+
"eslint": "^8.52.0",
36+
"eslint-config-next": "^14.0.3",
37+
"@tailwindcss/typography": "^0.5.10",
38+
"@tailwindcss/forms": "^0.5.7"
39+
}
40+
}

public/vercel.svg

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

src/assets/ClubLogo.jpg

43.5 KB
Loading

src/assets/Club_logo.png

-17.6 KB
Binary file not shown.

src/components/KeyFeature/feature-card-column.js

Lines changed: 61 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -21,33 +21,78 @@ export default function FeatureCardColumn({
2121
const styles = {
2222
card: {
2323
display: "flex",
24-
alignItems: ["center", "flex-center"],
24+
alignItems: "center",
2525
flexDirection: "column",
26-
mb: -1,
27-
textAlign: ["center", null, "center"],
28-
px: [4, null, 0],
26+
textAlign: "center",
27+
p: [6, 7],
28+
background: "rgba(255, 255, 255, 0.7)",
29+
backdropFilter: "blur(20px)",
30+
borderRadius: "2xl",
31+
border: "1px solid rgba(255, 255, 255, 0.2)",
32+
boxShadow: "0 8px 32px rgba(0, 0, 0, 0.1)",
33+
transition: "all 0.4s ease",
34+
position: "relative",
35+
overflow: "hidden",
36+
37+
"&::before": {
38+
content: '""',
39+
position: "absolute",
40+
top: 0,
41+
left: 0,
42+
right: 0,
43+
bottom: 0,
44+
background: "linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(0, 212, 255, 0.05) 100%)",
45+
opacity: 0,
46+
transition: "opacity 0.4s ease",
47+
pointerEvents: "none",
48+
},
49+
50+
"&:hover": {
51+
transform: "translateY(-8px)",
52+
boxShadow: "0 20px 40px rgba(99, 102, 241, 0.15)",
53+
54+
"&::before": {
55+
opacity: 1,
56+
},
57+
},
2958
},
59+
3060
img: {
31-
mx: ["auto", null, 0],
32-
ml: ["auto", null, "-13px"],
33-
mb: -2,
34-
width: ["80px", null, null, "90px", null, "auto"],
61+
width: ["80px", "90px", "100px"],
62+
height: ["80px", "90px", "100px"],
63+
objectFit: "contain",
64+
mb: 4,
65+
filter: "drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1))",
66+
transition: "transform 0.4s ease",
67+
68+
".card:hover &": {
69+
transform: "scale(1.1)",
70+
},
3571
},
72+
3673
wrapper: {
3774
width: "100%",
3875
display: "flex",
3976
flexDirection: "column",
77+
position: "relative",
78+
zIndex: 2,
79+
4080
title: {
41-
fontSize: 3,
42-
color: "heading_secondary",
43-
lineHeight: 1.4,
44-
fontWeight: 700,
45-
mb: [2, null, 3],
81+
fontSize: [3, 4],
82+
color: "text",
83+
lineHeight: 1.3,
84+
fontWeight: "bold",
85+
mb: 3,
86+
fontFamily: "heading",
4687
},
88+
4789
subTitle: {
48-
fontSize: 1,
49-
fontWeight: 400,
50-
lineHeight: "1.9",
90+
fontSize: [1, 2],
91+
fontWeight: "body",
92+
lineHeight: "relaxed",
93+
color: "text_secondary",
94+
maxWidth: "280px",
95+
mx: "auto",
5196
},
5297
},
5398
};

src/components/KeyFeature/key-feature.js

Lines changed: 35 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@ import {data} from "./key-feature.data";
77

88
export default function KeyFeature() {
99
return (
10-
<section sx={{ variant: "section.KeyFeature" }} id="feature">
10+
<section sx={styles.section} id="feature">
1111
<Container sx={styles.container}>
1212
<SectionHeader
13-
title="Achievements"
13+
title="Our Focus Areas"
14+
subtitle="What We Do"
1415
/>
1516
<Grid sx={styles.grid}>
1617
{data.map((item) => (
@@ -29,27 +30,47 @@ export default function KeyFeature() {
2930
}
3031

3132
const styles = {
33+
section: {
34+
py: [80, 100, 120],
35+
position: "relative",
36+
background: "linear-gradient(135deg, rgba(99, 102, 241, 0.02) 0%, rgba(0, 212, 255, 0.02) 50%, rgba(139, 92, 246, 0.02) 100%)",
37+
38+
"&::before": {
39+
content: '""',
40+
position: "absolute",
41+
top: 0,
42+
left: 0,
43+
right: 0,
44+
bottom: 0,
45+
background: "url('/grid-pattern.svg')",
46+
opacity: 0.03,
47+
pointerEvents: "none",
48+
},
49+
},
50+
3251
container: {
33-
marginTop: "100px",
52+
position: "relative",
53+
zIndex: 2,
3454
},
55+
3556
grid: {
36-
width: ["100%", "80%", "100%"],
57+
width: ["100%", "90%", "100%"],
3758
mx: "auto",
3859
gridGap: [
39-
"35px 0",
40-
null,
60+
"40px",
61+
"50px",
4162
"40px 40px",
4263
"50px 60px",
43-
"30px",
64+
"40px",
4465
"50px 40px",
45-
"55px 90px",
66+
"60px 50px",
4667
],
4768
gridTemplateColumns: [
48-
"repeat(1,1fr)",
49-
null,
50-
"repeat(2,1fr)",
51-
null,
52-
"repeat(4,1fr)",
69+
"repeat(1, 1fr)",
70+
"repeat(2, 1fr)",
71+
"repeat(2, 1fr)",
72+
"repeat(3, 1fr)",
5373
],
74+
mt: [60, 80],
5475
},
55-
};
76+
};

0 commit comments

Comments
 (0)