https://github.com/arnobt78/marketing--react-frontend
Marketing-TailwindCSS-Templet is a Static React-Vite Frontend Landing Page, using React-Vite, TailwindCSS, Framer-Motion, React-Animate, React-Icons, and deployed on Netlify.
https://github.com/arnobt78/marketing--react-frontend
animatecss framer-motion marketing-landing-page netlify-deployment react react-animate react-icons react-vite reactjs static-site tailwindcss
Last synced: 4 months ago
JSON representation
Marketing-TailwindCSS-Templet is a Static React-Vite Frontend Landing Page, using React-Vite, TailwindCSS, Framer-Motion, React-Animate, React-Icons, and deployed on Netlify.
- Host: GitHub
- URL: https://github.com/arnobt78/marketing--react-frontend
- Owner: arnobt78
- Created: 2024-09-29T11:41:53.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-07-01T14:12:24.000Z (6 months ago)
- Last Synced: 2025-08-31T22:39:03.707Z (4 months ago)
- Topics: animatecss, framer-motion, marketing-landing-page, netlify-deployment, react, react-animate, react-icons, react-vite, reactjs, static-site, tailwindcss
- Language: JavaScript
- Homepage: https://marketing-arnob.netlify.app
- Size: 706 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Marketing Template - TailwindCSS Fundamental Project 2

---
A modern, production-ready, static React landing page template built with Vite, TailwindCSS, and a fully integrated feedback widget powered by Next.js, Prisma, and Vercel. Easily customizable and deployable, this project demonstrates best practices for building, styling, and extending React apps with real-world features.
- **Live Demo:** [https://marketing-arnob.netlify.app](https://marketing-arnob.netlify.app)
- _Note: The feedback widget is integrated from: [Feedback-Widget--NextJS](https://github.com/arnobt78/Feedback-Widget--NextJS)_
---
## Table of Contents
1. [Project Summary](#project-summary)
2. [Features](#features)
3. [Technology Stack](#technology-stack)
4. [Project Structure](#project-structure)
5. [Getting Started](#getting-started)
6. [Widget Integration Guide](#widget-integration-guide)
7. [Development Scripts](#development-scripts)
8. [React Testing](#react-testing)
9. [Keywords & Topics](#keywords--topics)
10. [Learn More](#learn-more)
11. [About](#about)
12. [Conclusion](#conclusion)
---
## Project Summary
This project is a static marketing landing page built with React, Vite, and TailwindCSS, featuring a real-time feedback widget. The widget is a standalone, reusable component that can be embedded in any site and submits feedback to a Next.js API (deployed on Vercel). The dashboard displays all feedback in real time.
---
## Features
- โก **Fast & Modern**: Built with Vite and React 18.
- ๐จ **Beautiful UI**: Styled with TailwindCSS and custom design tokens.
- ๐ **Feedback Widget**: Collects user feedback, star ratings, and displays them in a dashboard.
- ๐ **Easy Integration**: Widget can be embedded in any HTML page with a single script tag.
- ๐ **API-Driven**: Feedback is stored and retrieved from a Next.js API (Vercel).
- ๐งช **Ready for Testing**: Easily add React tests (see below for test instructions).
- ๐ **Deployed on Netlify**: Static frontend, instant global delivery.
---
## Technology Stack
- **Frontend**: React, Vite, TailwindCSS, Framer Motion, React Animate, React Icons
- **Widget**: React, TailwindCSS, Next.js API, Prisma, Vercel
- **Backend**: Next.js API routes (Vercel), Prisma ORM, (optionally MongoDB/Postgres)
- **Deployment**: Netlify (frontend), Vercel (widget/API)
- **Testing**: Jest, React Testing Library (see below)
---
## Project Structure
```bash
marketing-tailwind/
โโโ public/
โ โโโ vite.svg
โโโ src/
โ โโโ App.jsx
โ โโโ index.css
โ โโโ main.jsx
โ โโโ assets/
โ โโโ components/
โ โ โโโ Banner/
โ โ โโโ Cards/
โ โ โโโ Dashboard/
โ โ โ โโโ FeedbackDashboard.jsx
โ โ โโโ Email/
โ โ โโโ Hero/
โ โ โโโ Navbar/
โ โ โโโ Services/
โ โโโ utility/
โโโ index.html
โโโ package.json
โโโ tailwind.config.js
โโโ postcss.config.js
โโโ README.md
```
---
## Getting Started
### 1. Install Dependencies
```bash
npm install
```
### 2. Start the Development Server
```bash
npm run dev
```
Visit [http://localhost:5173/](http://localhost:5173/) in your browser.
### 3. Build for Production
```bash
npm run build
```
### 4. Deploy
- **Frontend**: Deploy the `marketing-tailwind` folder to Netlify.
- **Widget/API**: Deploy the feedback widget project to Vercel.
---
## Widget Integration Guide
You can embed the feedback widget into any HTML page (including this project) with just a few lines:
```html
```
- The `api-base` attribute should point to your deployed Next.js API endpoint.
- The widget will automatically inject its styles and handle feedback submission.
**To integrate into your own project:**
1. Deploy the widget project to Vercel.
2. Copy the script and `` tag above into your HTML.
3. Optionally, style or position the widget as needed.
---
## Development Scripts
- `npm run dev` โ Start local dev server
- `npm run build` โ Build for production
- `npm run preview` โ Preview production build
---
## React Testing
This project is ready for adding React tests. To add tests:
1. Install a test runner (e.g., Jest, React Testing Library):
```bash
npm install --save-dev jest @testing-library/react @testing-library/jest-dom
```
2. Add test files alongside your components, e.g., `Widget.test.jsx`.
3. Run tests with:
```bash
npm test
# or
yarn test
```
4. For more, see [React Testing Library Docs](https://testing-library.com/docs/react-testing-library/intro/).
---
## Keywords & Topics
widget, reactjs, feedback, mongodb, feedback-form, widget-manager, tailwindcss, feedback-collector, feedback-widget, easy-integration, nextjs, prisma, fullstack, typescript, component-library, api, vercel, modern-web, boilerplate, teaching, example
---
## Learn More
- [Next.js Documentation](https://nextjs.org/docs)
- [Learn Next.js](https://nextjs.org/learn)
- [Next.js GitHub Repository](https://github.com/vercel/next.js)
- [Prisma Documentation](https://www.prisma.io/docs/)
- [Tailwind CSS Documentation](https://tailwindcss.com/docs)
- [React Testing Library](https://testing-library.com/docs/react-testing-library/intro/)
---
## About
This project is designed as a teaching and demonstration tool for modern React, Vite, and TailwindCSS workflows, with a focus on real-world integration patterns and best practices.
---
## Conclusion
This template provides a robust starting point for any marketing or landing page project, with a fully functional feedback system that can be reused across multiple sites. The modular widget approach allows for easy integration and extension, making it ideal for both learning and production use.
---
If you have questions or want to contribute, feel free to open an issue or pull request!