Skip to content

Commit

Permalink
Update configuration for custom domain
Browse files Browse the repository at this point in the history
  • Loading branch information
driekwartsbroek committed Sep 4, 2024
1 parent 02cfac4 commit 6f0c2f7
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 26 deletions.
1 change: 1 addition & 0 deletions .github/workflows/CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
www.bertselleslagh.com
1 change: 1 addition & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@ jobs:
with:
personal_token: ${{ secrets.PAT }}
publish_dir: ./out
cname: www.bertselleslagh.com
19 changes: 1 addition & 18 deletions next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,25 +1,8 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'export',
basePath: '/portfolio', // Add this line if your repo is named "portfolio"
images: {
remotePatterns: [
{
protocol: 'https',
hostname: 'placehold.co',
pathname: '/**',
},

{
protocol: 'https',
hostname: 'via.placeholder.com',
pathname: '/**',
},
],
unoptimized: true, // Add this line for static export
},
eslint: {
ignoreDuringBuilds: true,
unoptimized: true,
},
};

Expand Down
2 changes: 1 addition & 1 deletion src/app/about/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export default function About() {
<div className="mb-6">
<Tooltip content="is this you? &amp;#x1f5b5;">
<Image
src="/portfolio/1000_F_26356527_jPF0QNbPhT65KYlYhQhFUFopfzapAidj.jpg"
src="/1000_F_26356527_jPF0QNbPhT65KYlYhQhFUFopfzapAidj.jpg"
alt="About Me"
width={250}
height={400}
Expand Down
14 changes: 7 additions & 7 deletions src/components/Navigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ const navigationItems = [
];

const profileImages = [
"/portfolio/pfp_1.png",
"/portfolio/pfp_2.png",
"/portfolio/pfp_3.png",
"/portfolio/pfp_4.png",
"/portfolio/pfp_5.png",
"/portfolio/pfp_6.png",
"/portfolio/pfp_7.png",
"/pfp_1.png",
"/pfp_2.png",
"/pfp_3.png",
"/pfp_4.png",
"/pfp_5.png",
"/pfp_6.png",
"/pfp_7.png",
];

export default function Navigation() {
Expand Down

0 comments on commit 6f0c2f7

Please sign in to comment.