Skip to content
Open
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
11 changes: 8 additions & 3 deletions next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'export',
distDir: 'out',
// output: 'export',
// distDir: 'out',
Comment thread
Yaannko marked this conversation as resolved.
images: {
unoptimized: true,
},
webpack: (config) => {
config.resolve.fallback = { fs: false, net: false, tls: false };
config.resolve.fallback = {
fs: false,
net: false,
tls: false,
'@react-native-async-storage/async-storage': false
};
Comment thread
Yaannko marked this conversation as resolved.
return config;
},
};
Expand Down
2 changes: 1 addition & 1 deletion src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export default function RootLayout({
__html: `
(function() {
try {
var theme = localStorage.getItem('theme') || 'system';
var theme = localStorage.getItem('fate-protocol-theme') || 'system';
var systemTheme = window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light';
var finalTheme = theme === 'system' ? systemTheme : theme;

Expand Down
7 changes: 5 additions & 2 deletions src/components/layout/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,13 @@ export default function Footer({ className = "", onKYAClick }: FooterProps) {
href={item.href}
target="_blank"
rel="noopener noreferrer"
className="rounded-full bg-white/10 dark:bg-black/10 p-2 hover:bg-white/20 dark:hover:bg-black/20 transition-colors"
className="group rounded-full bg-white/10 dark:bg-white/5 p-2 hover:bg-white/20 dark:hover:bg-yellow-400/10 transition-all duration-300 hover:scale-110 active:scale-95"
>
<span className="sr-only">{item.name}</span>
<item.icon className="size-6 text-white dark:text-white" aria-hidden="true" />
<item.icon
className="size-6 text-white transition-colors duration-300 group-hover:text-yellow-500 dark:group-hover:text-yellow-400"
aria-hidden="true"
/>
</Link>
))}
</div>
Expand Down