Skip to content

Commit

Permalink
patch: site =/= landing
Browse files Browse the repository at this point in the history
  • Loading branch information
potts99 committed Nov 4, 2024
1 parent 1deca25 commit fb6aad1
Show file tree
Hide file tree
Showing 28 changed files with 326 additions and 213 deletions.
3 changes: 3 additions & 0 deletions apps/landing/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": ["next/core-web-vitals", "next/typescript"]
}
12 changes: 8 additions & 4 deletions apps/site/.gitignore → apps/landing/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
# dependencies
/node_modules
/.pnp
.pnp.js
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/versions

# testing
/coverage
Expand All @@ -23,10 +28,9 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*

# local env files
.env*.local
# env files (can opt-in for commiting if needed)
.env*

# vercel
.vercel
Expand Down
36 changes: 36 additions & 0 deletions apps/landing/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app).

## Getting Started

First, run the development server:

```bash
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.

This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.

## Learn More

To learn more about Next.js, take a look at the following resources:

- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.

You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome!

## Deploy on Vercel

The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.

Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.
7 changes: 7 additions & 0 deletions apps/landing/next.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import type { NextConfig } from "next";

const nextConfig: NextConfig = {
/* config options here */
};

export default nextConfig;
27 changes: 27 additions & 0 deletions apps/landing/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"name": "landing",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint"
},
"dependencies": {
"lucide-react": "^0.454.0",
"next": "15.0.2",
"react": "19.0.0-rc-02c0e824-20241028",
"react-dom": "19.0.0-rc-02c0e824-20241028"
},
"devDependencies": {
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"eslint": "^8",
"eslint-config-next": "15.0.2",
"postcss": "^8",
"tailwindcss": "^3.4.1",
"typescript": "^5"
}
}
8 changes: 8 additions & 0 deletions apps/landing/postcss.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/** @type {import('postcss-load-config').Config} */
const config = {
plugins: {
tailwindcss: {},
},
};

export default config;
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
Binary file added apps/landing/src/app/favicon.ico
Binary file not shown.
Binary file added apps/landing/src/app/fonts/GeistMonoVF.woff
Binary file not shown.
Binary file added apps/landing/src/app/fonts/GeistVF.woff
Binary file not shown.
21 changes: 21 additions & 0 deletions apps/landing/src/app/globals.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
--background: #ffffff;
--foreground: #171717;
}

@media (prefers-color-scheme: dark) {
:root {
--background: #0a0a0a;
--foreground: #ededed;
}
}

body {
color: var(--foreground);
background: var(--background);
font-family: Arial, Helvetica, sans-serif;
}
35 changes: 35 additions & 0 deletions apps/landing/src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
import type { Metadata } from "next";
import localFont from "next/font/local";
import "./globals.css";

const geistSans = localFont({
src: "./fonts/GeistVF.woff",
variable: "--font-geist-sans",
weight: "100 900",
});
const geistMono = localFont({
src: "./fonts/GeistMonoVF.woff",
variable: "--font-geist-mono",
weight: "100 900",
});

export const metadata: Metadata = {
title: "Create Next App",
description: "Generated by create next app",
};

export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en">
<body
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
>
{children}
</body>
</html>
);
}
27 changes: 10 additions & 17 deletions apps/site/pages/index.tsx → apps/landing/src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
/* eslint-disable react/no-unescaped-entities */
// @ts-nocheck
import {
BellAlertIcon,
ChevronRightIcon,
GlobeEuropeAfricaIcon,
InboxIcon,
LightBulbIcon,
LockClosedIcon,
UserIcon,
} from "@heroicons/react/20/solid";
"use client"
import { Bell, ChevronRight, Globe, Inbox, Lightbulb, Lock, User } from "lucide-react";
import { useState } from "react";

const navigation = [
Expand Down Expand Up @@ -119,21 +112,21 @@ const features = [
description:
"Connect Peppermint to third-party services using webhooks and various providers, including email integration.",
href: "#",
icon: BellAlertIcon,
icon: Bell,
},
{
name: "Email Fetching",
description:
"Configure mailboxes to facilitate direct customer emails, automatically converting them into tickets for efficient management.",
href: "#",
icon: InboxIcon,
icon: Inbox,
},
{
name: "Single Sign On",
description:
"Implement single sign-on (SSO) for all users to enable shared authentication across multiple providers.",
href: "#",
icon: LockClosedIcon,
icon: Lock,
},
];

Expand All @@ -142,25 +135,25 @@ const features2 = [
name: "Location",
description:
"Peppermint is designed to be hosted in any environment, offering all of its core features without requiring an internet connection.",
icon: GlobeEuropeAfricaIcon,
icon: Globe,
},
{
name: "Data Ownership",
description:
"Peppermint ensures customer app data remains private by never transferring it to external servers. All data is securely stored locally on your server.",
icon: LockClosedIcon,
icon: Lock,
},
{
name: "Lightweight",
description:
"Peppermint is designed to be lightweight and fast, making it suitable for running on low-end hardware with minimal resource usage. This allows for cost-effective hosting on a low-end VPS or even a Raspberry Pi.",
icon: LightBulbIcon,
icon: Lightbulb,
},
{
name: "Customer First",
description:
"Peppermint is customer-centric, enabling us to provide the best features by actively listening to and addressing our customer's needs.",
icon: UserIcon,
icon: User,
},
];

Expand Down Expand Up @@ -207,7 +200,7 @@ export default function Home() {
What's new -
<span className="ml-1 inline-flex items-center space-x-2 text-sm font-medium leading-6 ">
<span>Version 0.5.3 is live! 🚀</span>
<ChevronRightIcon
<ChevronRight
className="h-5 w-5 text-gray-500"
aria-hidden="true"
/>
Expand Down
19 changes: 19 additions & 0 deletions apps/landing/tailwind.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import type { Config } from "tailwindcss";

const config: Config = {
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
colors: {
background: "var(--background)",
foreground: "var(--foreground)",
},
},
},
plugins: [],
};
export default config;
14 changes: 9 additions & 5 deletions apps/site/tsconfig.json → apps/landing/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,27 @@
{
"compilerOptions": {
"target": "es5",
"target": "ES2017",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "node",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"plugins": [
{
"name": "next"
}
],
"paths": {
"@/*": ["./*"]
"@/*": ["./src/*"]
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"exclude": ["node_modules"]
}
21 changes: 0 additions & 21 deletions apps/site/LICENSE

This file was deleted.

38 changes: 0 additions & 38 deletions apps/site/README.md

This file was deleted.

8 changes: 0 additions & 8 deletions apps/site/next.config.js

This file was deleted.

Loading

0 comments on commit fb6aad1

Please sign in to comment.