Skip to content

Commit 3a7a4a9

Browse files
Merge pull request #9 from sudarshanmaan/FinalComponents
FinalComponents Added
2 parents 0a4c427 + 1a8fe43 commit 3a7a4a9

8 files changed

Lines changed: 81 additions & 86 deletions
-55.6 KB
Loading
-2.08 KB
Loading
1.05 KB
Loading
-8.7 KB
Loading
-2.65 KB
Loading
68 KB
Loading

frontend/React Components/TheProgrammingClubBetaComponent.js

Lines changed: 76 additions & 81 deletions
Original file line numberDiff line numberDiff line change
@@ -7,87 +7,71 @@
77

88
import React from "react";
99

10-
const TheProgrammingClubBetaComponent = () => (
11-
<svg width={1920} height={1080} viewBox="0 0 1920 1080">
10+
const TheProgrammingClubFinalComponent = props => (
11+
<svg {...props} width={1920} height={1080} viewBox="0 0 1920 1080">
1212
<defs>
1313
<style>
1414
{
15-
".a{clip-path:url(#d);}.b{fill:url(#b);}.c{fill:#f0f0f0;font-size:63px;font-family:Poppins-Black, Poppins;font-weight:800;}.d{fill:rgba(207,118,151,0.8);}.e{fill:rgba(207,118,151,0.73);}.f{fill:#fff;}.f,.j{font-size:28px;font-family:Poppins-Regular, Poppins;}.g{fill:#c67096;}.g,.k{stroke:#707070;}.h{fill:#071e3d;font-size:32px;font-family:Poppins-Bold, Poppins;font-weight:700;}.i{fill:rgba(255,255,255,0.38);}.j{fill:#e2f3f5;}.k,.m{fill:none;}.l{stroke:none;}.n{fill:url(#a);}"
15+
".a{clip-path:url(#c);}.b{fill:#132d57;}.c{fill:#0e153a;font-size:63px;font-family:Poppins-Black, Poppins;font-weight:800;}.d{fill:#fff;}.d,.i{font-size:28px;font-family:Poppins-Regular, Poppins;}.e{fill:#3e3d55;}.f{fill:#101f46;}.g{fill:rgba(20,51,95,0.71);}.h{fill:rgba(255,255,255,0.38);}.i{fill:#e2f3f5;}.j{fill:none;stroke:#707070;}.k{fill:#c7c7c7;font-size:32px;font-family:Poppins-Bold, Poppins;font-weight:700;}.l{fill:url(#a);}"
1616
}
1717
</style>
1818
<linearGradient id="a" x2={1} y2={1} gradientUnits="objectBoundingBox">
19-
<stop offset={0} stopColor="#a029fb" />
20-
<stop offset={1} stopColor="#27057e" />
19+
<stop offset={0} stopColor="#3650c7" />
20+
<stop offset={1} stopColor="#42abdc" />
2121
</linearGradient>
22-
<linearGradient
23-
id="b"
24-
y1={0.5}
25-
x2={1}
26-
y2={0.5}
27-
gradientUnits="objectBoundingBox"
28-
>
29-
<stop offset={0} stopOpacity={0.31} />
30-
<stop offset={1} stopColor="#545454" stopOpacity={0} />
31-
</linearGradient>
32-
<clipPath id="d">
22+
<clipPath id="c">
3323
<rect width={1920} height={1080} />
3424
</clipPath>
3525
</defs>
36-
<g id="c" className="a">
37-
<rect className="n" width={1920} height={1080} />
38-
<image
39-
width={777}
40-
height={583}
41-
transform="translate(169 238)"
42-
xlinkHref="ComponentTMP_0-image.png"
43-
/>
44-
<rect className="b" width={120} height={1080} />
45-
<text className="c" transform="translate(139 240)">
46-
<tspan x={0} y={0}>
47-
{"The Programming Club IIITDMJ"}
48-
</tspan>
49-
</text>
26+
<g id="b" className="a">
27+
<rect className="l" width={1920} height={1080} />
5028
<path
51-
className="d"
52-
d="M1095.7-55.6c494.537,709.1,256.427,1194.477,256.427,1194.477l659.353,25.23L1969.47-118.29,1162.446-55.6Z"
53-
transform="translate(-10 -10)"
54-
/>
55-
<path
56-
className="e"
57-
d="M1095.7-55.6c494.537,709.1,256.427,1194.477,256.427,1194.477l659.353,25.23L1969.47-118.29,1162.446-55.6Z"
58-
transform="translate(-55 -10)"
29+
className="b"
30+
d="M-4,0S147.906,157.909,136.474,453.721-4,1075.355-4,1075.355Z"
31+
transform="translate(4)"
5932
/>
6033
<image
6134
width={50}
6235
height={50}
6336
transform="translate(35 351)"
64-
xlinkHref="ComponentTMP_0-image2.png"
37+
xlinkHref="ComponentTMP_0-image.png"
6538
/>
6639
<image
6740
width={50}
6841
height={50}
6942
transform="translate(35 679)"
70-
xlinkHref="ComponentTMP_0-image3.png"
43+
xlinkHref="ComponentTMP_0-image2.png"
7144
/>
7245
<image
7346
width={50}
7447
height={50}
7548
transform="translate(35 597)"
76-
xlinkHref="ComponentTMP_0-image4.png"
49+
xlinkHref="ComponentTMP_0-image3.png"
7750
/>
7851
<image
7952
width={50}
8053
height={50}
8154
transform="translate(35 433)"
82-
xlinkHref="ComponentTMP_0-image5.png"
55+
xlinkHref="ComponentTMP_0-image4.png"
8356
/>
8457
<image
8558
width={50}
8659
height={50}
8760
transform="translate(35 515)"
61+
xlinkHref="ComponentTMP_0-image5.png"
62+
/>
63+
<image
64+
width={777}
65+
height={583}
66+
transform="translate(169 238)"
8867
xlinkHref="ComponentTMP_0-image6.png"
8968
/>
90-
<text className="f" transform="translate(156 798)">
69+
<text className="c" transform="translate(139 240)">
70+
<tspan x={0} y={0}>
71+
{"The Programming Club IIITDMJ"}
72+
</tspan>
73+
</text>
74+
<text className="d" transform="translate(156 798)">
9175
<tspan x={0} y={0}>
9276
{"An Open Coding Community to explore and"}
9377
</tspan>
@@ -97,74 +81,85 @@ const TheProgrammingClubBetaComponent = () => (
9781
<tspan x={0} y={84} />
9882
</text>
9983
<g transform="translate(124 -11)">
100-
<g className="g" transform="translate(419 927)">
101-
<rect className="l" width={240} height={69} rx={34.5} />
102-
<rect className="m" x={0.5} y={0.5} width={239} height={68} rx={34} />
103-
</g>
104-
<text className="f" transform="translate(456 972)">
84+
<path
85+
className="e"
86+
d="M34.5,0h171a34.5,34.5,0,0,1,0,69H34.5a34.5,34.5,0,0,1,0-69Z"
87+
transform="translate(419 927)"
88+
/>
89+
<text className="d" transform="translate(456 972)">
10590
<tspan x={0} y={0}>
10691
{"Explore Now"}
10792
</tspan>
10893
</text>
10994
</g>
110-
<text className="h" transform="translate(1310 227)">
95+
<path
96+
className="f"
97+
d="M1095.7-55.6c494.537,709.1,256.427,1194.477,256.427,1194.477l659.353,25.23L1969.47-118.29,1162.446-55.6Z"
98+
transform="translate(-10 -10)"
99+
/>
100+
<path
101+
className="g"
102+
d="M1095.7-55.6c494.537,709.1,256.427,1194.477,256.427,1194.477l659.353,25.23L1969.47-118.29,1162.446-55.6Z"
103+
transform="translate(-55 -10)"
104+
/>
105+
<image
106+
width={580}
107+
height={431}
108+
transform="translate(1340 661)"
109+
xlinkHref="ComponentTMP_0-image7.png"
110+
/>
111+
<g transform="translate(-134)">
112+
<rect
113+
className="h"
114+
width={400}
115+
height={44}
116+
rx={22}
117+
transform="translate(1512 37)"
118+
/>
119+
<text className="i" transform="translate(1553 68)">
120+
<tspan x={0} y={0}>
121+
{"About Us"}
122+
</tspan>
123+
</text>
124+
<text className="i" transform="translate(1727 68)">
125+
<tspan x={0} y={0}>
126+
{"Contact Us"}
127+
</tspan>
128+
</text>
129+
<line className="j" y2={44} transform="translate(1705.5 37.5)" />
130+
</g>
131+
<text className="k" transform="translate(1310 227)">
111132
<tspan x={0} y={0}>
112133
{"Club Registrations"}
113134
</tspan>
114135
</text>
115-
<text className="h" transform="translate(1415 455)">
136+
<text className="k" transform="translate(1415 455)">
116137
<tspan x={0} y={0}>
117138
{"Sessions"}
118139
</tspan>
119140
</text>
120-
<text className="h" transform="translate(1378 383)">
141+
<text className="k" transform="translate(1378 383)">
121142
<tspan x={0} y={0}>
122143
{"Events"}
123144
</tspan>
124145
</text>
125-
<text className="h" transform="translate(1351 305)">
146+
<text className="k" transform="translate(1351 305)">
126147
<tspan x={0} y={0}>
127148
{"Leaderboard"}
128149
</tspan>
129150
</text>
130-
<text className="h" transform="translate(1429 527)">
151+
<text className="k" transform="translate(1429 527)">
131152
<tspan x={0} y={0}>
132153
{"Domains"}
133154
</tspan>
134155
</text>
135-
<g transform="translate(-134)">
136-
<rect
137-
className="i"
138-
width={400}
139-
height={44}
140-
rx={22}
141-
transform="translate(1512 37)"
142-
/>
143-
<text className="j" transform="translate(1553 68)">
144-
<tspan x={0} y={0}>
145-
{"About Us"}
146-
</tspan>
147-
</text>
148-
<text className="j" transform="translate(1727 68)">
149-
<tspan x={0} y={0}>
150-
{"Contact Us"}
151-
</tspan>
152-
</text>
153-
<line className="k" y2={44} transform="translate(1705.5 37.5)" />
154-
</g>
155-
<text className="h" transform="translate(1443 604)">
156+
<text className="k" transform="translate(1443 604)">
156157
<tspan x={0} y={0}>
157158
{"Projects"}
158159
</tspan>
159160
</text>
160-
<image
161-
width={580}
162-
height={431}
163-
transform="translate(1340 661)"
164-
xlinkHref="ComponentTMP_0-image7.png"
165-
/>
166161
</g>
167162
</svg>
168163
);
169164

170-
export default TheProgrammingClubBetaComponent;
165+
export default TheProgrammingClubFinalComponent;

frontend/React Components/TheProgrammingClubBetaComponent.stories.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import React from "react";
99
import { storiesOf } from "@storybook/react";
1010
import { action } from "@storybook/addon-actions";
1111

12-
import TheProgrammingClubBeta from "./TheProgrammingClubBetaComponent";
12+
import TheProgrammingClubFinal from "./TheProgrammingClubFinalComponent";
1313

1414
export const myProps = {
1515
id: "1",
@@ -23,11 +23,11 @@ export const actions = {
2323
onActionTwo: action("onActionTwo")
2424
};
2525

26-
storiesOf("TheProgrammingClubBeta", module)
27-
.add("default", () => <TheProgrammingClubBeta {...myProps} {...actions} />)
26+
storiesOf("TheProgrammingClubFinal", module)
27+
.add("default", () => <TheProgrammingClubFinal {...myProps} {...actions} />)
2828
.add("pinned", () => (
29-
<TheProgrammingClubBeta {...myProps} pinned={true} {...actions} />
29+
<TheProgrammingClubFinal {...myProps} pinned={true} {...actions} />
3030
))
3131
.add("archived", () => (
32-
<TheProgrammingClubBeta {...myProps} archived={true} {...actions} />
32+
<TheProgrammingClubFinal {...myProps} archived={true} {...actions} />
3333
));

0 commit comments

Comments
 (0)