Skip to content

Commit 10518f8

Browse files
fix: footer import path (#109)
1 parent 520b30d commit 10518f8

9 files changed

Lines changed: 34 additions & 34 deletions

File tree

.DS_Store

2 KB
Binary file not shown.

2025/src/components/footer/footer.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ footer::before {
5353
left: 0;
5454
width: 100%;
5555
height: 75%;
56-
background-image: url('./FOOTER/star.svg');
56+
background-image: url('/footer/star.svg');
5757
background-color: #000;
5858
background-position: center;
5959
background-size: cover;

2025/src/components/footer/footer.jsx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ const Footer = () => {
1616
<footer>
1717
<div className="outlaws">
1818
<div className="outlaws-image">
19-
<img src="./FOOTER/no_outlaw-cropped.svg" alt="text" />
19+
<img src="./footer/no_outlaw-cropped.svg" alt="text" />
2020
<h1>Code The Journey</h1>
2121
</div>
2222
</div>
2323
<div className="everything">
2424
<div className="M">
25-
<img src="./FOOTER/MATURE_17.svg" alt="MATURE" />
25+
<img src="./footer/MATURE_17.svg" alt="MATURE" />
2626
</div>
2727
<div className="logo">
2828
<div className="save-the-date">SAVE THE DATE</div>
@@ -35,28 +35,28 @@ const Footer = () => {
3535
></div>
3636
<div className="social-icons">
3737
<a href="https://www.facebook.com/kjscecodecell/" target="_blank" rel="noopener noreferrer">
38-
<img src="./FOOTER/facebook.svg" alt="Facebook" style={{ width: '30px', height: '30px' }} />
38+
<img src="./footer/facebook.svg" alt="Facebook" style={{ width: '30px', height: '30px' }} />
3939
</a>
4040
<a href="https://x.com/kjsce_codecell" target="_blank" rel="noopener noreferrer">
41-
<img src="./FOOTER/twitter.svg" alt="Twitter" style={{ width: '30px', height: '30px' }} />
41+
<img src="./footer/twitter.svg" alt="Twitter" style={{ width: '30px', height: '30px' }} />
4242
</a>
4343
<a href="https://www.instagram.com/kjsce_codecell/" target="_blank" rel="noopener noreferrer">
44-
<img src="./FOOTER/instagram.svg" alt="Instagram" style={{ width: '30px', height: '30px' }} />
44+
<img src="./footer/instagram.svg" alt="Instagram" style={{ width: '30px', height: '30px' }} />
4545
</a>
4646
<a href="https://www.youtube.com/kjscecodecell" target="_blank" rel="noopener noreferrer">
47-
<img src="./FOOTER/youtube.svg" alt="YouTube" style={{ width: '30px', height: '30px' }} />
47+
<img src="./footer/youtube.svg" alt="YouTube" style={{ width: '30px', height: '30px' }} />
4848
</a>
4949
<a href="https://www.linkedin.com/company/kjscecodecell/" target="_blank" rel="noopener noreferrer">
50-
<img src="./FOOTER/linkedin.svg" alt="LinkedIn" style={{ width: '30px', height: '30px' }} />
50+
<img src="./footer/linkedin.svg" alt="LinkedIn" style={{ width: '30px', height: '30px' }} />
5151
</a>
5252
</div>
5353
<p>Made with <span>🤍</span> by <a href="https://www.kjssecodecell.com/" target="_blank" rel="noopener noreferrer">KJSSE CodeCell</a> </p>
5454
</div>
5555
<div className="G">
56-
<img src="./FOOTER/MATURE_17.svg" alt="MATURE" />
56+
<img src="./footer/MATURE_17.svg" alt="MATURE" />
5757
</div>
5858
<div className="cclogo">
59-
<img src="./FOOTER/Logo.svg" alt="cclogo" />
59+
<img src="./footer/Logo.svg" alt="cclogo" />
6060
</div>
6161
</div>
6262
</footer>

2025/src/sections/sponsor/sponsor.jsx

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@ import prevsponsors from "../../../public/sponsor/prevsponsors";
55

66
export default function Sponsor() {
77
const [activeTab, setActiveTab] = useState("current");
8-
8+
99
const renderPrevSponsors = () => {
1010
return (
1111
<div className="sponsor__logos">
1212
{prevsponsors.map((item, index) => (
1313
<div className="sponsor__logo-item" key={index}>
1414
<a href={item.link} target="_blank" rel="noopener noreferrer">
15-
<img
16-
src={item.img}
17-
alt="Sponsor Logo"
15+
<img
16+
src={item.img}
17+
alt="Sponsor Logo"
1818
className="sponsor__logo-placeholder"
1919
/>
2020
</a>
@@ -34,9 +34,9 @@ export default function Sponsor() {
3434
{category.sponsors.map((sponsor, idx) => (
3535
<div className="sponsor__logo-item" key={idx}>
3636
<a href={sponsor.src} target="_blank" rel="noopener noreferrer">
37-
<img
38-
src={sponsor.img}
39-
alt="Sponsor Logo"
37+
<img
38+
src={sponsor.img}
39+
alt="Sponsor Logo"
4040
className="sponsor__logo-placeholder"
4141
/>
4242
</a>
@@ -48,7 +48,7 @@ export default function Sponsor() {
4848
</>
4949
);
5050
};
51-
51+
5252
return (
5353
<section className="sponsor" id="sponsor">
5454
<img className="sponsor__left-streak" src="/assets/AboutUsLeftStreak.svg" alt="Left streak" />
@@ -58,34 +58,34 @@ export default function Sponsor() {
5858
<div className="sponsor__title-container">
5959
<h1 className="sponsor__title title-header-text">SPONSORS</h1>
6060
</div>
61-
61+
6262
<div className="sponsor__container">
6363
<div className="sponsor__button-container">
64-
<button
64+
<button
6565
className={`sponsor__button ${activeTab === "current" ? "sponsor__button--active" : ""}`}
6666
onClick={() => setActiveTab("current")}
6767
>
6868
Current Sponsors
6969
</button>
70-
<button
70+
<button
7171
className={`sponsor__button ${activeTab === "previous" ? "sponsor__button--active" : ""}`}
7272
onClick={() => setActiveTab("previous")}
7373
>
7474
Previous Sponsors
7575
</button>
7676
</div>
77-
77+
7878
<div className="sponsor__frame-container">
7979
<div className="sponsor__frame-border sponsor__frame-border--top"></div>
8080
<div className="sponsor__frame-border sponsor__frame-border--right"></div>
8181
<div className="sponsor__frame-border sponsor__frame-border--bottom"></div>
8282
<div className="sponsor__frame-border sponsor__frame-border--left"></div>
83-
83+
8484
<div className="sponsor__frame">
8585
<h2 className="sponsor__frame-title">
8686
{activeTab === "current" ? "Our Current Sponsors" : "Our Previous Sponsors"}
8787
</h2>
88-
88+
8989
{activeTab === "current" ? renderCurrSponsors() : renderPrevSponsors()}
9090
</div>
9191
</div>

assets/index-C19j0CLC.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)