Skip to content

Commit 4dffae8

Browse files
undo image text changes
1 parent 22f0a7a commit 4dffae8

File tree

13 files changed

+52
-62
lines changed

13 files changed

+52
-62
lines changed

src/components/EventCard/PastEventCard.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { Box, Typography } from '@mui/material';
22
import React from 'react';
33
import EventCapsules from './EventCapsules';
44
import { PastEventCardWrapper } from './styles';
5-
import Image from 'next/image';
65

76
interface IPastEventCardProps {
87
thumbnail: string,
@@ -16,7 +15,7 @@ const PastEventCard: React.FC<IPastEventCardProps> = (props) => {
1615
<a href={props.link}>
1716
<Box className={'events-card eventsCard'}>
1817
<Box className={'bannerOuter bannerOuterPast'}>
19-
<Image src={props.thumbnail} alt="Image" className={'banner bannerPastImage'} />
18+
<img src={props.thumbnail} alt="Image" className={'banner bannerPastImage'} />
2019
<Typography className={'eventName'} variant="h6">{props.name}</Typography>
2120
<div className={'play'} >
2221
<EventCapsules

src/components/EventCard/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { EventsCardWrapper } from './styles';
33
import React from 'react'
44
import { ContainedButton } from '../common/Button';
55
import EventCapsules from './EventCapsules';
6-
import Image from 'next/image';
76

87
interface IEventsCardProps {
98
thumbnail: string,
@@ -18,7 +17,7 @@ export const EventsCard: React.FC<IEventsCardProps> = (props) => {
1817
return (
1918
<EventsCardWrapper>
2019
<Box className={'bannerOuter'}>
21-
<Image src={props.thumbnail} alt="Image" className={'banner'} />
20+
<img src={props.thumbnail} alt="Image" className={'banner'} />
2221
</Box>
2322
<Box className={'eventContent'}>
2423
<Typography className={'eventName'} variant="h5">{props.name}</Typography>

src/components/about/sections/Community.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const CommunitySection = () => {
3535
width={400}
3636
alt="community illustration"
3737
/>
38-
{/* <Image
38+
{/* <img
3939
id="img"
4040
src={"/static/illustrations/aboutIllustrationStatic.svg"}
4141
onLoad={e => console.log("Loaded")}

src/components/about/sections/Partners.tsx

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { Grid, Typography } from "@mui/material";
22
import React from "react";
33
import { PARTNERS } from "~/lib/constants";
44
import { PartnersSectionsWrapper } from "../styles";
5-
import Image from "next/image";
65

76
interface IPartnerProps {
87
logo: string,
@@ -13,7 +12,7 @@ interface IPartnerProps {
1312
const Partner: React.FC<IPartnerProps> = (props) => {
1413
return (
1514
<>
16-
<Image className={'image'} src={props.logo} alt="Partner" />
15+
<img className={'image'} src={props.logo} alt="Partner" />
1716
</>
1817
)
1918
}
@@ -24,25 +23,25 @@ const PartnersSection = () => {
2423
<Typography variant="h2" gutterBottom className={'subtitle'}>
2524
Our Partners
2625
</Typography>
27-
<Grid
28-
container
29-
spacing={2}
26+
<Grid
27+
container
28+
spacing={2}
3029
className={'partners'}
3130
justifyContent="center"
3231
>
3332
{PARTNERS.map(partner => (
34-
<Grid item
35-
className={'imageWrapper'}
36-
lg={3}
37-
md={3}
38-
sm={4}
39-
xs={5}
40-
key={partner.id}
41-
>
42-
<Partner
43-
{...partner}
44-
/>
45-
</Grid>
33+
<Grid item
34+
className={'imageWrapper'}
35+
lg={3}
36+
md={3}
37+
sm={4}
38+
xs={5}
39+
key={partner.id}
40+
>
41+
<Partner
42+
{...partner}
43+
/>
44+
</Grid>
4645
))}
4746
</Grid>
4847

src/components/about/sections/Sponsors.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { Grid, Typography } from "@mui/material";
22
import React from "react";
33
import { SPONSORS } from "~/lib/constants";
44
import { SponsorsSectionsWrapper } from "../styles";
5-
import Image from "next/image";
65

76
interface ISponsorProps {
87
logo: string,
@@ -13,7 +12,7 @@ interface ISponsorProps {
1312
const Sponsor: React.FC<ISponsorProps> = (props) => {
1413
return (
1514
<>
16-
<Image className={'image'} src={props.logo} alt="Partner" />
15+
<img className={'image'} src={props.logo} alt="Partner" />
1716
</>
1817
)
1918
}

src/components/common/ReadyToStart/index.tsx

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { Grid, Typography } from "@mui/material";
22
import { ContainedButton } from "../Button";
33
import { ReadyToStartWrapper } from "./styles";
4-
import Image from "next/image";
54

65
const ReadyToStart = () => {
76
return (
@@ -34,21 +33,21 @@ const ReadyToStart = () => {
3433
<Grid container className={'journeyImageSection'}>
3534
<Grid container className={'imgContainer'}>
3635
<div className={'imgCenter'}>
37-
<Image
36+
<img
3837
alt=" "
3938
src="/static/team/Devraj Chatribin.jpeg"
4039
className={'imgSmall'}
4140
/>
4241
</div>
4342
<div className={'imgLeft'}>
44-
<Image
43+
<img
4544
alt=" "
4645
src="/static/team/Shriram Parab.jpeg"
4746
className={'imgMedium middleImage'}
4847
/>
4948
</div>
5049
<div className={'imgRight'}>
51-
<Image
50+
<img
5251
alt=" "
5352
src="/static/team/Nandani Paliwal.jpg"
5453
className={'imgBig'}
@@ -57,21 +56,21 @@ const ReadyToStart = () => {
5756
</Grid>
5857
<Grid container className={'imgContainer'}>
5958
<div className={'imgCenter'}>
60-
<Image
59+
<img
6160
alt=" "
6261
src="/static/team/Falguni Sarkar.jpeg"
6362
className={'imgBig'}
6463
/>
6564
</div>
6665
<div className={'imgRight'}>
67-
<Image
66+
<img
6867
alt=" "
6968
src="/static/team/Macy So.JPG"
7069
className={'imgSmall middleImage'}
7170
/>
7271
</div>
7372
<div className={'imgLeft'}>
74-
<Image
73+
<img
7574
alt=" "
7675
src="/static/team/pratham krishna.jpg"
7776
className={'imgMedium'}

src/components/events/sections/Header.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
import { Typography } from "@mui/material"
22
import { ContainedButton } from "~/components/common/Button"
33
import { HeaderSectionWrapper } from "../styles"
4-
import Image from "next/image"
54

65
const HeaderSection = () => {
76
return (
87
<HeaderSectionWrapper>
9-
<Image src='/static/Group 181.png' alt="Logo" className={'image'} />
8+
<img src='/static/Group 181.png' alt="Logo" className={'image'} />
109
<div className="event-header">
1110
<Typography variant="h2" gutterBottom className={'title'}>
1211
Our Events

src/components/footer/index.tsx

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { Container, Divider, Grid, Hidden, Typography } from "@mui/material";
22
import { FooterWrapper } from "./styles";
33
import { NAV_LINKS } from '../../lib/constants';
4-
import Image from "next/image";
54

65
const brandingLogo = "/static/branding-logos/branding-transparent-logo.svg";
76
const emailIcon = "/static/social-icons/BgEmailIcon.svg";
@@ -21,7 +20,7 @@ const Footer = () => {
2120
<Grid container className={'footerContent'}>
2221
<Grid item>
2322
<div className={'branding'}>
24-
<Image
23+
<img
2524
src={brandingLogo}
2625
className={'brandingLogo'}
2726
alt="branding-logo"
@@ -43,18 +42,19 @@ const Footer = () => {
4342
<Grid container className={'footerSectionContainer'}>
4443
{NAV_LINKS.map((data, index) => {
4544
return (
46-
<div key={`link-index-${index}`}>
47-
<Link href={data.url}>
48-
<Typography
49-
variant="subtitle1"
50-
className={`${'footerSectionTitle'} ${index !== NAV_LINKS.length - 1 &&
51-
'footerSectionBorder'
45+
<div key={`link-index-${index}`}>
46+
<Link href={data.url}>
47+
<Typography
48+
variant="subtitle1"
49+
className={`${'footerSectionTitle'} ${
50+
index !== NAV_LINKS.length - 1 &&
51+
'footerSectionBorder'
5252
}`}
53-
>
54-
{data.label}
55-
</Typography>
56-
</Link>
57-
</div>
53+
>
54+
{data.label}
55+
</Typography>
56+
</Link>
57+
</div>
5858
);
5959
})}
6060
</Grid>
@@ -65,42 +65,42 @@ const Footer = () => {
6565
<Grid item md={6}>
6666
<div className={'socialLinks'}>
6767
<a href="mailto:designandcode.community@gmail.com">
68-
<Image src={emailIcon} alt="Email icon" />
68+
<img src={emailIcon} alt="Email icon" />
6969
</a>
7070
<a
7171
href="https://twitter.com/DesignandCode3"
7272
target="_blank"
7373
rel="noreferrer"
7474
>
75-
<Image src={twitterIcon} alt="Twitter icon" />
75+
<img src={twitterIcon} alt="Twitter icon" />
7676
</a>
7777
<a
7878
href="https://www.linkedin.com/company/designandcode/"
7979
target="_blank"
8080
rel="noreferrer"
8181
>
82-
<Image src={linkedinIcon} alt="Linkedin icon" />
82+
<img src={linkedinIcon} alt="Linkedin icon" />
8383
</a>
8484
<a
8585
href="https://www.instagram.com/designandcode.community/"
8686
target="_blank"
8787
rel="noreferrer"
8888
>
89-
<Image src={instagramIcon} alt="Instagram icon" />
89+
<img src={instagramIcon} alt="Instagram icon" />
9090
</a>
9191
<a
9292
href="https://www.youtube.com/channel/UCd4E0oe8MtnZu_48WvYeLMw?sub_confirmation=1"
9393
target="_blank"
9494
rel="noreferrer"
9595
>
96-
<Image src={youtubeIcon} alt="YouTube icon" />
96+
<img src={youtubeIcon} alt="YouTube icon" />
9797
</a>
9898
<a
9999
href="https://github.com/Design-and-Code"
100100
target="_blank"
101101
rel="noreferrer"
102102
>
103-
<Image src={githubIcon} alt="GitHub icon" />
103+
<img src={githubIcon} alt="GitHub icon" />
104104
</a>
105105
</div>
106106
</Grid>
@@ -110,7 +110,7 @@ const Footer = () => {
110110
<ContainedButton
111111
size="large"
112112
href="https://discord.gg/gM3bG4rAU5"
113-
// target="_blank"
113+
// target="_blank"
114114
>
115115
JOIN US
116116
</ContainedButton>

src/components/home/sections/Features.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { Grid, Typography } from '@mui/material';
22
import React from 'react';
33
import { FeatureWrapper, SectionWrapper } from '../styles';
44
import { FEATURES } from '../../../lib/constants';
5-
import Image from 'next/image';
65

76
interface FeaturesSectionProps {}
87

@@ -16,7 +15,7 @@ const Feature: React.FC<FeatureProps> = (props) => {
1615
return (
1716
<FeatureWrapper data-aos="fade-up" data-aos-delay="200">
1817
<div className={'imageHolder'} data-aos="fade-up" data-aos-delay="400">
19-
<Image className={'image'} src={props.image} alt="feature" />
18+
<img className={'image'} src={props.image} alt="feature" />
2019
</div>
2120
<div className={'infoHolder'}>
2221
<div data-aos="fade-up" data-aos-delay="300">

src/components/home/sections/TextChannels.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { Grid, Typography } from "@mui/material";
22
import { ChannelsWrapper } from "../styles"
3-
import Image from "next/image";
43

54
const TextChannels = () => {
65

@@ -30,7 +29,7 @@ const TextChannels = () => {
3029
</Grid>
3130
<Grid item xs={12} sm={6} pt={4}>
3231
<div data-aos="fade-up" data-aos-delay="200">
33-
<Image
32+
<img
3433
src="/static/illustrations/textChannelsIllustration.png"
3534
alt=" "
3635
className={'channelIllustration'}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy