Skip to content

v1.62.4 #787

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "app",
"version": "1.62.3",
"version": "1.62.4",
"main": "module/module.js",
"license": "MIT",
"scripts": {
Expand Down
97 changes: 97 additions & 0 deletions app/src/components/FAQ.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
import { t, Trans } from "@lingui/macro";
import * as Collapsible from "@radix-ui/react-collapsible";
import { CaretDown } from "phosphor-react";
import { useState } from "react";
import classNames from "classnames";

type FAQItem = {
question: string;
answer: string;
};

const faqs: FAQItem[] = [
{
question: t`Do you have a free trial?`,
answer: t`While we don't offer a free trial, our pricing is designed to be as accessible as possible, especially for students and educators. At just $4 for a month, you can explore all the features and decide if it's right for you. Feel free to subscribe, try it out, and re-subscribe whenever you need.`,
},
{
question: t`How does AI flowchart generation work?`,
answer: t`Our AI creates diagrams from your text prompts, allowing for seamless manual edits or AI-assisted adjustments. Unlike others, our Pro plan offers unlimited AI generations and edits, empowering you to create without limits.`,
},
{
question: t`Are there usage limits?`,
answer: t`No, there are no usage limits with the Pro plan. Enjoy unlimited flowchart creation and AI features, giving you the freedom to explore and innovate without restrictions.`,
},
{
question: t`Are my flowcharts private?`,
answer: t`Yes, your cloud flowcharts are accessible only when you're logged in. Additionally, you can save and load files locally, perfect for managing sensitive work-related documents offline.`,
},
{
question: t`Do you offer a non-profit discount?`,
answer: t`Yes, we support non-profits with special discounts. Contact us with your non-profit status to learn more about how we can assist your organization.`,
},
{
question: t`How do I cancel my subscription?`,
answer: t`Canceling is easy. Simply go to your account page, scroll to the bottom, and click cancel. If you're not completely satisfied, we offer a refund on your first payment.`,
},
];

export default function FAQ() {
const [openItems, setOpenItems] = useState<string[]>([]);

const toggleItem = (id: string) => {
setOpenItems((current) =>
current.includes(id)
? current.filter((item) => item !== id)
: [...current, id]
);
};

return (
<div className="max-w-3xl mx-auto py-16 px-4 sm:py-24 sm:px-6">
<div className="text-center mb-12">
<h2 className="text-3xl md:text-4xl font-bold text-neutral-900 dark:text-white mb-4">
<Trans>Frequently Asked Questions</Trans>
</h2>
<p className="text-lg text-neutral-600 dark:text-neutral-400 max-w-2xl mx-auto leading-normal text-balance">
<Trans>Everything you need to know about Flowchart Fun Pro</Trans>
</p>
</div>

<div className="grid gap-4">
{faqs.map((faq, index) => (
<Collapsible.Root
key={index}
open={openItems.includes(`faq-${index}`)}
onOpenChange={() => toggleItem(`faq-${index}`)}
className={classNames(
"rounded-lg border border-neutral-200 dark:border-neutral-800",
"bg-white dark:bg-neutral-900",
"transition-all duration-200 ease-in-out",
"hover:border-purple-200 dark:hover:border-purple-800"
)}
>
<Collapsible.Trigger className="w-full p-6 flex justify-between items-center text-left">
<span className="text-lg font-medium text-neutral-900 dark:text-white">
{faq.question}
</span>
<CaretDown
className={classNames(
"h-5 w-5 text-neutral-500 dark:text-neutral-400 transition-transform duration-200",
{
"transform rotate-180": openItems.includes(`faq-${index}`),
}
)}
/>
</Collapsible.Trigger>
<Collapsible.Content className="overflow-hidden transition-all data-[state=closed]:animate-slideUp data-[state=open]:animate-slideDown">
<div className="p-6 pt-0 text-neutral-600 dark:text-neutral-300 leading-relaxed">
{faq.answer}
</div>
</Collapsible.Content>
</Collapsible.Root>
))}
</div>
</div>
);
}
6 changes: 3 additions & 3 deletions app/src/components/FeatureBreakdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ const proLabelColors = [
export function FeatureBreakdown() {
return (
<div className="bg-white py-16 dark:bg-transparent">
<div className="mx-auto max-w-4xl sm:px-6 lg:px-8">
<div className="mx-auto max-w-4xl px-2 sm:px-6 lg:px-8">
<div className="text-center">
<h2 className="text-3xl font-bold tracking-tight text-neutral-900 dark:text-white sm:text-4xl">
<Trans>Feature Breakdown</Trans>
Expand Down Expand Up @@ -193,7 +193,7 @@ export function FeatureBreakdown() {
<div
key={index}
className={classNames(
"grid grid-cols-[auto_80px_80px] sm:border-l",
"grid grid-cols-[auto_80px_80px] border-l",
{
[styles.lightBorder]: feature.free,
[styles.accentBorderLeft]: !feature.free,
Expand Down Expand Up @@ -240,7 +240,7 @@ export function FeatureBreakdown() {
</div>
<p
className={classNames(
"text-xs text-neutral-700 dark:text-neutral-300",
"text-xs text-neutral-700 dark:text-neutral-300 leading-normal",
{
"!text-foreground/80 dark:!text-neutral-100":
!feature.free,
Expand Down
2 changes: 1 addition & 1 deletion app/src/locales/de/messages.js

Large diffs are not rendered by default.

66 changes: 61 additions & 5 deletions app/src/locales/de/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,14 @@ msgstr "Es ist ein Fehler aufgetreten. Versuchen Sie, es erneut einzureichen ode
msgid "Appearance"
msgstr "Erscheinungsbild"

#: src/components/FAQ.tsx:26
msgid "Are my flowcharts private?"
msgstr "Sind meine Flussdiagramme privat?"

#: src/components/FAQ.tsx:22
msgid "Are there usage limits?"
msgstr "Gibt es Nutzungsbeschränkungen?"

#: src/components/LoadTemplateDialog.tsx:121
msgid "Are you sure?"
msgstr "Bist du sicher?"
Expand Down Expand Up @@ -211,6 +219,10 @@ msgstr "Jederzeit kündbar"
msgid "Cancel your subscription. Your hosted charts will become read-only."
msgstr "Kündigen Sie Ihr Abonnement. Ihre gehosteten Diagramme werden schreibgeschützt."

#: src/components/FAQ.tsx:35
msgid "Canceling is easy. Simply go to your account page, scroll to the bottom, and click cancel. If you're not completely satisfied, we offer a refund on your first payment."
msgstr "Stornieren ist einfach. Gehe einfach auf deine Kontoseite, scrolle nach unten und klicke auf Stornieren. Wenn du nicht vollständig zufrieden bist, bieten wir eine Rückerstattung für deine erste Zahlung an."

#: src/components/LearnSyntaxDialog.tsx:358
msgid "Certain attributes can be used to customize the appearance or functionality of elements."
msgstr "Bestimmte Attribute können verwendet werden, um das Aussehen oder die Funktionalität von Elementen anzupassen."
Expand Down Expand Up @@ -486,6 +498,14 @@ msgstr "Richtung"
msgid "Dismiss"
msgstr "Entlassen"

#: src/components/FAQ.tsx:14
msgid "Do you have a free trial?"
msgstr "Bietest du eine kostenlose Testversion an?"

#: src/components/FAQ.tsx:30
msgid "Do you offer a non-profit discount?"
msgstr "Bietest du einen Non-Profit-Rabatt an?"

#: src/pages/Charts.tsx:199
msgid "Do you want to delete this?"
msgstr "Möchten Sie dies löschen?"
Expand Down Expand Up @@ -645,6 +665,10 @@ msgstr "Geben Sie unten Ihre E-Mail-Adresse ein, und wir senden Ihnen einen Link
msgid "Equal To"
msgstr "Gleich"

#: src/components/FAQ.tsx:57
msgid "Everything you need to know about Flowchart Fun Pro"
msgstr "Alles, was du über Flowchart Fun Pro wissen musst"

#: src/components/LoadTemplateDialog.tsx:71
#: src/components/LoadTemplateDialog.tsx:86
msgid "Examples"
Expand Down Expand Up @@ -734,6 +758,10 @@ msgstr "Einen Fehler gefunden? Eine Funktionsanfrage? Wir würden uns freuen von
msgid "Free"
msgstr "Kostenlos"

#: src/components/FAQ.tsx:54
msgid "Frequently Asked Questions"
msgstr "Häufig gestellte Fragen"

#: src/components/FeatureBreakdown.tsx:97
msgid "Full-screen, read-only, and template sharing"
msgstr "Vollbild, Nur-Lesen und Vorlagenfreigabe"
Expand Down Expand Up @@ -815,6 +843,14 @@ msgstr "Startseite"
msgid "How are edges declared in this data?"
msgstr "Wie werden Kanten in diesen Daten deklariert?"

#: src/components/FAQ.tsx:34
msgid "How do I cancel my subscription?"
msgstr "Wie kann ich mein Abonnement kündigen?"

#: src/components/FAQ.tsx:18
msgid "How does AI flowchart generation work?"
msgstr "Wie funktioniert die Erstellung von KI-Flussdiagrammen?"

#: src/components/FlowchartHeader.tsx:166
msgid "How would you like to save your chart?"
msgstr "Wie möchten Sie Ihren Chart speichern?"
Expand Down Expand Up @@ -1107,6 +1143,10 @@ msgstr "Keine Kanten"
msgid "No Watermarks!"
msgstr "Keine Wasserzeichen!"

#: src/components/FAQ.tsx:23
msgid "No, there are no usage limits with the Pro plan. Enjoy unlimited flowchart creation and AI features, giving you the freedom to explore and innovate without restrictions."
msgstr "Nein, es gibt keine Nutzungsbeschränkungen mit dem Pro-Plan. Genießen Sie unbegrenzte Erstellung von Flussdiagrammen und KI-Funktionen, die Ihnen die Freiheit geben, ohne Einschränkungen zu erkunden und zu innovieren."

#: src/components/LearnSyntaxDialog.tsx:340
msgid "Node Border Style"
msgstr "Knotenrahmenstil"
Expand Down Expand Up @@ -1185,6 +1225,10 @@ msgstr "Oder vielleicht blau!"
msgid "Organization Chart"
msgstr "Organigramm"

#: src/components/FAQ.tsx:19
msgid "Our AI creates diagrams from your text prompts, allowing for seamless manual edits or AI-assisted adjustments. Unlike others, our Pro plan offers unlimited AI generations and edits, empowering you to create without limits."
msgstr "Unsere KI erstellt Diagramme aus Ihren Texteingaben, ermöglicht nahtlose manuelle Bearbeitungen oder KI-unterstützte Anpassungen. Im Gegensatz zu anderen bietet unser Pro-Plan unbegrenzte KI-Generierungen und -Bearbeitungen, damit Sie ohne Grenzen erstellen können."

#: src/components/Tabs/ThemeTab.tsx:263
#: src/components/Tabs/ThemeTab.tsx:264
msgid "Padding"
Expand Down Expand Up @@ -1377,7 +1421,7 @@ msgstr "Klicke mit der rechten Maustaste auf Knoten für Optionen"

#: src/components/Header.tsx:165
#: src/components/Header.tsx:409
#: src/pages/Roadmap.tsx:25
#: src/pages/Roadmap.tsx:31
msgid "Roadmap"
msgstr "Fahrplan"

Expand Down Expand Up @@ -1541,7 +1585,7 @@ msgstr "Mit Klassen gestalten"
msgid "Submit"
msgstr "Einsenden"

#: src/pages/Pricing2.tsx:193
#: src/pages/Pricing2.tsx:196
msgid "Subscribe to Pro and flowchart the fun way!"
msgstr "Abonniere Pro und erstelle Flussdiagramme auf unterhaltsame Weise!"

Expand Down Expand Up @@ -1728,7 +1772,7 @@ msgstr "Transformieren Sie Ihre Ideen in professionelle Diagramme in Sekunden"
msgid "Transform text into diagrams instantly"
msgstr "Verwandeln Sie Texte sofort in Diagramme"

#: src/pages/Pricing2.tsx:153
#: src/pages/Pricing2.tsx:154
msgid "Trusted by Professionals and Academics"
msgstr "Vertrauenswürdig von Profis und Akademikern"

Expand All @@ -1740,7 +1784,7 @@ msgstr "Probieren Sie KI"
msgid "Try again"
msgstr "Erneut versuchen"

#: src/pages/Pricing2.tsx:111
#: src/pages/Pricing2.tsx:112
msgid "Turn your ideas into professional diagrams in seconds"
msgstr "Verwandeln Sie Ihre Ideen in professionelle Diagramme in Sekundenschnelle"

Expand Down Expand Up @@ -1818,7 +1862,7 @@ msgstr "Upgrade auf Flowchart Fun Pro, um SVG-Export freizuschalten und mehr for
msgid "Upgrade to Pro"
msgstr "Auf Pro upgraden"

#: src/pages/Pricing2.tsx:147
#: src/pages/Pricing2.tsx:148
msgid "Upgrade to Pro for $2/month"
msgstr "Upgrade auf Pro für $2/Monat"

Expand Down Expand Up @@ -1911,6 +1955,10 @@ msgstr "Was kommt als Nächstes?"
msgid "What's this?"
msgstr "Was ist das?"

#: src/components/FAQ.tsx:15
msgid "While we don't offer a free trial, our pricing is designed to be as accessible as possible, especially for students and educators. At just $4 for a month, you can explore all the features and decide if it's right for you. Feel free to subscribe, try it out, and re-subscribe whenever you need."
msgstr "Obwohl wir keine kostenlose Testversion anbieten, ist unsere Preisgestaltung so konzipiert, dass sie besonders für Studenten und Lehrkräfte zugänglich ist. Für nur $4 pro Monat können Sie alle Funktionen erkunden und entscheiden, ob es das Richtige für Sie ist. Sie können sich gerne abonnieren, es ausprobieren und sich immer wieder neu abonnieren, wenn Sie es brauchen."

#: src/components/Tabs/ThemeTab.tsx:455
#: src/components/Tabs/ThemeTab.tsx:456
msgid "Width"
Expand Down Expand Up @@ -1956,6 +2004,14 @@ msgstr "Jährlich"
msgid "Yes, Replace Content"
msgstr "Ja, Inhalt ersetzen"

#: src/components/FAQ.tsx:31
msgid "Yes, we support non-profits with special discounts. Contact us with your non-profit status to learn more about how we can assist your organization."
msgstr "Ja, wir unterstützen Non-Profit-Organisationen mit speziellen Rabatten. Kontaktieren Sie uns mit Ihrem Non-Profit-Status, um mehr darüber zu erfahren, wie wir Ihre Organisation unterstützen können."

#: src/components/FAQ.tsx:27
msgid "Yes, your cloud flowcharts are accessible only when you're logged in. Additionally, you can save and load files locally, perfect for managing sensitive work-related documents offline."
msgstr "Ja, Ihre Cloud-Flussdiagramme sind nur zugänglich, wenn Sie angemeldet sind. Zusätzlich können Sie Dateien lokal speichern und laden, perfekt für die Verwaltung sensibler Arbeitsdokumente offline."

#: src/components/ImportDataDialog.tsx:693
msgid "You are about to add {numNodes} nodes and {numEdges} edges to your graph."
msgstr "Sie sind dabei, {numNodes} Knoten und {numEdges} Kanten zu Ihrem Graphen hinzuzufügen."
Expand Down
2 changes: 1 addition & 1 deletion app/src/locales/en/messages.js

Large diffs are not rendered by default.

Loading
Loading