Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions CEUS/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ const nextConfig = {
protocol: 'http',
hostname: 'localhost',
},
{
protocol: 'https',
hostname: 'ddbdosutmmbyavtxqlks.supabase.co',
pathname: '/**',
},
{
protocol: 'https',
hostname: 'encrypted-tbn0.gstatic.com',
Expand All @@ -29,6 +34,33 @@ const nextConfig = {
});
return config;
},
async rewrites() {
const supabaseBase = (process.env.NEXT_PUBLIC_SUPABASE_URL || '').replace(/\/+$/, '');

if (!supabaseBase) {
return [];
}

// Backward-compatibility layer for legacy local image paths.
return [
{
source: '/images/assets/:path*',
destination: `${supabaseBase}/storage/v1/object/public/assets/assets/:path*`,
},
{
source: '/images/events/:path*',
destination: `${supabaseBase}/storage/v1/object/public/events/events/:path*`,
},
{
source: '/images/sponsors/:path*',
destination: `${supabaseBase}/storage/v1/object/public/sponsors/sponsors/:path*`,
},
{
source: '/images/team/:path*',
destination: `${supabaseBase}/storage/v1/object/public/team/team/:path*`,
},
];
},
}

module.exports = nextConfig
20 changes: 10 additions & 10 deletions CEUS/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file removed CEUS/public/images/assets/Arc_icon.png
Binary file not shown.
Binary file not shown.
Binary file removed CEUS/public/images/assets/ceuslogo_noback_noname.png
Binary file not shown.
1 change: 0 additions & 1 deletion CEUS/public/images/assets/facebook_icon.svg

This file was deleted.

1 change: 0 additions & 1 deletion CEUS/public/images/assets/instagram_icon.svg

This file was deleted.

1 change: 0 additions & 1 deletion CEUS/public/images/assets/linkedin_icon.svg

This file was deleted.

Binary file removed CEUS/public/images/events/AGM 2025.png
Binary file not shown.
Binary file removed CEUS/public/images/events/ANSTO SITE TOUR.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed CEUS/public/images/events/CEUS-industry-night.jpeg
Binary file not shown.
Binary file not shown.
Binary file removed CEUS/public/images/events/LABCOAT EMBROIDERY.JPEG
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed CEUS/public/images/events/WHAT'S MY DEGREE.png
Binary file not shown.
Binary file not shown.
Binary file removed CEUS/public/images/events/cruise banner (t2wk2).png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Diff not rendered.
Binary file removed CEUS/public/images/sponsors/Arc_icon.png
Diff not rendered.
Diff not rendered.
Binary file removed CEUS/public/images/sponsors/EngineersAu.png
Diff not rendered.
Diff not rendered.
Binary file removed CEUS/public/images/sponsors/Ventia-logo.png
Diff not rendered.
Binary file removed CEUS/public/images/sponsors/acps.png
Diff not rendered.
Binary file removed CEUS/public/images/sponsors/aifst-logo.png
Diff not rendered.
Binary file removed CEUS/public/images/sponsors/ansto_logo.png
Diff not rendered.
Diff not rendered.
Binary file removed CEUS/public/images/sponsors/arc-clubs-logo.png
Diff not rendered.
Binary file removed CEUS/public/images/sponsors/engineersaustralia!.png
Diff not rendered.
Loading
Loading