Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c953feb

Browse files
committed
made some design changes
1 parent 54833b9 commit c953feb

16 files changed

+2941
-523
lines changed

src/components/Footer1.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export function Footer() {
2626
<div class="inline-flex items-center text-sky-500">
2727
<button
2828
type="button"
29-
class="shadowj w-full rounded-lg bg-sky-600 py-2 px-4 text-center text-base font-semibold text-white transition duration-200 ease-in hover:bg-sky-700 focus:outline-none focus:ring-2 focus:ring-sky-500 focus:ring-offset-2 focus:ring-offset-sky-200 "
29+
class="button w-full rounded-lg bg-sky-600 py-2 px-4 text-center text-base font-bold text-white transition duration-200 ease-in hover:bg-sky-700 focus:outline-none focus:ring-2 focus:ring-sky-500 focus:ring-offset-2 focus:ring-offset-sky-200 "
3030
>
3131
<a href="https://www.ieee.org/membership/join/index.html">
3232
Join IEEE

src/components/Hero.jsx

Lines changed: 8 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,6 @@ import { Autoplay, Pagination, Navigation, EffectFade } from 'swiper'
1212

1313
import { ButtonLink } from '@/components/Button'
1414
import { Container } from '@/components/Container'
15-
import logoLaravel from '@/images/logos/laravel.svg'
16-
import logoMirage from '@/images/logos/mirage.svg'
17-
import logoStatamic from '@/images/logos/statamic.svg'
18-
import logoStaticKit from '@/images/logos/statickit.svg'
19-
import logoTransistor from '@/images/logos/transistor.svg'
20-
import logoTuple from '@/images/logos/tuple.svg'
2115
import img1 from '@/images/heroimages/1 (1).jpg'
2216
import img2 from '@/images/heroimages/1 (2).jpg'
2317
import img3 from '@/images/heroimages/1 (3).jpg'
@@ -27,35 +21,17 @@ import img6 from '@/images/heroimages/1 (6).jpg'
2721
import img7 from '@/images/heroimages/1 (7).jpg'
2822
import img8 from '@/images/heroimages/1 (8).jpg'
2923

30-
import firebase from 'firebase/compat/app'
31-
import 'firebase/compat/firestore'
32-
33-
//Firebase Api Key
34-
const firebaseConfig = {
35-
apiKey: 'AIzaSyACyiB2f-Sl8fbez4sjwBxJwn-eGadnXcg',
36-
authDomain: 'auth-44578.firebaseapp.com',
37-
projectId: 'auth-44578',
38-
storageBucket: 'auth-44578.appspot.com',
39-
messagingSenderId: '595971213871',
40-
appId: '1:595971213871:web:432717a56846feb84a14da',
41-
measurementId: 'G-BJWWD8H4BX',
42-
}
43-
firebase.initializeApp(firebaseConfig)
44-
const database = firebase.firestore()
45-
4624
const images = [
4725
{
48-
link: img1,
26+
link: img4,
4927
},
5028
{
5129
link: img2,
5230
},
5331
{
5432
link: img3,
5533
},
56-
{
57-
link: img4,
58-
},
34+
5935
{
6036
link: img5,
6137
},
@@ -68,29 +44,12 @@ const images = [
6844
{
6945
link: img8,
7046
},
47+
{
48+
link: img1,
49+
},
7150
]
7251

7352
export function Hero() {
74-
// const [images, setImages] = useState([])
75-
// const [loading, setLoading] = useState(true)
76-
// const [error, setError] = useState(null)
77-
// const swiperRef = useRef(null)
78-
79-
// useEffect(() => {
80-
// const fetchData = async () => {
81-
// try {
82-
// const response = await database.collection('images').get()
83-
// const data = response.docs.map((doc) => doc.data())
84-
// setImages(data)
85-
// setLoading(false)
86-
// } catch (error) {
87-
// setError(error)
88-
// setLoading(false)
89-
// }
90-
// }
91-
// fetchData()
92-
// }, [])
93-
9453
return (
9554
<>
9655
<section className=" text-gray-800">
@@ -128,16 +87,16 @@ export function Hero() {
12887
className="lg:h-128 h-96 w-full object-fill"
12988
src={image.link}
13089
alt={index}
131-
width={1920}
132-
height={700}
90+
width={1745}
91+
height={636}
13392
objectFit="cover"
13493
border-radius="10px"
13594
/>
13695
</SwiperSlide>
13796
))}
13897
</Swiper>
13998
<Container className="pt-5 pb-16 text-center lg:pt-8">
140-
<p class="mx-auto mt-6 max-w-2xl rounded-xl bg-slate-100 p-2 text-lg tracking-tight text-slate-800">
99+
<p class="mx-auto mt-5 max-w-3xl rounded-xl bg-slate-100 p-2 text-xl tracking-tight text-slate-800">
141100
<b>IEEE Computational Intelligence Society (CIS)</b> is a professional
142101
society of IEEE focusing on “the theory, design, application, and
143102
development of biologically and linguistically motivated computational

src/pages/contactus - Copy.jsx

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

src/pages/events.jsx

Lines changed: 5 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export default function Login() {
5252
<section className="mt-10 py-5 sm:py-8">
5353
<Container>
5454
<div className="mx-auto max-w-2xl sm:text-center">
55-
<h2 className="text-center text-3xl font-medium tracking-tight text-gray-900">
55+
<h2 className="text-center text-3xl font-semibold tracking-tight text-sky-600">
5656
Events :
5757
</h2>
5858
<p className="text-centre mt-2 px-3 text-sm text-gray-600 lg:text-base">
@@ -66,64 +66,15 @@ export default function Login() {
6666
role="list"
6767
className="mx-auto mt-8 grid max-w-2xl grid-cols-1 gap-6 text-sm sm:mt-10 sm:grid-cols-2 md:gap-y-10 lg:max-w-none lg:grid-cols-2"
6868
>
69-
{/* <li className="rounded-2xl border border-gray-200 p-5">
70-
<h3 className="text-center text-base font-semibold text-gray-900">
71-
Events 2020
72-
</h3>
73-
<p className="mt-2 text-center text-gray-700">Even Semester</p>
74-
<div>
75-
<button
76-
onClick={onButtonClick}
77-
class="mt-2 flex transform items-center justify-center rounded-md bg-blue-600 px-4 py-2 text-white shadow-md transition-colors duration-300 hover:bg-blue-500 focus:bg-blue-500 focus:outline-none focus:ring focus:ring-blue-300 focus:ring-opacity-40 sm:mx-1 sm:w-auto"
78-
>
79-
<svg
80-
xmlns="http://www.w3.org/2000/svg"
81-
class="mx-1 h-5 w-5"
82-
fill="none"
83-
viewBox="0 0 24 24"
84-
stroke="currentColor"
85-
>
86-
<path
87-
stroke-linecap="round"
88-
stroke-linejoin="round"
89-
stroke-width="2"
90-
d="M8 7H5a2 2 0 00-2 2v9a2 2 0 002 2h14a2 2 0 002-2V9a2 2 0 00-2-2h-3m-1 4l-3 3m0 0l-3-3m3 3V4"
91-
/>
92-
</svg>
93-
<span class="mx-1">Download</span>
94-
</button>
95-
</div>
96-
<div className="flex justify-center">
97-
<Link href="/documents/Event_Report_2020.pdf">
98-
<a class="mt-2 flex transform items-center justify-center rounded-md bg-blue-600 px-4 py-2 text-white shadow-md transition-colors duration-300 hover:bg-blue-500 focus:bg-blue-500 focus:outline-none focus:ring focus:ring-blue-300 focus:ring-opacity-40 sm:mx-1 sm:w-auto">
99-
<svg
100-
xmlns="http://www.w3.org/2000/svg"
101-
class="mx-1 h-5 w-5"
102-
fill="none"
103-
viewBox="0 0 24 24"
104-
stroke="currentColor"
105-
>
106-
<path
107-
stroke-linecap="round"
108-
stroke-linejoin="round"
109-
stroke-width="2"
110-
d="M8 7H5a2 2 0 00-2 2v9a2 2 0 002 2h14a2 2 0 002-2V9a2 2 0 00-2-2h-3m-1 4l-3 3m0 0l-3-3m3 3V4"
111-
/>
112-
</svg>
113-
<span class="mx-1">View</span>
114-
</a>
115-
</Link>
116-
</div>
117-
</li> */}
118-
<li className="neumorphism mb-10 rounded-2xl border border-white p-5">
69+
<li className="neumorphism mb-10 rounded-2xl border border-gray-200 p-5">
11970
<h3 className="text-center text-3xl font-semibold text-gray-900">
12071
Events 2020
12172
</h3>
12273
<p className="mt-2 text-center text-gray-700">
12374
Activities conducted for the year 2019-2020 under IEEE CIS
12475
</p>
12576
<div class="flex justify-center overflow-hidden p-2 ">
126-
<div class="border-grey-200 space-y-2 rounded-lg border p-4 sm:-mx-1 sm:flex sm:space-y-0">
77+
<div class="space-y-2 rounded-lg border border-gray-200 p-4 sm:-mx-1 sm:flex sm:space-y-0">
12778
<button
12879
onClick={onButtonClick}
12980
class="flex w-full transform items-center justify-center rounded-md bg-blue-600 px-7 py-1.5 text-base text-white shadow-lg transition-colors duration-300 hover:bg-blue-500 focus:bg-blue-500 focus:outline-none focus:ring focus:ring-blue-300 focus:ring-opacity-40 sm:mx-1 sm:w-auto"
@@ -176,15 +127,15 @@ export default function Login() {
176127
</div>
177128
</div>
178129
</li>
179-
<li className="neumorphism mb-10 rounded-2xl border border-white p-5">
130+
<li className="neumorphism mb-10 rounded-2xl border border-gray-200 p-5">
180131
<h3 className="text-center text-3xl font-semibold text-gray-900">
181132
Events 2021
182133
</h3>
183134
<p className="mt-2 text-center text-gray-700">
184135
Activities conducted for the year 2021 under IEEE CIS.
185136
</p>
186137
<div class="flex justify-center overflow-hidden p-2 ">
187-
<div class="border-grey-200 space-y-2 rounded-lg border p-4 sm:-mx-1 sm:flex sm:space-y-0">
138+
<div class="space-y-2 rounded-lg border border-gray-200 p-4 sm:-mx-1 sm:flex sm:space-y-0">
188139
<button
189140
onClick={onButtonClick2}
190141
class="flex w-full transform items-center justify-center rounded-md bg-blue-600 px-7 py-1.5 text-base text-white shadow-lg transition-colors duration-300 hover:bg-blue-500 focus:bg-blue-500 focus:outline-none focus:ring focus:ring-blue-300 focus:ring-opacity-40 sm:mx-1 sm:w-auto"

src/pages/execom.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ export default function Login() {
103103
<div class="-m-2 flex flex-wrap justify-center">
104104
{members.map((member) => (
105105
<div class="w-full p-2 md:w-1/2 lg:w-1/3">
106-
<div class="flex h-full items-center rounded-lg border border-gray-50 p-4 shadow-md">
106+
<div class="flex h-full items-center rounded-lg border border-gray-200 p-4 shadow-md">
107107
<Image
108108
alt="team"
109109
class="mr-4 h-16 w-16 flex-shrink-0 rounded-full bg-gray-100 object-cover object-center"

src/pages/gallery.jsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,11 +103,11 @@ export default function Login() {
103103
className="scroll-mt-8 py-8 sm:scroll-mt-32 sm:py-5 lg:py-8"
104104
>
105105
<Container>
106-
<SectionHeading number="" id="resources-title">
106+
{/* <SectionHeading number="" id="resources-title">
107107
Gallery
108-
</SectionHeading>
109-
<p className="mt-8 font-display text-4xl font-bold tracking-tight text-slate-900">
110-
All Events Photos
108+
</SectionHeading> */}
109+
<p className="mt-2 flex justify-center font-display text-4xl font-medium tracking-tight text-slate-800">
110+
Event <span className="ml-2 text-sky-600"> Photos</span>
111111
</p>
112112
{/* <p className="mt-4 text-lg tracking-tight text-slate-700">
113113
Sample Text

0 commit comments

Comments
 (0)