diff --git a/app/(root)/page.jsx b/app/(root)/page.jsx index 94b39cc..cfd8474 100644 --- a/app/(root)/page.jsx +++ b/app/(root)/page.jsx @@ -1,3 +1,4 @@ +import Features from "@/components/Features"; import Hero from "@/components/Hero"; export const metadata = { @@ -36,6 +37,7 @@ function Home() { return ( <> + Some other sections, of course! ); diff --git a/components/Features.jsx b/components/Features.jsx new file mode 100644 index 0000000..7d47562 --- /dev/null +++ b/components/Features.jsx @@ -0,0 +1,30 @@ +import { features } from "@/constants"; + +function Features() { + return ( +
+

+ Experience Effortless Email +

+

+ Discover a seamless and intuitive way to manage your inbox with our + open-source webmail application, powered by the robust MERN stack. +

+
+ {features.map((feature, index) => ( +
+
+

+ {feature.icon} + {feature.title} +

+

{feature.description}

+
+
+ ))} +
+
+ ); +} + +export default Features; diff --git a/constants/index.jsx b/constants/index.jsx index cdbca6c..c577ed0 100644 --- a/constants/index.jsx +++ b/constants/index.jsx @@ -1,3 +1,5 @@ +import { Bird, MonitorSmartphone, Server, Sparkles } from "lucide-react"; + export const headerLinks = { nav: [ { @@ -21,3 +23,30 @@ export const headerLinks = { target: "_blank" } }; + +export const features = [ + { + icon: , + title: "Free as in freedom", + description: + "With MERNMail being open-source and licensed under MIT, you're protected from potential risks like backdoors often associated with proprietary software. You can also contribute to its development through the Git repository." + }, + { + icon: , + title: "Simple and clean", + description: + "MERNMail offers an intuitive, clutter-free interface for effortless email management. Built on the MERN stack, our design ensures a seamless and responsive user experience. Focus on what matters – your emails." + }, + { + icon: , + title: "Self-hosted", + description: + "Take control of your emails with MERNMail's self-hosted feature. Easily host your data on your own servers. Enjoy enhanced privacy and security, with a simple setup process. Say goodbye to third-party data centers and hello to email independence." + }, + { + icon: , + title: "Mobile-friendly", + description: + "Access your emails seamlessly on any device with MERNMail. Our responsive design ensures a smooth experience on smartphones and tablets, making it easy to read, compose, and organize emails on the go." + } +]; diff --git a/tailwind.config.js b/tailwind.config.js index 3156695..1fe4052 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -4,6 +4,7 @@ module.exports = { content: [ "./pages/**/*.{js,ts,jsx,tsx,mdx}", "./components/**/*.{js,ts,jsx,tsx,mdx}", + "./constants/**/*.{js,ts,jsx,tsx,mdx}", "./app/**/*.{js,ts,jsx,tsx,mdx}" ], safelist: ["dark"],