Skip to content

Commit

Permalink
Changed location bvack to public folder and changed image urls to match
Browse files Browse the repository at this point in the history
  • Loading branch information
Taks07 committed May 7, 2024
1 parent e0d1b12 commit 99ec043
Show file tree
Hide file tree
Showing 25 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions web/Dockerfile.production
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ COPY --from=build /app/dist /usr/share/nginx/html
COPY --link _redirects /usr/share/nginx/html/_redirects
COPY nginx.conf /etc/nginx/nginx.conf

# Serve the assets folder
COPY --link src/assets /usr/share/nginx/html/assets
# Serve the public folder
COPY --link public /usr/share/nginx/html/public

# Start the server by default, this can be overwritten at runtime
EXPOSE 80
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
2 changes: 1 addition & 1 deletion web/src/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function Header() {
<div className="header-content">

<div className="header-left">
<img src="/src/assets/header-logo.svg" alt="Volunteers Club Logo" />
<img src="/public/assets/header-logo.svg" alt="Volunteers Club Logo" />
</div>

<div className="header-right">
Expand Down
8 changes: 4 additions & 4 deletions web/src/data/MainGalleryEvents.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,31 @@
"events": [
{
"id": 1,
"imageSrc": "src/assets/gallery/events/sample1.png",
"imageSrc": "/public/assets/gallery/events/sample1.png",
"title": "Pink Ribbon Breakfast",
"description": "Qwoijhdoiasjiodoqwidihqoiasdqwdq",
"alt": "Event 1"
},

{
"id": 2,
"imageSrc": "src/assets/gallery/events/sample2.png",
"imageSrc": "/public/assets/gallery/events/sample2.png",
"title": "Dbink RDibbon BDreakfast",
"description": "Description 2 ascas q2wq dwq qwd",
"alt": "Event 2"
},

{
"id": 3,
"imageSrc": "src/assets/gallery/events/sample3.png",
"imageSrc": "/public/assets/gallery/events/sample3.png",
"title": "Qwbink RDibboqwen BDreakfeqast",
"description": "Descriptiwqeq112on 3",
"alt": "Event 3"
},

{
"id": 4,
"imageSrc": "src/assets/gallery/events/sample4.png",
"imageSrc": "/public/assets/gallery/events/sample4.png",
"title": "QwdwdwdwdRDibboqwen BDreakfeqast",
"description": "Descriptiwqeq112on 3scriptiwqeq112on 3scriptiw qeq112on 3scriptiw qeq112on 3scr iptiwq eq112on 3scripti wqeq112on 3script iwqeq1 12on 3",
"alt": "Event 4"
Expand Down
12 changes: 6 additions & 6 deletions web/src/data/SponsorList.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,37 +2,37 @@
"sponsors": [
{
"id": 1,
"imageSrcColour": "../src/assets/gallery/sponsors/colour/kompass-logo-colour.png",
"imageSrcColour": "/public/assets/gallery/sponsors/colour/kompass-logo-colour.png",
"imageSrcBw": "../src/assets/gallery/sponsors/bw/kompass-logo-bw.png",
"alt": "Kompass Coffee"
},
{
"id": 2,
"imageSrcColour": "../src/assets/gallery/sponsors/colour/shelf-logo-colour.png",
"imageSrcColour": "/public/assets/gallery/sponsors/colour/shelf-logo-colour.png",
"imageSrcBw": "../src/assets/gallery/sponsors/bw/shelf-logo-bw.png",
"alt": "The Shelf Cafe"
},
{
"id": 3,
"imageSrcColour": "../src/assets/gallery/sponsors/colour/sals-logo-colour.png",
"imageSrcColour": "/public/assets/gallery/sponsors/colour/sals-logo-colour.png",
"imageSrcBw": "../src/assets/gallery/sponsors/bw/sals-logo-bw.png",
"alt": "Sal's Pizza"
}
],
"discounts": [
{
"id": 1,
"discount": "../src/assets/gallery/sponsors/colour/kompass-logo-colour.png",
"discount": "/public/assets/gallery/sponsors/colour/kompass-logo-colour.png",
"alt": "Kompass Coffee"
},
{
"id": 2,
"discount": "../src/assets/gallery/sponsors/colour/shelf-logo-colour.png",
"discount": "/public/assets/gallery/sponsors/colour/shelf-logo-colour.png",
"alt": "The Shelf Cafe"
},
{
"id": 3,
"discount": "../src/assets/gallery/sponsors/colour/sals-logo-colour.png",
"discount": "/public/assets/gallery/sponsors/colour/sals-logo-colour.png",
"alt": "Sal's Pizza"
}
]
Expand Down

0 comments on commit 99ec043

Please sign in to comment.