This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # | |
| # This script configures WordPress file permissions based on recommendations | |
| # from http://codex.wordpress.org/Hardening_WordPress#File_permissions | |
| # | |
| # Author: Michael Conigliaro <mike [at] conigliaro [dot] org> | |
| # | |
| WP_OWNER=changeme # <-- wordpress owner | |
| WP_GROUP=changeme # <-- wordpress group | |
| WP_ROOT=/home/changeme # <-- wordpress root directory |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "editor.tabSize": 2, | |
| "editor.fontSize": 16, | |
| "editor.lineHeight": 24, | |
| "editor.rulers": [80, 120], | |
| "editor.fontLigatures": true, | |
| "editor.fontFamily": "Fira Code", | |
| "editor.renderLineHighlight": "gutter", | |
| "editor.parameterHints.enabled": false, | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const withNextIntl = require('next-intl/plugin')(); | |
| const nextConfig = {}; | |
| module.exports = withNextIntl(nextConfig); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { getRequestConfig } from 'next-intl/server'; | |
| export default getRequestConfig(async ({ locale }) => ({ | |
| messages: (await import(`./dictionaries/${locale}.json`)).default, | |
| })); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import createMiddleware from 'next-intl/middleware'; | |
| import { locales } from './navigation'; | |
| export default createMiddleware({ | |
| locales, | |
| defaultLocale: 'en', | |
| localePrefix: 'never', | |
| localeDetection: false, | |
| domains: [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { ReactNode } from 'react'; | |
| import { Inter } from 'next/font/google'; | |
| import { notFound } from 'next/navigation'; | |
| import Providers from '@/app/providers'; | |
| import Navbar from '@/components/Navbar'; | |
| import { locales } from '@/navigation'; | |
| const inter = Inter({ subsets: ['latin'] }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { ReactNode } from 'react'; | |
| import './globals.css'; | |
| export default function RootLayout({ children }: { children: ReactNode }) { | |
| return children; | |
| } |