From 2edfc9692a7b3a18b6cf2b736610d939c0888fa4 Mon Sep 17 00:00:00 2001 From: leogytis Date: Thu, 25 Jan 2024 07:59:51 +0200 Subject: [PATCH] another try --- next.config.js | 8 ++++-- src/app/components/About.tsx | 48 ++++++++++++++++++------------------ 2 files changed, 30 insertions(+), 26 deletions(-) diff --git a/next.config.js b/next.config.js index 07c7aff..93cd85e 100644 --- a/next.config.js +++ b/next.config.js @@ -2,7 +2,11 @@ * @type {import('next').NextConfig} */ const nextConfig = { - + output: "export", + images: { unoptimized: true }, }; -module.exports = nextConfig; +module.exports = (_phase, { defaultConfig }) => { + const plugins = [withStaticImport, withBundleAnalyzer, withCustomWebpack] + return plugins.reduce((acc, plugin) => plugin(acc), { ...defaultConfig, ...config }) +} diff --git a/src/app/components/About.tsx b/src/app/components/About.tsx index 5b51aa5..03d1770 100644 --- a/src/app/components/About.tsx +++ b/src/app/components/About.tsx @@ -1,28 +1,28 @@ const About: any = () => { - return ( -
-

- {/* // output: "export", - // images: { unoptimized: true }, */} - I have experience developing web applications, from simple landing pages - to progressive web applications. I strive to create software that not - only functions efficiently under the hood, but also provides intuitive, - pixel-perfect user experiences. -

-

- I love learning new and better ways to create seamless user experiences - with clean, efficient and scalable code. I consider work an ongoing - education, and I am always looking for opportunities to work with those - who are willing to share their knowledge as much as I want to learn. At - the end of the day, my primary goal is to create something beautiful - with people that bring out the best in me. -

-

At my free time I am out in the woods or swimming.

-
- ); + return ( +
+

+ I have experience developing web applications, from simple + landing pages to progressive web applications. I strive to + create software that not only functions efficiently under the + hood, but also provides intuitive, pixel-perfect user + experiences. +

+

+ I love learning new and better ways to create seamless user + experiences with clean, efficient and scalable code. I consider + work an ongoing education, and I am always looking for + opportunities to work with those who are willing to share their + knowledge as much as I want to learn. At the end of the day, my + primary goal is to create something beautiful with people that + bring out the best in me. +

+

At my free time I am out in the woods or swimming.

+
+ ); }; export default About;