├── app ├── favicon.ico ├── layout.tsx ├── globals.css ├── colorThemes.ts ├── page.tsx ├── happy-birthday-images │ └── page.tsx ├── good-morning-images │ └── page.tsx └── inspirational-quotes │ └── page.tsx ├── next.config.mjs ├── public ├── fonts │ └── Huiwen_mingchao.woff2 ├── vercel.svg └── next.svg ├── .idea ├── .gitignore ├── vcs.xml └── inspectionProfiles │ └── Project_Default.xml ├── postcss.config.mjs ├── lib ├── utils.ts └── goolge-analytics.tsx ├── components.json ├── .gitignore ├── components ├── Header.tsx ├── ui │ ├── label.tsx │ ├── textarea.tsx │ ├── switch.tsx │ ├── button.tsx │ └── card.tsx ├── ThemeSelector.tsx ├── Features.tsx ├── Footer.tsx ├── FAQ.tsx ├── TextPreview.tsx └── EpicCard.tsx ├── package.json ├── tsconfig.json ├── README.md ├── tailwind.config.ts └── pnpm-lock.yaml /app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qiaoshouqing/text2card/HEAD/app/favicon.ico -------------------------------------------------------------------------------- /next.config.mjs: -------------------------------------------------------------------------------- 1 | /** @type {import('next').NextConfig} */ 2 | const nextConfig = {}; 3 | 4 | export default nextConfig; 5 | -------------------------------------------------------------------------------- /public/fonts/Huiwen_mingchao.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qiaoshouqing/text2card/HEAD/public/fonts/Huiwen_mingchao.woff2 -------------------------------------------------------------------------------- /.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | # Editor-based HTTP Client requests 5 | /httpRequests/ 6 | -------------------------------------------------------------------------------- /postcss.config.mjs: -------------------------------------------------------------------------------- 1 | /** @type {import('postcss-load-config').Config} */ 2 | const config = { 3 | plugins: { 4 | tailwindcss: {}, 5 | }, 6 | }; 7 | 8 | export default config; 9 | -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /lib/utils.ts: -------------------------------------------------------------------------------- 1 | import { type ClassValue, clsx } from "clsx" 2 | import { twMerge } from "tailwind-merge" 3 | 4 | export function cn(...inputs: ClassValue[]) { 5 | return twMerge(clsx(inputs)) 6 | } 7 | -------------------------------------------------------------------------------- /.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | -------------------------------------------------------------------------------- /components.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://ui.shadcn.com/schema.json", 3 | "style": "default", 4 | "rsc": true, 5 | "tsx": true, 6 | "tailwind": { 7 | "config": "tailwind.config.ts", 8 | "css": "app/globals.css", 9 | "baseColor": "slate", 10 | "cssVariables": true, 11 | "prefix": "" 12 | }, 13 | "aliases": { 14 | "components": "@/components", 15 | "utils": "@/lib/utils" 16 | }, 17 | "componentPath": "@/components/ui" 18 | } -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. 2 | 3 | # dependencies 4 | /node_modules 5 | /.pnp 6 | .pnp.js 7 | .yarn/install-state.gz 8 | 9 | # testing 10 | /coverage 11 | 12 | # next.js 13 | /.next/ 14 | /out/ 15 | 16 | # production 17 | /build 18 | 19 | # misc 20 | .DS_Store 21 | *.pem 22 | 23 | # debug 24 | npm-debug.log* 25 | yarn-debug.log* 26 | yarn-error.log* 27 | 28 | # local env files 29 | .env*.local 30 | 31 | # vercel 32 | .vercel 33 | 34 | # typescript 35 | *.tsbuildinfo 36 | next-env.d.ts 37 | 38 | # IDE 39 | .idea 40 | .history -------------------------------------------------------------------------------- /public/vercel.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /components/Header.tsx: -------------------------------------------------------------------------------- 1 | // components/Header.tsx 2 | import React from 'react'; 3 | 4 | const Header: React.FC = () => { 5 | return ( 6 |
7 |

Text2Card: Your Ultimate Card Maker

8 |

"The easiest card maker for your thoughts and quotes"

9 |

Create stunning cards effortlessly with our intuitive card maker. Perfect for social media, presentations, and personal use.

10 |
11 | ); 12 | }; 13 | 14 | export default Header; -------------------------------------------------------------------------------- /lib/goolge-analytics.tsx: -------------------------------------------------------------------------------- 1 | import Script from "next/script"; 2 | 3 | export default function GoogleAnalytics() { 4 | 5 | const GA_ID = process.env.GOOGLE_ANALYTICS_ID; 6 | 7 | return <> 8 | 9 |