34 |
35 |
--------------------------------------------------------------------------------
/content/1.docs/1.getting-started/2.installation.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: Installation
3 | description: Get started with Nuxt UI SaaS template.
4 | navigation:
5 | icon: i-lucide-download
6 | ---
7 |
8 | ## Quick Start
9 |
10 | You can start a fresh new project with:
11 |
12 | ```bash [Terminal]
13 | npx nuxi init -t github:nuxt-ui-templates/saas
14 | ```
15 |
16 | or create a new repository from GitHub:
17 |
18 | 1. Open
19 | 2. Click on `Use this template` button
20 | 3. Enter repository name and click on `Create repository from template` button
21 | 4. Clone your new repository
22 | 5. Install dependencies with your favorite package manager
23 | 6. Start development server
24 |
25 | That's it! You can now start writing your documentation in the [`content/`](https://content.nuxt.com/usage/content-directory) directory 🚀
26 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "nuxt-ui-template-saas",
3 | "private": true,
4 | "type": "module",
5 | "scripts": {
6 | "build": "nuxt build",
7 | "dev": "nuxt dev",
8 | "preview": "nuxt preview",
9 | "postinstall": "nuxt prepare",
10 | "lint": "eslint .",
11 | "typecheck": "nuxt typecheck"
12 | },
13 | "dependencies": {
14 | "@iconify-json/lucide": "^1.2.75",
15 | "@iconify-json/simple-icons": "^1.2.60",
16 | "@nuxt/content": "^3.8.2",
17 | "@nuxt/image": "^2.0.0",
18 | "@nuxt/ui": "^4.2.1",
19 | "@standard-schema/spec": "^1.0.0",
20 | "@vueuse/nuxt": "^13.9.0",
21 | "better-sqlite3": "^12.4.6",
22 | "nuxt": "^4.2.2",
23 | "nuxt-og-image": "^5.1.12",
24 | "zod": "^4.1.13"
25 | },
26 | "devDependencies": {
27 | "@nuxt/eslint": "^1.10.0",
28 | "eslint": "^9.39.1",
29 | "typescript": "^5.9.3",
30 | "vue-tsc": "^3.1.5"
31 | },
32 | "packageManager": "pnpm@10.23.0"
33 | }
34 |
--------------------------------------------------------------------------------
/app/components/ImagePlaceholder.vue:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
29 |
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/content/1.docs/1.getting-started/3.usage.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: Usage
3 | description: Learn how to write and customize your documentation.
4 | navigation:
5 | icon: i-lucide-sliders
6 | ---
7 |
8 | This is only a basic example of what you can achieve with [Nuxt UI](https://ui.nuxt.com), you can tweak it to match your needs. The template uses several Nuxt modules underneath like [`@nuxt/content`](https://content.nuxt.com) for the content and [`nuxt-og-image`](https://nuxtseo.com/og-image/getting-started/installation) for social previews.
9 |
10 | ::tip
11 | ---
12 | target: _blank
13 | to: https://ui.nuxt.com/getting-started/installation
14 | ---
15 | Learn more on how to take the most out of Nuxt UI!
16 | ::
17 |
18 | ## Writing content
19 |
20 | You can just start writing `.md` or `.yml` files in the [`content/`](https://content.nuxt.com/usage/content-directory) directory to have your pages updated. The navigation will be automatically generated in the left aside and in the mobile menu. You will also be able to go through your content with full-text search.
21 |
--------------------------------------------------------------------------------
/app/components/PromotionalVideo.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2025 Nuxt UI Templates
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/app/pages/changelog/index.vue:
--------------------------------------------------------------------------------
1 |
19 |
20 |
21 |
22 |
26 |
27 |
28 |
29 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/content/4.changelog/3.dark-mode.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "Dark Mode 🌙"
3 | description: "Your eyes will thank you! Switch between light and dark themes with a single click. Fully integrated with Nuxt UI."
4 | date: "2024-06-15"
5 | image: https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=800&q=80
6 | ---
7 |
8 | 🌙 Give your eyes a break with our new Dark Mode! After many requests, we're thrilled to deliver a sleek, modern look that's easy on the eyes—day or night.
9 |
10 | Switching themes is now effortless, and every component has been carefully tuned for contrast and accessibility. Whether you're burning the midnight oil or just prefer a darker palette, this update is for you. 🌓
11 |
12 | **Improvements:**
13 | - 🌗 One-click theme toggle in the header
14 | - 🖥️ Automatic adaptation to system preferences
15 | - 🧩 Fully integrated with Nuxt UI components
16 | - ♿ Optimized for accessibility and contrast
17 | - 💾 Persistent theme preference across devices
18 | - ✨ Subtle animations for a polished feel
19 |
20 | **Behind the scenes:** 🎨
21 | We refactored our color system and tested across dozens of devices to ensure a consistent experience. Expect more theme customization options soon!
22 |
23 | Let us know how you like the new look and if you spot any areas for improvement! 💬
24 |
--------------------------------------------------------------------------------
/content/4.changelog/8.api.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "Public API Now Available 🛠️"
3 | description: "Build your own integrations and automate workflows with our brand new public API."
4 | date: "2024-10-25"
5 | image: https://images.unsplash.com/photo-1465101046530-73398c7f28ca?auto=format&fit=crop&w=800&q=80
6 | ---
7 |
8 | 🛠️ Build your own integrations and automate workflows with our brand new public API! This is a huge step for our developer community, and we can't wait to see what you create.
9 |
10 | The API gives you secure, programmatic access to all major resources in your workspace. From automating routine tasks to building custom dashboards, the possibilities are endless. 🤖
11 |
12 | **Highlights:**
13 | - 🌐 RESTful endpoints for all major resources
14 | - 🔑 Secure API key authentication
15 | - 📚 Comprehensive documentation and code samples
16 | - 📡 Webhook support for real-time updates
17 | - 🚦 Rate limiting and monitoring for stability
18 | - 🗣️ Community forum for sharing projects and getting help
19 |
20 | **Behind the scenes:** 👨💻
21 | We worked closely with early adopters to ensure the API is robust and easy to use. Our docs are open source—contributions and feedback are welcome!
22 |
23 | We can't wait to see what you build—share your projects with us and help shape the next version of our API! 🚀
24 |
--------------------------------------------------------------------------------
/content/4.changelog/9.security.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "Security Enhancements 🔒"
3 | description: "Your data is safer than ever. We've rolled out new security features and compliance updates."
4 | date: "2024-11-12"
5 | image: https://images.unsplash.com/photo-1510511459019-5dda7724fd87?auto=format&fit=crop&w=800&q=80
6 | ---
7 |
8 | 🔒 Your data is safer than ever. This update brings a suite of new security features and compliance improvements, reflecting our ongoing commitment to protecting your business.
9 |
10 | We've worked with security experts and listened to customer feedback to deliver the most requested enhancements. Security is never done, but this release is a big leap forward. 🛡️
11 |
12 | **Enhancements:**
13 | - 🔑 Two-factor authentication (2FA) for all accounts
14 | - 🏢 SSO support for enterprise customers
15 | - 📜 GDPR and SOC 2 compliance updates
16 | - 📝 Improved audit logs and access controls
17 | - ⏳ Session timeout and device management
18 | - 🔐 Encrypted data at rest and in transit
19 |
20 | **Behind the scenes:** 🕵️♂️
21 | We conducted a full security audit and implemented automated vulnerability scanning. Our team is now preparing for additional certifications and regular penetration testing.
22 |
23 | Thank you for trusting us with your business—security will always be our top priority! 🙏
24 |
--------------------------------------------------------------------------------
/content/4.changelog/5.mobile.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "Mobile App Beta 📱"
3 | description: "Access your dashboard on the go! Our mobile app beta is now open for all users. Available on iOS and Android."
4 | date: "2024-08-30"
5 | image: https://images.unsplash.com/photo-1511707171634-5f897ff02aa9?auto=format&fit=crop&w=800&q=80
6 | ---
7 |
8 | 📱 Take your SaaS dashboard anywhere! Our mobile app beta is now available for iOS and Android, bringing your workspace to your pocket. Stay productive and connected, wherever you are.
9 |
10 | We designed the app from the ground up for speed and usability on small screens. Whether you're checking reports on the train or getting notifications on the go, the mobile app keeps you in the loop. 🚆
11 |
12 | **Features:**
13 | - 📊 Access dashboards and reports on the go
14 | - 🔔 Push notifications for important updates
15 | - 📴 Offline support for uninterrupted productivity
16 | - 🤏 Optimized for touch and small screens
17 | - 🛡️ Secure biometric login (Face ID & Touch ID)
18 | - ⚡ Quick actions for common tasks
19 |
20 | **Behind the scenes:** 🧑💻
21 | We built the app using the latest cross-platform tech, ensuring a native feel on both iOS and Android. Your feedback during beta will help us polish and prioritize new features.
22 |
23 | We'd love your feedback as we prepare for the full launch! 🚀
24 |
--------------------------------------------------------------------------------
/content/4.changelog/10.fun.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "Clippy Integration (Beta) 🐤"
3 | description: "Meet your new productivity assistant! For April Fools' Day, we're introducing Clippy, your friendly (and slightly mischievous) helper. He's here to make your day a little brighter—and maybe a little more chaotic."
4 | date: "2025-04-01"
5 | image: https://images.unsplash.com/photo-1503676382389-4809596d5290?auto=format&fit=crop&w=800&q=80
6 | ---
7 |
8 | 🎉 Meet your new productivity assistant! For April Fools' Day, we're introducing Clippy, your friendly (and slightly mischievous) helper. He's here to make your day a little brighter—and maybe a little more chaotic. 😜
9 |
10 | Clippy pops up with tips, jokes, and the occasional dance across your dashboard. Don't worry, you can always dismiss him with a click (or just enjoy the nostalgia). 🐤
11 |
12 | **Features:**
13 | - 💡 Pops up with helpful (and sometimes unhelpful) tips
14 | - 🕺 Animates across your dashboard with classic Clippy moves
15 | - 😂 Tells a random joke on demand
16 | - ❌ Can be dismissed with a single click
17 | - 🥚 Easter eggs for the curious
18 |
19 | **Behind the scenes:** 🎬
20 | Our team had a blast bringing Clippy to life for a day. No productivity assistants were harmed in the making of this feature.
21 |
22 | Don't worry, Clippy will only stick around for a day. Or will he? 😉
23 |
--------------------------------------------------------------------------------
/content/4.changelog/4.integrations.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "Integrations Galore"
3 | description: "Connect your favorite tools! We now support integrations with Slack, GitHub, and Zapier. Automate your workflow with ease."
4 | date: "2024-07-20"
5 | image: https://images.unsplash.com/photo-1461749280684-dccba630e2f6?auto=format&fit=crop&w=800&q=80
6 | ---
7 |
8 | 🔌 Connect your SaaS workspace to the tools you love! Our new integrations make it easy to automate and extend your workflow, saving you time and reducing manual work.
9 |
10 | This release is just the beginning—integrations are now a first-class part of our platform. We've started with the most requested tools and will be adding more based on your feedback. 🗂️
11 |
12 | **New integrations:**
13 | - 💬 **Slack:** Get real-time notifications and updates in your channels
14 | - 🐙 **GitHub:** Link commits and pull requests to your projects for better traceability
15 | - 🤖 **Zapier:** Automate repetitive tasks with 5,000+ apps
16 | - 📅 **Google Calendar:** Sync important dates and deadlines
17 |
18 | **Behind the scenes:** 🔧
19 | We built a new integrations framework to make adding and managing connections seamless. Our API is now more robust, and we're working on an integrations marketplace for even more options.
20 |
21 | More integrations are on the way—tell us which ones you want next! 📨
22 |
--------------------------------------------------------------------------------
/content/4.changelog/6.performance.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "Performance Boost ⚡️"
3 | description: "Our SaaS just got a whole lot faster! Enjoy snappier load times and smoother navigation across the app."
4 | date: "2024-09-15"
5 | image: https://images.unsplash.com/photo-1461749280684-dccba630e2f6?auto=format&fit=crop&w=800&q=80
6 | ---
7 |
8 | ⚡ Our SaaS just got a whole lot faster! This update is all about speed, responsiveness, and a smoother experience for everyone. We know how important performance is, so we've made it a top priority for this release.
9 |
10 | From optimizing our backend infrastructure to fine-tuning the frontend, every part of the app has been reviewed and improved. You'll notice snappier load times, quicker navigation, and a more fluid feel throughout the platform. 🚀
11 |
12 | **Improvements:**
13 | - 🚄 2x faster dashboard load times
14 | - ⏱️ Reduced API response latency by 40%
15 | - 🖼️ Optimized image delivery and caching for all devices
16 | - 🌀 Smoother transitions and navigation between pages
17 | - 🧠 Lower memory usage on mobile and desktop
18 |
19 | **Behind the scenes:** 🛠️
20 | We introduced smarter caching, lazy loading, and database indexing. Our team also set up new monitoring tools to catch slowdowns before you do.
21 |
22 | Let us know if you notice the difference—and if there's anywhere else you'd like to see us speed things up! 💬
23 |
--------------------------------------------------------------------------------
/content/4.changelog/7.analytics.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "Advanced Analytics 📊"
3 | description: "Gain deeper insights into your business with our new analytics dashboard. Track key metrics and visualize your growth."
4 | date: "2024-10-05"
5 | image: https://images.unsplash.com/photo-1460925895917-afdab827c52f?auto=format&fit=crop&w=800&q=80
6 | ---
7 |
8 | 📊 Gain deeper insights into your business with our new analytics dashboard! This release brings powerful tools to help you track, measure, and grow—all in one place.
9 |
10 | We've reimagined analytics from the ground up, making it easier to visualize trends, monitor KPIs, and share reports with your team. Whether you're a data pro or just getting started, you'll find everything you need to make smarter decisions. 🧠
11 |
12 | **New features:**
13 | - 📈 Customizable dashboards and reports
14 | - ⏱️ Real-time user and revenue tracking
15 | - 📤 Export data to CSV or Google Sheets
16 | - 📊 Visualize trends with interactive charts and graphs
17 | - 📧 Scheduled email reports for key metrics
18 | - 🔍 Drill-down filters for granular analysis
19 |
20 | **Behind the scenes:** 🛠️
21 | We built a new analytics engine using scalable cloud infrastructure, ensuring fast queries and reliable data. Expect more integrations and advanced visualizations soon!
22 |
23 | We're excited to see what insights you discover—let us know what you build with it! 🚀
24 |
--------------------------------------------------------------------------------
/content/4.changelog/2.teams.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "Teams & Collaboration"
3 | description: "Introducing Teams! Invite colleagues, assign roles, and collaborate in real-time. Perfect for startups and growing businesses."
4 | date: "2024-05-10"
5 | image: https://images.unsplash.com/photo-1518609878373-06d740f60d8b?auto=format&fit=crop&w=800&q=80
6 | ---
7 |
8 | 🤝 Collaboration just got easier! With Teams, you can now work together more efficiently and securely. This update is all about empowering organizations to scale and manage their members with confidence.
9 |
10 | We listened to your feedback and built a flexible system for inviting colleagues, assigning roles, and tracking activity. Whether you're onboarding new hires or collaborating across departments, Teams has you covered. 👥
11 |
12 | **What's new:**
13 | - ✉️ Invite team members via email or shareable link
14 | - 🛡️ Assign roles (Admin, Member, Viewer) for granular access control
15 | - 🔔 Real-time activity tracking and notifications
16 | - 📊 Team-based dashboards and analytics for better insights
17 | - 🔄 Easy switching between multiple teams and organizations
18 |
19 | **Behind the scenes:** 🏗️
20 | We re-architected our user management system to support organizations of any size. This paves the way for future features like SSO, advanced permissions, and audit logs.
21 |
22 | Perfect for startups and growing businesses. Try it out and streamline your workflow! 🚀
23 |
--------------------------------------------------------------------------------
/content/1.docs/1.getting-started/1.index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: Introduction
3 | description: Welcome to Nuxt UI SaaS template.
4 | navigation:
5 | icon: i-lucide-house
6 | ---
7 |
8 | This template is a ready-to-use SaaS template made with [Nuxt UI](https://ui.nuxt.com) to create beautiful & responsive Nuxt applications in minutes.
9 |
10 | This template includes a customizable landing page, a pricing page, a documentation, a blog and authentication pages (login, register).
11 |
12 | ## Key Features
13 |
14 | This template includes a range of features designed to streamline documentation management:
15 |
16 | - **Powered by** [**Nuxt**](https://nuxt.com): Utilizes the latest Nuxt framework for optimal performance.
17 | - **Built with** [**Nuxt UI**](https://ui.nuxt.com): Integrates a comprehensive suite of UI components.
18 | - [**MDC Syntax**](https://content.nuxt.com/usage/markdown) **via** [**Nuxt Content**](https://content.nuxt.com): Supports Markdown with component integration for dynamic content.
19 | - **Auto-generated Sidebar Navigation**: Automatically generates navigation from content structure.
20 | - **Full-Text Search**: Includes built-in search functionality for content discovery.
21 | - **Optimized Typography**: Features refined typography for enhanced readability.
22 | - **Dark Mode**: Offers dark mode support for user preference.
23 | - **Extensive Functionality**: Explore the template to fully appreciate its capabilities.
24 |
--------------------------------------------------------------------------------
/app/components/TemplateMenu.vue:
--------------------------------------------------------------------------------
1 |
2 |
37 |
48 |
49 |
50 |
--------------------------------------------------------------------------------
/app/pages/docs/[...slug].vue:
--------------------------------------------------------------------------------
1 |
31 |
32 |
33 |
34 |
38 |
39 |
40 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
54 |
55 |
56 |
57 |
58 |
--------------------------------------------------------------------------------
/app/pages/blog/index.vue:
--------------------------------------------------------------------------------
1 |
19 |
20 |
21 |
22 |
26 |
27 |
28 |
29 |
46 |
47 |
48 |
49 |
50 |
--------------------------------------------------------------------------------
/content/4.changelog/1.launch.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "SaaS Launch 🚀"
3 | description: "We're excited to announce the public launch of our SaaS platform! This release lays the foundation for a modern, scalable SaaS experience. Start building your next big thing today."
4 | date: "2024-04-01"
5 | image: https://images.unsplash.com/photo-1465101046530-73398c7f28ca?auto=format&fit=crop&w=800&q=80
6 | ---
7 |
8 | 🚀 We're excited to announce the public launch of our SaaS platform! This milestone is the result of months of design, development, and feedback from our early users. Our goal: make it easier than ever to launch, manage, and grow your business online.
9 |
10 | From the first line of code, we focused on speed, reliability, and a delightful user experience. Whether you're a solo founder or a growing team, our platform is built to scale with you. 💡
11 |
12 | **Highlights:**
13 | - ⚡ Fast, responsive dashboard UI for effortless navigation
14 | - 🔐 Seamless onboarding and secure authentication
15 | - 💳 Built-in billing and subscription management with Stripe integration
16 | - 🎨 Modern design system powered by Nuxt UI
17 | - 📱 Mobile-friendly and accessible from day one
18 | - 📚 Helpful documentation and in-app tips
19 |
20 | **Behind the scenes:** 🛠️
21 | We've invested in a robust infrastructure to ensure uptime and performance. Our team has also set up automated testing and continuous deployment, so you'll always have the latest features and fixes.
22 |
23 | We're just getting started—your feedback will help shape the future of our platform. Let us know what you think and what you'd like to see next! ✨
24 |
--------------------------------------------------------------------------------
/app/error.vue:
--------------------------------------------------------------------------------
1 |
43 |
44 |
45 |
95 |
96 |
97 |
98 |
106 |
114 |
122 |
123 |
124 |
125 |
--------------------------------------------------------------------------------
/app/components/AppLogo.vue:
--------------------------------------------------------------------------------
1 |
2 |
40 |
41 |
--------------------------------------------------------------------------------
/content/3.blog/3.james-webb.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: Unveiling the Marvel
3 | description: The Journey to Create the James Webb Space Telescope
4 | image:
5 | src: https://picsum.photos/id/903/640/360
6 | authors:
7 | - name: Josh Bayers
8 | to: https://twitter.com/benjamincanac
9 | avatar:
10 | src: https://i.pravatar.cc/128?u=2
11 | date: 2020-12-12
12 | badge:
13 | label: Science, Astronomie, History
14 | ---
15 |
16 | ## Building the Vision
17 |
18 | ::picture-and-text
19 | ### Designing the Future
20 |
21 | In the bustling halls of NASA's engineering facilities, a team of brilliant minds gathered around blueprints and prototypes. They envisioned a telescope unlike any other, one that would revolutionize our understanding of the cosmos. Led by Dr. Catherine Nguyen, they meticulously crafted the design for what would become the James Webb Space Telescope (JWST). With its massive primary mirror and cutting-edge infrared technology, the JWST promised to unveil the deepest mysteries of the universe.
22 |
23 | #image
24 | {.rounded-lg height="400" width="400"}
25 | ::
26 |
27 | ::picture-and-text
28 | ---
29 | reverse: true
30 | ---
31 | ### Overcoming Challenges
32 |
33 | However, the path to launch was fraught with challenges. Engineers faced immense pressure to ensure the JWST's success, navigating technical hurdles and budget constraints. Delays mounted as unforeseen complications arose, testing the team's resolve. Yet, fueled by their passion for exploration, they pressed onward, refining each component with unwavering determination. Through perseverance and ingenuity, they transformed the JWST from a concept into a marvel of modern engineering.
34 |
35 | #image
36 | {.rounded-lg height="400" width="400"}
37 | ::
38 |
39 | ## Embarking into the Unknown
40 |
41 | ::picture-and-text
42 | ### Launching into Space
43 |
44 | On a crisp morning at the Guiana Space Centre in French Guiana, anticipation hung in the air as the JWST stood tall atop its Ariane 5 rocket. Millions around the world held their breath as countdown reached its final moments. Then, with a thunderous roar, the rocket ignited, propelling the telescope into the vast expanse of space. As it soared higher and higher, the JWST represented humanity's boundless curiosity and relentless pursuit of knowledge.
45 |
46 | #image
47 | {.rounded-lg height="400" width="400"}
48 | ::
49 |
50 | ::picture-and-text
51 | ---
52 | reverse: true
53 | ---
54 | ### Unfolding the Universe
55 |
56 | Months later, nestled in its orbit around the Earth, the JWST embarked on its monumental mission. With its golden mirrors unfurled like petals, it peered into the depths of the cosmos, capturing breathtaking images of distant galaxies and nebulae. Each observation unveiled new wonders, shedding light on the origins of stars, planets, and life itself. From the icy realms of the outer solar system to the fiery cores of distant exoplanets, the JWST's gaze transcended the limits of human imagination.
57 |
58 | #image
59 | {.rounded-lg height="400" width="400"}
60 | ::
61 |
62 | ## Legacy of Discovery
63 |
64 | ::picture-and-text
65 | ### Inspiring Future Generations
66 |
67 | As the years passed, the JWST's legacy continued to grow, inspiring generations to dream of the stars. Its groundbreaking discoveries sparked scientific revolutions and expanded humanity's collective understanding of the universe. From classrooms to observatories, its images adorned the walls, igniting the spark of curiosity in the minds of countless individuals. The JWST served as a beacon of hope, reminding us of our capacity to explore, discover, and unite in pursuit of a shared destiny among the stars.
68 |
69 | #image
70 | {.rounded-lg height="400" width="400"}
71 | ::
72 |
73 | ::picture-and-text
74 | ---
75 | reverse: true
76 | ---
77 | ### A Journey Without End
78 |
79 | Though the JWST's mission eventually came to a close, its impact endured far beyond the boundaries of space and time. Its data continued to fuel scientific inquiry for decades to come, unlocking new realms of knowledge and shaping the course of human history. And as future telescopes followed in its wake, each building upon its pioneering legacy, the spirit of exploration embodied by the James Webb Space Telescope lived on, guiding humanity toward ever greater heights of discovery and understanding.
80 |
81 | #image
82 | {.rounded-lg height="400" width="400"}
83 | ::
84 |
--------------------------------------------------------------------------------
/content/3.blog/4.meditation.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: The Benefits of Meditation
3 | description: The Benefits of Meditation and Mindfulness Practices on Mental Health
4 | image:
5 | src: https://picsum.photos/id/691/640/360
6 | authors:
7 | - name: Rebecca Millers
8 | to: https://twitter.com/benjamincanac
9 | avatar:
10 | src: https://i.pravatar.cc/128?u=3
11 | date: 2021-04-23
12 | badge:
13 | label: Health
14 | ---
15 |
16 | {.rounded-lg height="600" width="1200"}
17 |
18 | ## 🧘🏻 Introduction
19 |
20 | In today's fast-paced world, where stress and anxiety seem to be constant companions, the importance of mental well-being cannot be overstated. Fortunately, there are ancient practices like meditation and mindfulness that offer profound benefits for our mental health. Research continues to uncover the transformative effects of these practices, showing how they can help alleviate stress, improve focus, and cultivate a sense of inner peace and resilience.
21 |
22 | ## 🪷 Understanding Meditation and Mindfulness
23 |
24 | Meditation is a practice that involves training the mind to focus and redirect thoughts. It often involves techniques such as deep breathing, visualization, or repeating a mantra. Mindfulness, on the other hand, is about being fully present in the moment, acknowledging and accepting one's thoughts, feelings, and bodily sensations without judgment.
25 |
26 | One of the most well-documented benefits of meditation and mindfulness is their ability to reduce stress and anxiety. Studies have shown that regular meditation practice can lower levels of cortisol, the stress hormone, in the body. By quieting the mind and promoting relaxation, meditation helps to interrupt the cycle of anxious thoughts and bodily tension, leading to a greater sense of calm and tranquility.
27 |
28 | ::pictures
29 | :::div
30 | {.rounded-lg height="200" width="600"}
31 | :::
32 |
33 | :::div
34 | {.rounded-lg height="200" width="600"}
35 | :::
36 | ::
37 |
38 | ## 🧠 Improved Focus and Cognitive Function
39 |
40 | In today's digital age, our attention is constantly pulled in multiple directions, leading to reduced focus and cognitive overload. Meditation and mindfulness have been found to enhance cognitive function by increasing attention span, concentration, and memory. By training the mind to stay present and focused, these practices can improve productivity and mental clarity, enabling individuals to perform better in various tasks and activities.
41 |
42 | ## 😌 Enhanced Emotional Well-being
43 |
44 | Another significant benefit of meditation and mindfulness is their positive impact on emotional well-being. By fostering self-awareness and acceptance, these practices help individuals develop a healthier relationship with their emotions. Studies have shown that regular meditation can reduce symptoms of depression and anxiety disorders, while also increasing feelings of happiness and overall life satisfaction.
45 |
46 | ## 💪🏻 Building Resilience and Coping Skills
47 |
48 | {.rounded-lg height="300" width="1200"}
49 |
50 | Life is filled with ups and downs, challenges, and setbacks. Meditation and mindfulness provide valuable tools for building resilience and coping with adversity. By cultivating a sense of inner strength and equanimity, these practices help individuals navigate difficult situations with greater ease and grace. They teach us to respond to stressors with mindfulness and compassion, rather than reacting impulsively out of fear or frustration.
51 |
52 | ## ❤️ Cultivating a Sense of Connection and Compassion
53 |
54 | Beyond benefiting individual mental health, meditation and mindfulness also promote a greater sense of connection and compassion towards others. By cultivating empathy and understanding, these practices foster harmonious relationships and a sense of interconnectedness with the world around us. They remind us that we are all part of a larger tapestry of humanity, bound together by our shared experiences and aspirations.
55 |
56 | ## 🫶🏻 Conclusion
57 |
58 | In conclusion, the benefits of meditation and mindfulness on mental health are undeniable. From reducing stress and anxiety to improving focus, emotional well-being, and resilience, these ancient practices offer a holistic approach to mental wellness in an increasingly hectic world. By incorporating meditation and mindfulness into our daily lives, we can nurture a sense of inner peace, balance, and contentment that radiates outward, enriching not only our own lives but the lives of those around us as well.
59 |
60 | {.rounded-lg height="600" width="1200"}
61 |
--------------------------------------------------------------------------------
/content.config.ts:
--------------------------------------------------------------------------------
1 | import { defineCollection, z } from '@nuxt/content'
2 |
3 | const variantEnum = z.enum(['solid', 'outline', 'subtle', 'soft', 'ghost', 'link'])
4 | const colorEnum = z.enum(['primary', 'secondary', 'neutral', 'error', 'warning', 'success', 'info'])
5 | const sizeEnum = z.enum(['xs', 'sm', 'md', 'lg', 'xl'])
6 | const orientationEnum = z.enum(['vertical', 'horizontal'])
7 |
8 | const createBaseSchema = () => z.object({
9 | title: z.string().nonempty(),
10 | description: z.string().nonempty()
11 | })
12 |
13 | const createFeatureItemSchema = () => createBaseSchema().extend({
14 | icon: z.string().nonempty().editor({ input: 'icon' })
15 | })
16 |
17 | const createLinkSchema = () => z.object({
18 | label: z.string().nonempty(),
19 | to: z.string().nonempty(),
20 | icon: z.string().optional().editor({ input: 'icon' }),
21 | size: sizeEnum.optional(),
22 | trailing: z.boolean().optional(),
23 | target: z.string().optional(),
24 | color: colorEnum.optional(),
25 | variant: variantEnum.optional()
26 | })
27 |
28 | const createImageSchema = () => z.object({
29 | src: z.string().nonempty().editor({ input: 'media' }),
30 | alt: z.string().optional(),
31 | loading: z.enum(['lazy', 'eager']).optional(),
32 | srcset: z.string().optional()
33 | })
34 |
35 | export const collections = {
36 | index: defineCollection({
37 | source: '0.index.yml',
38 | type: 'page',
39 | schema: z.object({
40 | hero: z.object(({
41 | links: z.array(createLinkSchema())
42 | })),
43 | sections: z.array(
44 | createBaseSchema().extend({
45 | id: z.string().nonempty(),
46 | orientation: orientationEnum.optional(),
47 | reverse: z.boolean().optional(),
48 | features: z.array(createFeatureItemSchema())
49 | })
50 | ),
51 | features: createBaseSchema().extend({
52 | items: z.array(createFeatureItemSchema())
53 | }),
54 | testimonials: createBaseSchema().extend({
55 | headline: z.string().optional(),
56 | items: z.array(
57 | z.object({
58 | quote: z.string().nonempty(),
59 | user: z.object({
60 | name: z.string().nonempty(),
61 | description: z.string().nonempty(),
62 | to: z.string().nonempty(),
63 | target: z.string().nonempty(),
64 | avatar: createImageSchema()
65 | })
66 | })
67 | )
68 | }),
69 | cta: createBaseSchema().extend({
70 | links: z.array(createLinkSchema())
71 | })
72 | })
73 | }),
74 | docs: defineCollection({
75 | source: '1.docs/**/*',
76 | type: 'page'
77 | }),
78 | pricing: defineCollection({
79 | source: '2.pricing.yml',
80 | type: 'page',
81 | schema: z.object({
82 | plans: z.array(
83 | z.object({
84 | title: z.string().nonempty(),
85 | description: z.string().nonempty(),
86 | price: z.object({
87 | month: z.string().nonempty(),
88 | year: z.string().nonempty()
89 | }),
90 | billing_period: z.string().nonempty(),
91 | billing_cycle: z.string().nonempty(),
92 | button: createLinkSchema(),
93 | features: z.array(z.string().nonempty()),
94 | highlight: z.boolean().optional()
95 | })
96 | ),
97 | logos: z.object({
98 | title: z.string().nonempty(),
99 | icons: z.array(z.string())
100 | }),
101 | faq: createBaseSchema().extend({
102 | items: z.array(
103 | z.object({
104 | label: z.string().nonempty(),
105 | content: z.string().nonempty()
106 | })
107 | )
108 | })
109 | })
110 | }),
111 | blog: defineCollection({
112 | source: '3.blog.yml',
113 | type: 'page'
114 | }),
115 | posts: defineCollection({
116 | source: '3.blog/**/*',
117 | type: 'page',
118 | schema: z.object({
119 | image: z.object({ src: z.string().nonempty().editor({ input: 'media' }) }),
120 | authors: z.array(
121 | z.object({
122 | name: z.string().nonempty(),
123 | to: z.string().nonempty(),
124 | avatar: z.object({ src: z.string().nonempty().editor({ input: 'media' }) })
125 | })
126 | ),
127 | date: z.date(),
128 | badge: z.object({ label: z.string().nonempty() })
129 | })
130 | }),
131 | changelog: defineCollection({
132 | source: '4.changelog.yml',
133 | type: 'page'
134 | }),
135 | versions: defineCollection({
136 | source: '4.changelog/**/*',
137 | type: 'page',
138 | schema: z.object({
139 | title: z.string().nonempty(),
140 | description: z.string(),
141 | date: z.date(),
142 | image: z.string()
143 | })
144 | })
145 | }
146 |
--------------------------------------------------------------------------------
/content/3.blog/2.pyrenees.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: Discovering the Majestic Peaks
3 | description: Embark on an unforgettable odyssey through the Pyrenees, where
4 | majestic peaks, pristine valleys, and rich cultural tapestries await in this
5 | immersive exploration.
6 | image:
7 | src: https://picsum.photos/id/29/640/360
8 | authors:
9 | - name: Nicolas Maillet
10 | to: https://twitter.com/benjamincanac
11 | avatar:
12 | src: https://i.pravatar.cc/128?u=1
13 | date: 2022-07-08
14 | badge:
15 | label: Nature
16 | ---
17 |
18 | ## Introduction to the Pyrenean Wonderland
19 |
20 | Embark on a breathtaking exploration of the Pyrenees, a mountain range that weaves its way between Spain and France, standing as a majestic guardian of natural beauty. This chapter introduces you to the rugged charm and ecological diversity that make the Pyrenees a haven for adventure seekers and nature enthusiasts alike.
21 |
22 | The Pyrenees are not merely a geographical boundary; they are a realm of awe-inspiring landscapes, ranging from lush green valleys to snow-capped peaks. The pristine wilderness is home to a diverse array of flora and fauna, creating a captivating tapestry of life that unfolds as you ascend.
23 |
24 | {.rounded-lg height="600" width="1000"}
25 |
26 | ## Peaks and Valleys - Nature's Masterpiece
27 |
28 | Delve into the heart of the Pyrenees, where towering peaks touch the sky, and deep valleys cradle crystal-clear lakes and meandering rivers. From the iconic Pic du Midi to the serene Cirque de Gavarnie, each summit tells a story of geological wonder and natural splendor.
29 |
30 | Explore the verdant meadows adorned with wildflowers, witness the dance of marmots in rocky outcrops, and breathe in the crisp mountain air. The Pyrenees offer a sanctuary for biodiversity, where rare species find refuge in the untouched wilderness.
31 |
32 | ::pictures
33 | :::div
34 | {.rounded-lg height="400" width="400"}
35 | :::
36 |
37 | :::div
38 | {.rounded-lg height="400" width="400"}
39 | :::
40 |
41 | :::div
42 | {.rounded-lg height="400" width="400"}
43 | :::
44 | ::
45 |
46 | ## A Tapestry of Culture and History
47 |
48 | Beyond its natural wonders, the Pyrenees boast a rich tapestry of human history and cultural heritage. Ancient pilgrimage routes like the Camino de Santiago wind their way through picturesque villages, medieval castles cling to mountain slopes, and traditional mountain festivals celebrate the spirit of the local communities.
49 |
50 | Discover the legends that echo through the valleys, from tales of shepherds and their flocks to the myths that shroud hidden caves. The Pyrenees bear witness to centuries of human existence, leaving behind a cultural legacy that adds depth to the mountainous landscape.
51 |
52 | ::pictures{orientation="vertical"}
53 | :::div
54 | {.rounded-lg.w-full height="400" width="1200"}
55 | :::
56 |
57 | :::pictures
58 | ::::div
59 | {.rounded-lg height="400" width="600"}
60 | ::::
61 |
62 | ::::div
63 | {.rounded-lg height="400" width="600"}
64 | ::::
65 |
66 | ::::div
67 | ::::
68 | :::
69 | ::
70 |
71 | ## Outdoor Adventures in the Pyrenean Playground
72 |
73 | For the adventure-seekers, the Pyrenees offer an exhilarating playground. Whether it's scaling peaks, hiking through ancient trails, or skiing down powdery slopes, there's no shortage of adrenaline-pumping activities. Traverse the GR10, a long-distance hiking trail that spans the entire length of the Pyrenees, or test your mettle on the challenging rock faces that beckon climbers from around the world.
74 |
75 | The Pyrenees cater to all levels of outdoor enthusiasts, making it a haven for both seasoned mountaineers and casual hikers. The variety of landscapes ensures that every outdoor pursuit comes with a stunning backdrop of nature's grandeur.
76 |
77 | ::pictures
78 | :::div
79 | {.rounded-lg height="200" width="200"}
80 | :::
81 |
82 | :::div
83 | {.rounded-lg height="200" width="200"}
84 | :::
85 |
86 | :::div
87 | {.rounded-lg height="200" width="200"}
88 | :::
89 |
90 | :::div
91 | {.rounded-lg height="200" width="200"}
92 | :::
93 | ::
94 |
95 | ::pictures
96 | :::div
97 | {.rounded-lg.w-full height="300" width="600"}
98 | :::
99 |
100 | :::div
101 | {.rounded-lg.w-full height="300" width="600"}
102 | :::
103 | ::
104 |
105 | ## Preserving the Pyrenean Legacy
106 |
107 | As we look to the future, conservation efforts and sustainable tourism initiatives are vital for preserving the Pyrenees' unique ecosystem. Balancing the thrill of exploration with the responsibility of preservation ensures that future generations can continue to be captivated by the untamed beauty of these ancient mountains.
108 |
109 | In conclusion, 'Discovering the Majestic Peaks: A Journey Through the Pyrenees' invites you to witness the grandeur of a mountain range that transcends geographical boundaries, offering a symphony of nature, culture, and adventure in every chapter.
110 |
111 | {.rounded-lg.w-full height="300" width="600"}
112 |
--------------------------------------------------------------------------------
/app/components/StarsBg.vue:
--------------------------------------------------------------------------------
1 |
57 |
58 |
59 |
60 |
119 |
120 |
121 |
131 |
144 |
145 |
146 |
147 |
148 |
149 |
184 |
--------------------------------------------------------------------------------
/content/3.blog/5.animals.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: The 10 Most Dangerous Creatures on Earth
3 | description: From Predators to the Ultimate Threat
4 | image:
5 | src: https://picsum.photos/id/219/640/360
6 | authors:
7 | - name: Emilio Manuel
8 | to: https://twitter.com/benjamincanac
9 | avatar:
10 | src: https://i.pravatar.cc/128?u=4
11 | date: 2018-05-15
12 | badge:
13 | label: Animals
14 | ---
15 |
16 | The natural world is teeming with creatures of all shapes and sizes, each with its own unique set of adaptations and behaviors. While many animals pose little threat to humans, there are some that command respect and caution due to their deadly capabilities. From apex predators to venomous insects, let's explore the 10 most dangerous creatures on Earth, culminating in the ultimate threat: humans.
17 |
18 | ## Lion
19 |
20 | ::picture-and-text
21 | ---
22 | card: true
23 | ---
24 | **Tigers** are dangerous to humans because of their immense strength, powerful jaws, and sharp claws, capable of causing fatal injuries. Additionally, tigers are territorial and can become highly aggressive if they feel threatened or if their territory is encroached upon.
25 |
26 | #image
27 | {.rounded-lg height="400" width="800"}
28 | ::
29 |
30 | ## Monkeys
31 |
32 | ::picture-and-text
33 | ---
34 | card: true
35 | ---
36 | **Monkeys** are dangerous to humans due to their sharp teeth and strong jaws, which can inflict serious bites, and their potential to carry and transmit diseases such as rabies. Additionally, monkeys can become aggressive if they feel threatened or if they are protecting their young.
37 |
38 | #image
39 | {.rounded-lg height="400" width="800"}
40 | ::
41 |
42 | ## Wolf
43 |
44 | ::picture-and-text
45 | ---
46 | card: true
47 | ---
48 | **Wolves** are dangerous to humans due to their pack hunting behavior, which can overwhelm and outnumber a person, and their strong jaws capable of inflicting serious injuries. Additionally, wolves may become aggressive if they feel their territory or pack is threatened.
49 |
50 | #image
51 | {.rounded-lg height="400" width="800"}
52 | ::
53 |
54 | ## Bears
55 |
56 | ::picture-and-text
57 | ---
58 | card: true
59 | ---
60 | **Bears** are dangerous to humans due to their immense strength and powerful claws, which can cause severe injuries or death. Additionally, bears are highly protective of their young and can become aggressive if they feel threatened or surprised.
61 |
62 | #image
63 | {.rounded-lg height="400" width="800"}
64 | ::
65 |
66 | ## Great White Shark
67 |
68 | ::picture-and-text
69 | ---
70 | card: true
71 | ---
72 | As the apex predator of the ocean, the **great white shark** strikes fear into the hearts of beachgoers and surfers around the world. With its razor-sharp teeth and lightning-fast attacks, this formidable predator is the stuff of nightmares for many.
73 |
74 | #image
75 | {.rounded-lg height="400" width="800"}
76 | ::
77 |
78 | ## Mosquito
79 |
80 | ::picture-and-text
81 | ---
82 | card: true
83 | ---
84 | While tiny in size, the **mosquito** is responsible for more human deaths than any other creature on Earth. As carriers of deadly diseases such as malaria, dengue fever, and Zika virus, these blood-sucking insects pose a significant threat to public health worldwide.
85 |
86 | #image
87 | {.rounded-lg height="400" width="800"}
88 | ::
89 |
90 | ## Golden Poison Frog
91 |
92 | ::picture-and-text
93 | ---
94 | card: true
95 | ---
96 | The **Golden Poison Frog**, native to the rainforests of Colombia, is considered one of the most toxic amphibians on the planet. Despite its vibrant golden coloration, this frog secretes potent neurotoxins through its skin, which can cause severe reactions or even death if ingested or handled improperly. Its toxicity serves as a defense mechanism against predators, making it one of the most dangerous frogs in the world.
97 |
98 | #image
99 | {.rounded-lg height="400" width="800"}
100 | ::
101 |
102 | ## King Cobra
103 |
104 | ::picture-and-text
105 | ---
106 | card: true
107 | ---
108 | As the largest venomous snake in the world, the **king cobra** commands respect wherever it is found. With its deadly venom and impressive size, this iconic serpent is a top predator in its habitat and a formidable adversary for any would-be threat.
109 |
110 | #image
111 | {.rounded-lg height="400" width="800"}
112 | ::
113 |
114 | ## Jaguars
115 |
116 | ::picture-and-text
117 | ---
118 | card: true
119 | ---
120 | **Jaguars** are dangerous to humans due to their powerful bite, capable of crushing skulls, and their aggressive territorial defense, especially if they feel threatened. Their stealth, agility, and adaptability to various environments further increase the risk of unexpected encounters.
121 |
122 | #image
123 | {.rounded-lg height="400" width="800"}
124 | ::
125 |
126 | ## Humans
127 |
128 | ::picture-and-text
129 | ---
130 | card: true
131 | ---
132 | While not traditionally viewed as a "wild" creature, **humans** have proven to be the most dangerous and destructive force on Earth. From habitat destruction to pollution, overhunting, and warfare, humans have caused irreparable harm to countless species and ecosystems, threatening the very survival of life on our planet.
133 |
134 | In conclusion, while the natural world is filled with creatures of all shapes and sizes, it is ultimately humans who pose the greatest threat to our own survival and the delicate balance of life on Earth. As stewards of our planet, it is imperative that we respect and protect the diverse array of species that call it home, lest we face the consequences of our own actions.
135 |
136 | #image
137 | {.rounded-lg height="800" width="800"}
138 | ::
139 |
--------------------------------------------------------------------------------
/content/3.blog/6.cryptocurrencies.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: The Rise of Cryptocurrencies
3 | description: Transforming Finance and Economy
4 | image:
5 | src: https://picsum.photos/id/1048/640/360
6 | authors:
7 | - name: Emily pasek
8 | to: https://twitter.com/benjamincanac
9 | avatar:
10 | src: https://i.pravatar.cc/128?u=5
11 | date: 2024-02-01
12 | badge:
13 | label: Economy, Information Technology
14 | ---
15 |
16 | In recent years, cryptocurrencies have emerged as a disruptive force in the world of finance and economics. Born out of the decentralized ethos of blockchain technology, cryptocurrencies have challenged traditional financial systems, offering new avenues for investment, transactions, and economic empowerment. This article explores the impact of cryptocurrencies on the economy and finance, examining their evolution, opportunities, and challenges.
17 |
18 | {.rounded-lg height="600" width="1000"}
19 |
20 | ## The Evolution of Cryptocurrencies
21 |
22 | Bitcoin, introduced in 2009 by the pseudonymous Satoshi Nakamoto, marked the birth of cryptocurrencies. Initially met with skepticism, Bitcoin gradually gained traction, attracting attention from investors and technologists alike. Its underlying blockchain technology, a distributed ledger system, offered transparency, security, and immutability, laying the foundation for a new financial paradigm.
23 |
24 | Since then, thousands of cryptocurrencies, including Ethereum, Ripple, and Litecoin, have proliferated, each with its unique features and use cases. Ethereum introduced smart contracts, enabling programmable transactions, while Ripple focused on facilitating cross-border payments. These diverse offerings have expanded the scope of cryptocurrencies, fueling innovation and experimentation in the financial sector.
25 |
26 | ## 📈 Opportunities in Cryptocurrencies
27 |
28 | Cryptocurrencies present numerous opportunities for individuals, businesses, and economies:
29 |
30 | - **Financial Inclusion:** Cryptocurrencies offer financial services to the unbanked and underbanked populations, bypassing traditional banking infrastructure and reducing transaction costs.
31 | - **Decentralized Finance (DeFi):** DeFi platforms leverage blockchain technology to provide decentralized alternatives to traditional financial services, including lending, borrowing, and trading, without intermediaries.
32 | - **Investment Diversification:** Cryptocurrencies serve as a hedge against traditional assets, providing diversification benefits and offering exposure to a nascent asset class with high growth potential.
33 | - **Technological Innovation:** The underlying blockchain technology of cryptocurrencies has applications beyond finance, including supply chain management, healthcare, and voting systems, driving innovation across industries.
34 |
35 | ## 📉 Challenges and Risks
36 |
37 | Despite their potential, cryptocurrencies also face challenges and risks that warrant attention:
38 |
39 | - **Volatility:** Cryptocurrency markets are characterized by high volatility, subject to speculative trading, market manipulation, and sudden price fluctuations, posing risks to investors and stability.
40 | - **Regulatory Uncertainty:** Governments and regulatory bodies worldwide are grappling with the regulation of cryptocurrencies, raising concerns about legal compliance, taxation, and investor protection.
41 | - **Security Concerns:** Cryptocurrency exchanges and wallets are vulnerable to cyber attacks, theft, and fraud, necessitating robust security measures and risk management practices.
42 | - **Environmental Impact:** The energy-intensive mining process of cryptocurrencies, particularly Bitcoin, raises environmental concerns due to its carbon footprint and energy consumption.
43 |
44 | ## Here are the most well-known cryptocurrencies
45 |
46 | These cryptocurrencies are among the most recognized and widely used in the cryptocurrency ecosystem, each with its unique features and use cases.
47 |
48 | ::card-group
49 | :::card
50 | ---
51 | icon: i-simple-icons-bitcoin
52 | target: _blank
53 | title: Bitcoin (BTC)
54 | to: https://bitcoin.org/
55 | ---
56 | The first and most famous cryptocurrency, often considered a digital store of value and widely used as a medium of exchange.
57 | :::
58 |
59 | :::card
60 | ---
61 | icon: i-simple-icons-ethereum
62 | target: _blank
63 | title: Ethereum (ETH)
64 | to: https://ethereum.org
65 | ---
66 | A blockchain platform enabling developers to create smart contracts and decentralized applications (DApps).
67 | :::
68 |
69 | :::card
70 | ---
71 | icon: i-simple-icons-ripple
72 | target: _blank
73 | title: Ripple (XRP)
74 | to: https://ripple.com/
75 | ---
76 | Focused on providing fast and inexpensive global payment solutions, especially for interbank transactions and cross-border payments.
77 | :::
78 |
79 | :::card
80 | ---
81 | icon: i-simple-icons-litecoin
82 | target: _blank
83 | title: Litecoin (LTC)
84 | to: https://litecoin.com//
85 | ---
86 | Known for faster transaction times and a more decentralized approach compared to Bitcoin.
87 | :::
88 |
89 | :::card
90 | ---
91 | icon: i-simple-icons-bitcoincash
92 | target: _blank
93 | title: Bitcoin Cash (BCH)
94 | to: https://bitcoincash.org
95 | ---
96 | A fork of Bitcoin aimed at improving scalability and transaction processing capabilities.
97 | :::
98 |
99 | :::card
100 | ---
101 | icon: i-simple-icons-cardano
102 | target: _blank
103 | title: Cardano (ADA)
104 | to: https://cardano.org/
105 | ---
106 | A blockchain platform designed for enhanced security and scalability, supporting smart contract and DApp development.
107 | :::
108 | ::
109 |
110 | ## Conclusion
111 |
112 | Cryptocurrencies have emerged as a transformative force in the economy and finance, offering opportunities for innovation, inclusion, and investment. However, their adoption and integration into mainstream financial systems require addressing regulatory, security, and scalability challenges. As cryptocurrencies continue to evolve, their impact on the global economy will be shaped by technological advancements, regulatory developments, and market dynamics, paving the way for a decentralized and digitized financial future.
113 |
--------------------------------------------------------------------------------
/content/1.docs/2.essentials/1.markdown-syntax.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: Markdown Syntax
3 | description: Text, title, and styling in standard markdown.
4 | navigation:
5 | icon: i-lucide-heading-1
6 | ---
7 |
8 | ## Titles
9 |
10 | Use titles to introduce main sections. They structure your documentation and help users navigate content.
11 |
12 | ::code-preview
13 | ---
14 | class: "[&>div]:*:my-0"
15 | ---
16 | ## Titles
17 |
18 | #code
19 | ```mdc
20 | ## Titles
21 | ```
22 | ::
23 |
24 | ### Subtitles
25 |
26 | Use subtitles to divide sections further. They create a more detailed content hierarchy for better readability.
27 |
28 | ::code-preview
29 | ---
30 | class: "[&>div]:*:my-0"
31 | ---
32 | ### Subtitles
33 |
34 | #code
35 | ```mdc
36 | ### Subtitles
37 | ```
38 | ::
39 |
40 | ::tip
41 | Each title and subtitle creates an anchor and shows up automatically in the table of contents.
42 | ::
43 |
44 | ## Text Formatting
45 |
46 | Nuxt UI supports most Markdown formatting options.
47 |
48 | | Style | How to use | Result |
49 | | ------ | ------------ | ---------- |
50 | | Bold | `**bold**` | **Bold** |
51 | | Italic | `*italic*` | *Italic* |
52 | | Strike | `~~strike~~` | ~~Strike~~ |
53 |
54 | Combine formatting for richer text styles and visual emphasis.
55 |
56 | | Style | How to use | Result |
57 | | ------------- | ------------------- | ----------------- |
58 | | Bold Italic | `**_bold italic_**` | ***Bold Italic*** |
59 | | Bold Strike | `~~**bold**~~` | ~~**Bold**~~ |
60 | | Italic Strike | `~~*italic*~~` | ~~*Italic*~~ |
61 |
62 | For exponents, indices, or mathematical notations, use HTML `` and `` tags.
63 |
64 | | Style | How to use | Result |
65 | | ----------- | ------------------------ | ----------- |
66 | | Superscript | `superscript` | superscript |
67 | | Subscript | `subscript` | subscript |
68 |
69 | ## Links
70 |
71 | Links connect different parts of your documentation and external resources, essential for user navigation and providing references.
72 | To create a link, wrap the link text in brackets `[]()`.
73 |
74 | ::code-preview
75 | ---
76 | class: "[&>div]:*:my-0"
77 | ---
78 | [Nuxt UI](https://ui.nuxt.com/getting-started/installation)
79 |
80 | #code
81 | ```mdc
82 | [Nuxt UI](https://ui.nuxt.com/getting-started/installation)
83 | ```
84 | ::
85 |
86 | ### Internal links
87 |
88 | For linking within your documentation, use root-relative paths like `/getting-started/installation`.
89 |
90 | ::code-preview
91 | ---
92 | class: "[&>div]:*:my-0"
93 | ---
94 | [Installation](/getting-started/installation)
95 |
96 | #code
97 | ```mdc
98 | [Installation](/getting-started/installation)
99 | ```
100 | ::
101 |
102 | ## Lists
103 |
104 | Organize related items in a structured, readable format. Markdown supports unordered, ordered, and nested lists for various content needs.
105 |
106 | ### Unordered
107 |
108 | Use unordered lists for items without a specific sequence. Start each item with a `-` symbol.
109 |
110 | ::code-preview
111 | ---
112 | class: "[&>div]:*:my-0"
113 | ---
114 | - I'm a list item.
115 | - I'm another list item.
116 | - I'm the last list item.
117 |
118 | #code
119 | ```mdc
120 | - I'm a list item.
121 | - I'm another list item.
122 | - I'm the last list item.
123 | ```
124 | ::
125 |
126 | ### Ordered
127 |
128 | Use ordered lists when item order matters, like steps in a process. Start each item with a number.
129 |
130 | ::code-preview
131 | ---
132 | class: "[&>div]:*:my-0"
133 | ---
134 | 1. I'm a list item.
135 | 2. I'm another list item.
136 | 3. I'm the last list item.
137 |
138 | #code
139 | ```mdc
140 | 1. I'm a list item.
141 | 2. I'm another list item.
142 | 3. I'm the last list item.
143 | ```
144 | ::
145 |
146 | ### Nested
147 |
148 | Create hierarchical lists with sub-items for complex structures. Indent sub-items by four spaces for nesting.
149 |
150 | ::code-preview
151 | ---
152 | class: "[&>div]:*:my-0"
153 | ---
154 | - I'm a list item.
155 | - I'm a nested list item.
156 | - I'm another nested list item.
157 | - I'm another list item.
158 |
159 | #code
160 | ```mdc
161 | - I'm a list item.
162 | - I'm a nested list item.
163 | - I'm another nested list item.
164 | - I'm another list item.
165 | ```
166 | ::
167 |
168 | ## Tables
169 |
170 | Present structured data in rows and columns clearly. Tables are ideal for comparing data or listing properties.
171 |
172 | ::code-preview
173 | ---
174 | class: "[&>div]:*:my-0 [&>div]:*:w-full"
175 | ---
176 | | Prop | Default | Type |
177 | | ------- | --------- | -------- |
178 | | `name` | | `string` |
179 | | `size` | `md` | `string` |
180 | | `color` | `neutral` | `string` |
181 |
182 | #code
183 | ```mdc
184 | | Prop | Default | Type |
185 | |---------|-----------|--------------------------|
186 | | `name` | | `string`{lang="ts-type"} |
187 | | `size` | `md` | `string`{lang="ts-type"} |
188 | | `color` | `neutral` | `string`{lang="ts-type"} |
189 | ```
190 | ::
191 |
192 | ## Blockquotes
193 |
194 | Highlight important quotations, citations, or emphasized text. Blockquotes visually distinguish quoted content.
195 |
196 | ### Singleline
197 |
198 | Single-line blockquotes are best for short, impactful quotes or citations that fit within a single line. To create a single-line blockquote, add a `>` in front of a paragraph. Ideal for short and impactful quotes.
199 |
200 | ::code-preview
201 | ---
202 | class: "[&>div]:*:my-0"
203 | ---
204 | > Nuxt UI is a collection of Vue components, composables and utils designed to create beautiful and accessible user interfaces.
205 |
206 | #code
207 | ```mdc
208 | > Nuxt UI is a collection of Vue components, composables and utils designed to create beautiful and accessible user interfaces.
209 | ```
210 | ::
211 |
212 | ### Multiline
213 |
214 | Multi-line blockquotes are suitable for longer quotes or when you need to include multiple paragraphs within a single quotation.
215 |
216 | ::code-preview
217 | ---
218 | class: "[&>div]:*:my-0"
219 | ---
220 | > Nuxt UI is a collection of Vue components, composables and utils designed to create beautiful and accessible user interfaces.
221 | >
222 | > Create beautiful, responsive, and accessible Vue applications with Nuxt UI.
223 |
224 | #code
225 | ```mdc
226 | > Nuxt UI is a collection of Vue components, composables and utils designed to create beautiful and accessible user interfaces.
227 | >
228 | > Create beautiful, responsive, and accessible Vue applications with Nuxt UI.
229 | ```
230 | ::
231 |
--------------------------------------------------------------------------------
/content/0.index.yml:
--------------------------------------------------------------------------------
1 | title: Ship Your [SaaS]{class="text-primary"} at light speed
2 | description: Build production-ready SaaS applications with Nuxt UI's powerful components, authentication flows, and enterprise features. The same component library trusted by the entire Nuxt ecosystem.
3 | seo:
4 | title: Nuxt UI SaaS Template
5 | description: Create stunning, fast and production-ready SaaS applications with Nuxt UI. 100+ Vue components, authentication, dark mode, and enterprise features built on Tailwind CSS.
6 | navigation: false
7 | hero:
8 | links:
9 | - label: Get started
10 | icon: i-lucide-arrow-right
11 | trailing: true
12 | to: https://ui.nuxt.com/docs/getting-started/installation/nuxt
13 | target: _blank
14 | size: xl
15 | - label: Use this template
16 | icon: i-simple-icons-github
17 | size: xl
18 | color: neutral
19 | variant: subtle
20 | to: https://github.com/nuxt-ui-templates/saas
21 | target: _blank
22 | sections:
23 | - title: Powered by Nuxt UI Components
24 | description: Access the complete Nuxt UI component library with 100+ beautifully styled, accessible, and customizable Vue components. Everything you need to build professional SaaS applications.
25 | id: features
26 | orientation: horizontal
27 | features:
28 | - name: 100+ UI Components
29 | description: From buttons to modals, data tables to forms - all styled with Tailwind CSS and accessible out of the box.
30 | icon: i-lucide-package
31 | - name: Authentication Ready
32 | description: Pre-built login, signup, and password reset flows. Just connect your backend and start onboarding users.
33 | icon: i-lucide-shield
34 | - name: TypeScript First
35 | description: Full TypeScript support with auto-completion, type safety, and IntelliSense for every component and composable.
36 | icon: i-lucide-code-2
37 | - title: Built for Modern SaaS
38 | description: Everything you need to launch and scale your SaaS. From beautiful marketing pages to complex dashboards, ship faster with production-ready patterns.
39 | orientation: horizontal
40 | reverse: true
41 | features:
42 | - name: Edge Performance
43 | description: Optimized for Core Web Vitals with automatic code splitting, lazy loading, and SSR/SSG support.
44 | icon: i-lucide-zap
45 | - name: Dark Mode Ready
46 | description: Automatic theme switching with smooth transitions. Respects system preferences and remembers user choice.
47 | icon: i-lucide-moon
48 | - name: Global Ready
49 | description: Built-in i18n support for 50+ languages with RTL/LTR layouts and @nuxt/fonts integration.
50 | icon: i-lucide-globe
51 | features:
52 | title: Everything You Need to Ship
53 | description: Stop building from scratch. Focus on your unique features while Nuxt UI handles the foundations with battle-tested components and patterns.
54 | items:
55 | - title: Beautiful Design System
56 | description: Semantic color aliases, comprehensive design tokens, and Tailwind Variants for consistent, customizable styling.
57 | icon: i-lucide-palette
58 | - title: Accessible by Default
59 | description: Built on Reka UI for robust accessibility. WCAG compliant components that work for everyone, everywhere.
60 | icon: i-lucide-accessibility
61 | - title: Developer Experience
62 | description: Auto-imports, hot module replacement, and comprehensive documentation. Build faster with less friction.
63 | icon: i-lucide-terminal
64 | - title: SEO Optimized
65 | description: Server-side rendering, automatic meta tags, sitemap generation, and Open Graph images out of the box.
66 | icon: i-lucide-search
67 | - title: Production Ready
68 | description: Error handling, loading states, form validation, and security best practices built into every component.
69 | icon: i-lucide-check-circle
70 | - title: Infinitely Customizable
71 | description: Override any style with the ui prop, customize globally with AppConfig, or use Tailwind classes directly.
72 | icon: i-lucide-settings
73 | testimonials:
74 | headline: Trusted by Developers
75 | title: Join Thousands Building with Nuxt UI
76 | description: See why developers choose Nuxt UI to ship their SaaS applications faster and with more confidence.
77 | items:
78 | - quote: Nuxt UI transformed how we build. The component quality is exceptional - everything just works with perfect TypeScript support, accessibility, and dark mode built in.
79 | user:
80 | name: Sarah Chen
81 | description: CTO at TechScale Solutions
82 | avatar:
83 | src: https://i.pravatar.cc/120?img=1
84 | - quote: We shipped our MVP in 2 weeks instead of 2 months. The authentication flows and form components saved us countless hours of development time.
85 | user:
86 | name: Marcus Rodriguez
87 | description: VP of Engineering at DataFlow
88 | avatar:
89 | src: https://i.pravatar.cc/120?img=7
90 | - quote: The design system with AppConfig is brilliant. We maintain brand consistency across all our products while leveraging the full component library.
91 | user:
92 | name: David Kumar
93 | description: Security Director at SecureStack
94 | avatar:
95 | src: https://i.pravatar.cc/120?img=3
96 | - quote: Perfect Lighthouse scores out of the box. Our Core Web Vitals improved dramatically just by switching to Nuxt UI components.
97 | user:
98 | name: Emily Zhang
99 | description: Lead Architect at ScaleForce
100 | avatar:
101 | src: https://i.pravatar.cc/120?img=5
102 | - quote: The Tailwind Variants system makes customization so intuitive. We can override any component style while keeping the functionality intact.
103 | user:
104 | name: James Wilson
105 | description: DevOps Lead at CloudPro
106 | avatar:
107 | src: https://i.pravatar.cc/120?img=8
108 | - quote: From the SaaS template to production in days. The pre-built layouts, navigation, and content structure accelerated our launch.
109 | user:
110 | name: Lisa Patel
111 | description: CEO at AutoScale
112 | avatar:
113 | src: https://i.pravatar.cc/120?img=9
114 | - quote: Reka UI foundation means accessibility is never an afterthought. We achieved WCAG compliance without any custom work.
115 | user:
116 | name: Michael Torres
117 | description: Frontend Lead at AccessFirst
118 | avatar:
119 | src: https://i.pravatar.cc/120?img=11
120 | - quote: The documentation is outstanding. Every component has clear examples, and the community on Discord is incredibly helpful.
121 | user:
122 | name: Rachel Kim
123 | description: Performance Engineer at APIHub
124 | avatar:
125 | src: https://i.pravatar.cc/120?img=10
126 | - quote: We replaced three different UI libraries with Nuxt UI. The consistency and quality across all components is unmatched.
127 | user:
128 | name: Thomas Weber
129 | description: UI Architecture Lead at DesignScale
130 | avatar:
131 | src: https://i.pravatar.cc/120?img=12
132 | - quote: The integration with Nuxt modules is seamless. Color mode, fonts, icons - everything works together perfectly.
133 | user:
134 | name: Sophia Martinez
135 | description: Integration Specialist at TechFlow
136 | avatar:
137 | src: https://i.pravatar.cc/120?img=14
138 | cta:
139 | title: Ready to build an amazing SaaS?
140 | description: Join thousands of developers building with Nuxt and Nuxt UI. Get this template and start shipping today.
141 | links:
142 | - label: Start building
143 | to: 'https://ui.nuxt.com/docs/getting-started/installation/nuxt'
144 | target: _blank
145 | trailingIcon: i-lucide-arrow-right
146 | - label: View on GitHub
147 | to: 'https://github.com/nuxt-ui-templates/saas'
148 | target: _blank
149 | variant: subtle
150 | icon: i-simple-icons-github
151 |
--------------------------------------------------------------------------------
/content/1.docs/2.essentials/2.code-blocks.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: Code Blocks
3 | description: Display inline code and code blocks
4 | navigation:
5 | icon: i-lucide-code-xml
6 | ---
7 |
8 | ## Basic
9 |
10 | ### Inline Code
11 |
12 | Use inline code to display code snippets within text paragraphs. It's ideal for referencing code elements directly in sentences.
13 |
14 | ::code-preview
15 | ---
16 | class: "[&>div]:*:my-0"
17 | ---
18 | `inline code`
19 |
20 | #code
21 | ```mdc
22 | `inline code`
23 | ```
24 | ::
25 |
26 | ### Code Blocks
27 |
28 | Use code blocks to display multi-line code snippets with syntax highlighting. Code blocks are essential for presenting code examples clearly.
29 |
30 | ::code-preview
31 | ---
32 | class: "[&>div]:*:my-0 [&>div]:*:w-full"
33 | ---
34 | ```ts
35 | export default defineNuxtConfig({
36 | modules: ['@nuxt/ui']
37 | })
38 | ```
39 |
40 | #code
41 | ````mdc
42 | ```ts
43 | export default defineNuxtConfig({
44 | modules: ['@nuxt/ui']
45 | })
46 | ```
47 | ````
48 | ::
49 |
50 | When writing a code-block, you can specify a filename that will be displayed on top of the code block. An icon will be automatically displayed based on the extension or the name.
51 | Filenames help users understand the code's location and purpose within a project.
52 |
53 | ::code-preview
54 | ---
55 | class: "[&>div]:*:my-0 [&>div]:*:w-full"
56 | ---
57 | ```ts [nuxt.config.ts]
58 | export default defineNuxtConfig({
59 | modules: ['@nuxt/ui']
60 | })
61 | ```
62 |
63 | #code
64 | ````mdc
65 | ```ts [nuxt.config.ts]
66 | export default defineNuxtConfig({
67 | modules: ['@nuxt/ui']
68 | })
69 | ```
70 | ````
71 | ::
72 |
73 | ::tip
74 | Some icons are already defined by default, but you can add more in your `app.config.ts` through the `ui.prose.codeIcon` key:
75 |
76 | ```ts [app.config.ts]
77 | export default defineAppConfig({
78 | ui: {
79 | prose: {
80 | codeIcon: {
81 | terminal: 'i-ph-terminal-window-duotone'
82 | }
83 | }
84 | }
85 | })
86 | ```
87 | ::
88 |
89 | Every code-block has a built-in copy button that will copy the code to your clipboard.
90 |
91 | ::tip
92 | You can change the icon in your `app.config.ts` through the `ui.icons.copy` and `ui.icons.copyCheck` keys:
93 |
94 | ```ts [app.config.ts]
95 | export default defineAppConfig({
96 | ui: {
97 | icons: {
98 | copy: 'i-lucide-copy',
99 | copyCheck: 'i-lucide-copy-check'
100 | }
101 | }
102 | })
103 | ```
104 | ::
105 |
106 | #### Highlight Line
107 |
108 | To highlight lines of code, add `{}` around the line numbers you want to highlight.
109 | Line highlighting is useful for focusing users on important parts of code examples.
110 |
111 | ::code-preview
112 | ---
113 | class: "[&>div]:*:my-0 [&>div]:*:w-full"
114 | ---
115 | ```ts [nuxt.config.ts]{4-5}
116 | export default defineAppConfig({
117 | ui: {
118 | icons: {
119 | copy: 'i-lucide-copy',
120 | copyCheck: 'i-lucide-copy-check'
121 | }
122 | }
123 | })
124 | ```
125 |
126 | #code
127 | ````mdc
128 | ```ts [nuxt.config.ts]{4-5}
129 | export default defineAppConfig({
130 | ui: {
131 | icons: {
132 | copy: 'i-lucide-copy',
133 | copyCheck: 'i-lucide-copy-check'
134 | }
135 | }
136 | })
137 | ```
138 | ````
139 | ::
140 |
141 | ## Advanced
142 |
143 | ### CodeGroup
144 |
145 | Group code blocks in tabs using `code-group`. `code-group` is perfect for showing code examples in multiple languages or package managers.
146 |
147 | ::code-preview
148 | ---
149 | class: "[&>div]:*:my-0 [&>div]:*:w-full"
150 | ---
151 | :::code-group{.w-full}
152 | ```bash [pnpm]
153 | pnpm add @nuxt/ui
154 | ```
155 |
156 | ```bash [yarn]
157 | yarn add @nuxt/ui
158 | ```
159 |
160 | ```bash [npm]
161 | npm install @nuxt/ui
162 | ```
163 |
164 | ```bash [bun]
165 | bun add @nuxt/ui
166 | ```
167 | :::
168 |
169 | #code
170 | ````mdc
171 | :::code-group
172 |
173 | ```bash [pnpm]
174 | pnpm add @nuxt/ui
175 | ```
176 |
177 | ```bash [yarn]
178 | yarn add @nuxt/ui
179 | ```
180 |
181 | ```bash [npm]
182 | npm install @nuxt/ui
183 | ```
184 |
185 | ```bash [bun]
186 | bun add @nuxt/ui
187 | ```
188 |
189 | ::
190 | ````
191 | ::
192 |
193 | ::note{to="#pre"}
194 | Like the `ProsePre` component, the `CodeGroup` handles filenames, icons and copy button.
195 | ::
196 |
197 | ### CodeTree
198 |
199 | Display code blocks in a file tree view using `code-tree`. `code-tree` is excellent for showcasing project structures and file relationships.
200 |
201 | ::code-preview{class="[&>div]:*:my-0 [&>div]:*:w-full"}
202 | :::code-tree{default-value="app/app.config.ts"}
203 | ```ts [nuxt.config.ts]
204 | export default defineNuxtConfig({
205 | modules: ['@nuxt/ui'],
206 |
207 | css: ['~/assets/css/main.css']
208 | })
209 |
210 | ```
211 |
212 | ```css [app/assets/css/main.css]
213 | @import "tailwindcss";
214 | @import "@nuxt/ui";
215 | ```
216 |
217 | ```ts [app/app.config.ts]
218 | export default defineAppConfig({
219 | ui: {
220 | colors: {
221 | primary: 'sky',
222 | colors: 'slate'
223 | }
224 | }
225 | })
226 | ```
227 |
228 | ```vue [app/app.vue]
229 |
230 |
231 |
232 |
233 |
234 | ```
235 |
236 | ```json [package.json]
237 | {
238 | "name": "nuxt-app",
239 | "private": true,
240 | "type": "module",
241 | "scripts": {
242 | "build": "nuxt build",
243 | "dev": "nuxt dev",
244 | "generate": "nuxt generate",
245 | "preview": "nuxt preview",
246 | "postinstall": "nuxt prepare",
247 | "lint": "eslint .",
248 | "lint:fix": "eslint --fix ."
249 | },
250 | "dependencies": {
251 | "@iconify-json/lucide": "^1.2.63",
252 | "@nuxt/content": "^3.6.3",
253 | "@nuxt/ui": "^4.0.0",
254 | "nuxt": "^4.1.0"
255 | },
256 | "devDependencies": {
257 | "@nuxt/eslint": "^1.9.0",
258 | "eslint": "^9.34.0",
259 | "typescript": "^5.9.2",
260 | "vue-tsc": "^3.0.6"
261 | }
262 | }
263 | ```
264 |
265 | ```json [tsconfig.json]
266 | {
267 | "extends": "./.nuxt/tsconfig.json"
268 | }
269 | ```
270 |
271 | ````md [README.md]
272 | # Nuxt Minimal Starter
273 |
274 | Look at the [Nuxt documentation](https://nuxt.com/docs/getting-started/introduction) to learn more.
275 |
276 | ## Setup
277 |
278 | Make sure to install the dependencies:
279 |
280 | ```bash
281 | # npm
282 | npm install
283 |
284 | # pnpm
285 | pnpm install
286 |
287 | # yarn
288 | yarn install
289 |
290 | # bun
291 | bun install
292 | ```
293 |
294 | ## Development Server
295 |
296 | Start the development server on `http://localhost:3000`:
297 |
298 | ```bash
299 | # npm
300 | npm run dev
301 |
302 | # pnpm
303 | pnpm run dev
304 |
305 | # yarn
306 | yarn dev
307 |
308 | # bun
309 | bun run dev
310 | ```
311 |
312 | ## Production
313 |
314 | Build the application for production:
315 |
316 | ```bash
317 | # npm
318 | npm run build
319 |
320 | # pnpm
321 | pnpm run build
322 |
323 | # yarn
324 | yarn build
325 |
326 | # bun
327 | bun run build
328 | ```
329 |
330 | Locally preview production build:
331 |
332 | ```bash
333 | # npm
334 | npm run preview
335 |
336 | # pnpm
337 | pnpm run preview
338 |
339 | # yarn
340 | yarn preview
341 |
342 | # bun
343 | bun run preview
344 | ```
345 |
346 | Check out the [deployment documentation](https://nuxt.com/docs/getting-started/deployment) for more information.
347 | ````
348 | :::
349 | ::
350 |
351 | ::note
352 | ---
353 | target: _blank
354 | to: https://ui.nuxt.com/getting-started/typography#codetree
355 | ---
356 | Learn more about the `code-tree` component.
357 | ::
358 |
359 | ### `CodePreview`
360 |
361 | Use `code-preview` to show code output alongside the code. `code-preview` is ideal for interactive examples and demonstrating code results.
362 | Write the code to be previewed in a the `default` slot and the actual code in the `code` slot.
363 |
364 | ::code-preview
365 | ---
366 | class: "[&>div]:*:my-0 [&>div]:*:w-full"
367 | label: Preview
368 | ---
369 | :::code-preview
370 | ---
371 | class: "[&>div]:*:my-0"
372 | ---
373 | `inline code`
374 |
375 | #code
376 | ```mdc
377 | `inline code`
378 | ```
379 | :::
380 |
381 | #code
382 | ````mdc
383 | ::code-preview
384 | `inline code`
385 |
386 | #code
387 | ```mdc
388 | `inline code`
389 | ```
390 | ::
391 | ````
392 | ::
393 |
394 | ### `CodeCollapse`
395 |
396 | Use `code-collapse` for long code blocks to keep pages clean. `code-collapse` allows users to expand code blocks only when needed, improving readability.
397 |
398 | ::code-preview
399 | ---
400 | class: "[&>div]:*:my-0 [&>div]:*:w-full"
401 | ---
402 | :::code-collapse{class="[&>div]:my-0"}
403 | ```css [main.css]
404 | @import "tailwindcss";
405 | @import "@nuxt/ui";
406 |
407 | @theme {
408 | --font-sans: 'Public Sans', sans-serif;
409 |
410 | --breakpoint-3xl: 1920px;
411 |
412 | --color-green-50: #EFFDF5;
413 | --color-green-100: #D9FBE8;
414 | --color-green-200: #B3F5D1;
415 | --color-green-300: #75EDAE;
416 | --color-green-400: #00DC82;
417 | --color-green-500: #00C16A;
418 | --color-green-600: #00A155;
419 | --color-green-700: #007F45;
420 | --color-green-800: #016538;
421 | --color-green-900: #0A5331;
422 | --color-green-950: #052E16;
423 | }
424 | ```
425 | :::
426 |
427 | #code
428 | ````mdc
429 | ::code-collapse
430 |
431 | ```css [main.css]
432 | @import "tailwindcss";
433 | @import "@nuxt/ui";
434 |
435 | @theme {
436 | --font-sans: 'Public Sans', sans-serif;
437 |
438 | --breakpoint-3xl: 1920px;
439 |
440 | --color-green-50: #EFFDF5;
441 | --color-green-100: #D9FBE8;
442 | --color-green-200: #B3F5D1;
443 | --color-green-300: #75EDAE;
444 | --color-green-400: #00DC82;
445 | --color-green-500: #00C16A;
446 | --color-green-600: #00A155;
447 | --color-green-700: #007F45;
448 | --color-green-800: #016538;
449 | --color-green-900: #0A5331;
450 | --color-green-950: #052E16;
451 | }
452 | ```
453 |
454 | ::
455 | ````
456 | ::
457 |
--------------------------------------------------------------------------------
/content/3.blog/1.asian-cuisine.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: Exploring the Culinary Wonders of Asia
3 | description: "Embark on a tantalizing expedition through the diverse and
4 | enchanting flavors of Asia "
5 | image:
6 | src: https://picsum.photos/id/490/640/360
7 | authors:
8 | - name: Alexia wong
9 | to: https://twitter.com/benjamincanac
10 | avatar:
11 | src: https://i.pravatar.cc/128?u=0
12 | date: 2023-08-25
13 | badge:
14 | label: Cooking
15 | ---
16 |
17 | ## Introduction to the Enchanting World of Asian Cuisine
18 |
19 | Dive into the rich tapestry of Asian cuisine, a journey through centuries-old traditions and a symphony of flavors that tantalize the taste buds. From the bustling street markets of Bangkok to the serene tea houses of Kyoto, each corner of Asia offers a culinary adventure waiting to be explored. In this chapter, we embark on a quest to understand what makes Asian cuisine truly extraordinary.
20 |
21 | Asia's culinary landscape is as diverse as its cultures. Chinese, Japanese, Thai, Indian, Vietnamese, Malaysian – each region boasts its own unique culinary identity. The use of fresh, locally sourced ingredients, a delicate balance of spices, and a reverence for tradition are the common threads that bind these diverse cuisines.
22 |
23 | ::pictures
24 | :::div
25 | {.rounded-lg height="400" width="400"}
26 | :::
27 |
28 | :::div
29 | {.rounded-lg height="400" width="400"}
30 | :::
31 |
32 | :::div
33 | {.rounded-lg height="400" width="400"}
34 | :::
35 | ::
36 |
37 | ## Unraveling the Secrets of Asian Flavors and Techniques
38 |
39 | The heart of Asian cuisine lies in its distinct flavors and time-honored cooking techniques. Take a journey through the spice-laden streets of Sichuan in China, where the fiery heat of the wok creates mouthwatering masterpieces. Learn the art of sushi making in Japan, where precision and presentation are paramount. Delve into the aromatic world of Thai curries, where the interplay of sweet, sour, salty, and spicy creates a dance of flavors on the palate.
40 |
41 | Asian kitchens are a treasure trove of ingredients, each with its own story. Soy sauce, miso, coconut milk, lemongrass, and an array of exotic spices elevate dishes to new heights. Discover the magic of umami, the elusive fifth taste that defines many Asian dishes, leaving a lingering and savory sensation.
42 |
43 | ::pictures
44 | :::div
45 | {.rounded-lg height="400" width="400"}
46 | :::
47 |
48 | :::div
49 | {.rounded-lg height="400" width="400"}
50 | :::
51 |
52 | :::div
53 | {.rounded-lg height="400" width="400"}
54 | :::
55 |
56 | :::div
57 | {.rounded-lg height="400" width="400"}
58 | :::
59 |
60 | :::div
61 | {.rounded-lg height="400" width="400"}
62 | :::
63 |
64 | :::div
65 | {.rounded-lg height="400" width="400"}
66 | :::
67 | ::
68 |
69 | ## Some Cooking Recipe
70 |
71 | ### Salmon Avocado Sushi Rolls (Japan 🇯🇵)
72 |
73 | {.rounded-lg height="400" width="1200"}
74 |
75 | ::tabs
76 | :::div{icon="i-lucide-flame" label="Ingredients"}
77 | - 2 cups sushi rice, cooked and seasoned with
78 | :br
79 | rice vinegar, sugar, and salt
80 | - 10 sheets nori (seaweed)
81 | - 1/2 lb fresh sushi-grade salmon, thinly sliced
82 | - 1 ripe avocado, sliced
83 | - 1 cucumber, julienned
84 | - Soy sauce, pickled ginger, and wasabi for serving
85 | :::
86 |
87 | :::div{icon="i-lucide-list" label="Instructions"}
88 | - **Prepare Sushi Rice:**
89 | Cook sushi rice according to package instructions. Once cooked, season with a mixture of rice vinegar, sugar, and salt. Allow it to cool.
90 | - **Prepare Ingredients:**
91 | Slice the salmon into thin strips.
92 | Slice the avocado and julienne the cucumber.
93 | - **Assemble Sushi Roll:**
94 | Place a sheet of nori on the bamboo sushi rolling mat, shiny side down.
95 | Wet your hands to prevent sticking and spread a thin layer of sushi rice on the nori, leaving a small border at the top.
96 | Add Filling:
97 | Arrange slices of salmon, avocado, and julienned cucumber in the center of the rice.
98 | - **Roll the Sushi:**
99 | Using the bamboo mat, start rolling the sushi away from you, applying gentle pressure to create a tight roll.
100 | Moisten the top border of the nori with a little water to seal the roll.
101 | - **Slice the Roll:**
102 | With a sharp, wet knife, slice the roll into bite-sized pieces.
103 | - **Serve:**
104 | Arrange the sushi rolls on a plate.
105 | Serve with soy sauce, pickled ginger, and wasabi on the side.
106 | - **Enjoy:**
107 | Pick up a slice of sushi with chopsticks, dip it in soy sauce, and savor the delicious combination of fresh salmon, creamy avocado, and crunchy cucumber.
108 | :::
109 | ::
110 |
111 | ### Nems/Cha Gio (Vietnam 🇻🇳)
112 |
113 | {.rounded-lg height="400" width="1200"}
114 |
115 | ::tabs
116 | :::div
117 | ---
118 | class: flex space-between w-full items-center
119 | icon: i-lucide-flame
120 | label: Ingredients
121 | ---
122 | - 1/2 lb (about 225g) ground pork
123 | - 1 cup finely shredded carrots
124 | - 1 cup bean sprouts
125 | - 1 cup finely chopped wood ear mushrooms (soaked and softened if dried)
126 | - 1 cup thin rice vermicelli noodles (cooked according to package instructions)
127 | - 2 cloves garlic, minced
128 | - 1 shallot, minced
129 | - 1 tablespoon fish sauce
130 | - 1 teaspoon sugar
131 | - 1/2 teaspoon black pepper
132 | - 2 tablespoons vegetable oil for stir-frying
133 | :::
134 |
135 | :::div{icon="i-lucide-list" label="Instructions"}
136 | - **Prepare the Filling:**
137 | In a pan, heat 2 tablespoons of vegetable oil. Add minced garlic and shallots, stir-frying until fragrant.
138 | Add ground pork and cook until browned. Add fish sauce, sugar, and black pepper.
139 | Add shredded carrots, bean sprouts, wood ear mushrooms, and cooked rice vermicelli. Stir-fry until vegetables are slightly softened. Remove from heat and let it cool.
140 | - **Soak Rice Paper:**
141 | Dip one rice paper sheet into warm water for a few seconds until it becomes pliable. Place it on a clean, damp cloth.
142 | - **Roll the Spring Rolls:**
143 | Place a generous spoonful of the filling on the lower third of the rice paper.
144 | Fold the sides of the rice paper over the filling and then roll it up tightly from the bottom to the top.
145 | - **Seal and Repeat:**
146 | Seal the edges by moistening with water. Repeat until all the filling is used.
147 | - **Deep Fry:**
148 | Heat vegetable oil in a deep fryer or a deep pan to 350°F (180°C).
149 | Fry the spring rolls until golden brown and crispy. Drain on paper towels.
150 | - **Prepare Dipping Sauce:**
151 | Mix fish sauce, water, sugar, lime juice, minced garlic, and chopped chili (if using). Stir until sugar is dissolved.
152 | - **Serve:**
153 | Serve the Vietnamese Spring Rolls with the dipping sauce and garnish with shredded carrots.
154 | - **Enjoy:**
155 | Enjoy these crispy and flavorful Vietnamese Spring Rolls as an appetizer or a snack.
156 | :::
157 | ::
158 |
159 | ### Bibimbap (South Korean 🇰🇷)
160 |
161 | {.rounded-lg height="400" width="1200"}
162 |
163 | ::tabs
164 | :::div
165 | ---
166 | class: flex space-between w-full items-center
167 | icon: i-lucide-flame
168 | label: Ingredients
169 | ---
170 | - 2 cups cooked short-grain rice
171 | - 1 cup assorted vegetables (such as carrots, spinach, mushrooms, zucchini, bean sprouts)
172 | - 1 cup protein (such as thinly sliced beef, chicken, or tofu)
173 | - 2 tablespoons vegetable oil
174 | - 2 cloves garlic, minced
175 | - Salt, to taste
176 | - Soy sauce, to taste
177 | - Sesame oil, to taste
178 | - Gochujang (Korean red chili paste), to taste
179 | - Toasted sesame seeds, for garnish
180 | - Fried eggs (optional), for topping
181 | :::
182 |
183 | :::div{icon="i-lucide-list" label="Instructions"}
184 | - **Cook the Rice:**
185 | Prepare 2 cups of short-grain rice according to package instructions.
186 | Set aside once cooked.
187 | - **Prepare the Vegetables:**
188 | Slice assorted vegetables thinly (carrots, spinach, mushrooms, zucchini, bean sprouts).
189 | Blanch or stir-fry the vegetables separately or together, seasoning with salt and soy sauce to taste.
190 | Set aside.
191 | - **Cook the Protein (Optional):**
192 | Thinly slice your choice of protein (beef, chicken, or tofu) against the grain.
193 | Heat 1 tablespoon of vegetable oil in a skillet over medium-high heat.
194 | Add minced garlic and cook until fragrant (about 30 seconds).
195 | Add the sliced meat and cook until browned and cooked through.
196 | Season with salt and soy sauce to taste.
197 | Set aside.
198 | - **Assemble the Bibimbap:**
199 | Divide the cooked rice among serving bowls.
200 | Arrange the cooked vegetables and protein on top of the rice in separate sections.
201 | - **Add Flavorings:**
202 | Drizzle each bowl with sesame oil and gochujang, adjusting the amount to taste.
203 | - **Garnish and Serve:**
204 | Sprinkle toasted sesame seeds over the top of each bowl.
205 | Optionally, top each bowl with a fried egg.
206 | - **Enjoy:**
207 | Serve the Bibimbap immediately.
208 | Mix everything together just before eating for the best flavor experience.
209 | :::
210 | ::
211 |
212 | ### Cheese Naan (India 🇮🇳)
213 |
214 | {.rounded-lg height="400" width="1200"}
215 |
216 | ::tabs
217 | :::div{icon="i-lucide-flame" label="Ingredients"}
218 | - 2 1/4 teaspoons (1 packet) active dry yeast
219 | - 1 teaspoon sugar
220 | - 3/4 cup warm water (about 110°F or 43°C)
221 | - 2 cups all-purpose flour, plus extra for rolling
222 | - 1 teaspoon salt
223 | - 1/4 teaspoon baking soda
224 | - 1/4 cup plain yogurt
225 | - 1 tablespoon olive oil or melted ghee
226 | :::
227 |
228 | :::div{icon="i-lucide-list" label="Instructions"}
229 | - **Activate the Yeast:**
230 | In a small bowl, combine the active dry yeast, sugar, and warm water. Let it sit for about 5-10 minutes until it becomes frothy.
231 | - **Prepare the Dough:**
232 | In a large mixing bowl, combine the flour, salt, and baking soda.
233 | Make a well in the center and add the activated yeast mixture, yogurt, and olive oil.
234 | Mix the ingredients until a dough forms.
235 | - **Knead the Dough:**
236 | Transfer the dough to a floured surface and knead for about 5-7 minutes until it becomes smooth and elastic.
237 | - **Let it Rise:**
238 | Place the dough in a lightly oiled bowl, cover it with a damp cloth, and let it rise in a warm place for 1-2 hours or until it has doubled in size.
239 | - **Preheat the Oven:**
240 | Preheat your oven to the highest setting, usually around 500°F (260°C). If you have a pizza stone, place it in the oven to heat.
241 | - **Divide and Shape:**
242 | Divide the dough into equal portions and shape each portion into a ball.
243 | Roll out each ball into an oval or round shape, about 1/4 inch thick.
244 | - **Bake:**
245 | If using a pizza stone, transfer the rolled-out naan directly onto the stone in the preheated oven. Alternatively, place the rolled-out naan on a baking sheet.
246 | Bake for 5-7 minutes or until the naan puffs up and the edges turn golden brown.
247 | - **Optional Toppings:**
248 | Brush the hot naan with melted ghee or butter and sprinkle with chopped fresh cilantro if desired.
249 | - **Serve:**
250 | Serve the naan warm, either as a side to your favorite curry or as a delicious flatbread.
251 | :::
252 | ::
253 |
--------------------------------------------------------------------------------
/content/1.docs/2.essentials/3.prose-components.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: Prose Components
3 | description: Components to help you structure your content.
4 | navigation:
5 | icon: i-lucide-component
6 | ---
7 |
8 | ### Accordion
9 |
10 | Use `accordion` and `accordion-item` to create collapsible content sections. Accordions are useful for organizing FAQs, expandable details, or grouped information in an interactive way.
11 |
12 | ::code-preview
13 | ---
14 | class: "[&>div]:*:my-0"
15 | ---
16 | :::accordion
17 | ::::accordion-item
18 | ---
19 | icon: i-lucide-circle-help
20 | label: What are the main considerations when upgrading to Nuxt UI v3?
21 | ---
22 | The transition to v3 involves significant changes, including new component structures, updated theming approaches, and revised TypeScript definitions. We recommend a careful, incremental upgrade process, starting with thorough testing in a development environment.
23 | ::::
24 |
25 | ::::accordion-item
26 | ---
27 | icon: i-lucide-circle-help
28 | label: Is Nuxt UI v3 compatible with standalone Vue projects?
29 | ---
30 | Nuxt UI is now compatible with Vue! You can follow the [installation guide](/getting-started/installation) to get started.
31 | ::::
32 | :::
33 |
34 | #code
35 | ```mdc
36 | ::accordion
37 |
38 | :::accordion-item{label="What are the main considerations when upgrading to Nuxt UI v3?" icon="i-lucide-circle-help"}
39 | The transition to v3 involves significant changes, including new component structures, updated theming approaches, and revised TypeScript definitions. We recommend a careful, incremental upgrade process, starting with thorough testing in a development environment.
40 | :::
41 |
42 | :::accordion-item{label="Is Nuxt UI v3 compatible with standalone Vue projects?" icon="i-lucide-circle-help"}
43 | Nuxt UI is now compatible with Vue! You can follow the [installation guide](/getting-started/installation) to get started.
44 | :::
45 |
46 | ::
47 | ```
48 | ::
49 |
50 | ### Badge
51 |
52 | Use badge to display status indicators or labels. Badges are great for highlighting version numbers, statuses, or categories within your content.
53 |
54 | ::code-preview
55 | ---
56 | label: Preview
57 | ---
58 | :::badge
59 | **v3.0.0-alpha.10**
60 | :::
61 |
62 | #code
63 | ```mdc
64 | ::badge
65 | **v3.0.0-alpha.10**
66 | ::
67 | ```
68 | ::
69 |
70 | ### Callout
71 |
72 | Use callout to emphasize important contextual information. Callouts draw attention to notes, tips, warnings, or cautions, making key information stand out.
73 |
74 | Customize with `icon` and `color` props or use `note`, `tip`, `warning`, `caution` shortcuts for pre-defined semantic styles.
75 |
76 | ::code-preview
77 | ---
78 | class: "[&>div]:*:my-0 [&>div]:*:w-full"
79 | ---
80 | :::callout
81 | This is a `callout` with full **markdown** support.
82 | :::
83 |
84 | #code
85 | ```mdc
86 | ::callout
87 | This is a `callout` with full **markdown** support.
88 | ::
89 | ```
90 | ::
91 |
92 | ::code-preview
93 | :::div{.flex.flex-col.gap-4.w-full}
94 | ::::note{.w-full.my-0}
95 | Here's some additional information for you.
96 | ::::
97 |
98 | ::::tip{.w-full.my-0}
99 | Here's a helpful suggestion.
100 | ::::
101 |
102 | ::::warning{.w-full.my-0}
103 | Be careful with this action as it might have unexpected results.
104 | ::::
105 |
106 | ::::caution{.w-full.my-0}
107 | This action cannot be undone.
108 | ::::
109 | :::
110 |
111 | #code
112 | ```mdc
113 | ::note
114 | Here's some additional information.
115 | ::
116 |
117 | ::tip
118 | Here's a helpful suggestion.
119 | ::
120 |
121 | ::warning
122 | Be careful with this action as it might have unexpected results.
123 | ::
124 |
125 | ::caution
126 | This action cannot be undone.
127 | ::
128 | ```
129 | ::
130 |
131 | ### Card
132 |
133 | Use `card` to highlight content blocks. Cards are useful for showcasing features, resources, or related information in visually distinct and interactive containers.
134 |
135 | Customize with `title`, `icon`, and `color` props. Cards can also act as links using `` properties for navigation.
136 |
137 | ::code-preview
138 | ---
139 | class: "[&>div]:*:my-0 [&>div]:*:w-full"
140 | ---
141 | :::card
142 | ---
143 | icon: i-simple-icons-github
144 | target: _blank
145 | title: Dashboard
146 | to: https://github.com/nuxt-ui-templates/dashboard
147 | ---
148 | A dashboard with multi-column layout.
149 | :::
150 |
151 | #code
152 | ```mdc
153 | ::card
154 | ---
155 | title: Dashboard
156 | icon: i-simple-icons-github
157 | to: https://github.com/nuxt-ui-templates/dashboard
158 | target: _blank
159 | ---
160 | A dashboard with multi-column layout.
161 | ::
162 | ```
163 | ::
164 |
165 | ### CardGroup
166 |
167 | Use `card-group` to arrange cards in a grid layout. `card-group` is ideal for displaying collections of cards in a structured, visually appealing, and responsive grid.
168 |
169 | ::code-preview
170 | :::card-group{.w-full}
171 | ::::card
172 | ---
173 | icon: i-simple-icons-github
174 | target: _blank
175 | title: Dashboard
176 | to: https://github.com/nuxt-ui-templates/dashboard
177 | ---
178 | A dashboard with multi-column layout.
179 | ::::
180 |
181 | ::::card
182 | ---
183 | icon: i-simple-icons-github
184 | target: _blank
185 | title: SaaS
186 | to: https://github.com/nuxt-ui-templates/saas
187 | ---
188 | A template with landing, pricing, docs and blog.
189 | ::::
190 |
191 | ::::card
192 | ---
193 | icon: i-simple-icons-github
194 | target: _blank
195 | title: Docs
196 | to: https://github.com/nuxt-ui-templates/docs
197 | ---
198 | A documentation with `@nuxt/content`.
199 | ::::
200 |
201 | ::::card
202 | ---
203 | icon: i-simple-icons-github
204 | target: _blank
205 | title: Landing
206 | to: https://github.com/nuxt-ui-templates/landing
207 | ---
208 | A landing page you can use as starting point.
209 | ::::
210 | :::
211 |
212 | #code
213 | ```mdc
214 | ::card-group
215 |
216 | ::card
217 | ---
218 | title: Dashboard
219 | icon: i-simple-icons-github
220 | to: https://github.com/nuxt-ui-templates/dashboard
221 | target: _blank
222 | ---
223 | A dashboard with multi-column layout.
224 | ::
225 |
226 | ::card
227 | ---
228 | title: SaaS
229 | icon: i-simple-icons-github
230 | to: https://github.com/nuxt-ui-templates/saas
231 | target: _blank
232 | ---
233 | A template with landing, pricing, docs and blog.
234 | ::
235 |
236 | ::card
237 | ---
238 | title: Docs
239 | icon: i-simple-icons-github
240 | to: https://github.com/nuxt-ui-templates/docs
241 | target: _blank
242 | ---
243 | A documentation with `@nuxt/content`.
244 | ::
245 |
246 | ::card
247 | ---
248 | title: Landing
249 | icon: i-simple-icons-github
250 | to: https://github.com/nuxt-ui-templates/landing
251 | target: _blank
252 | ---
253 | A landing page you can use as starting point.
254 | ::
255 |
256 | ::
257 | ```
258 | ::
259 |
260 | ### Collapsible
261 |
262 | Use `collapsible` to hide and reveal content sections. `collapsible` is ideal for showing optional details, technical specifications, or less frequently needed information.
263 |
264 | ::code-preview
265 | ---
266 | class: "[&>div]:*:w-full"
267 | ---
268 | :::collapsible
269 | | Prop | Default | Type |
270 | | ------- | --------- | -------- |
271 | | `name` | | `string` |
272 | | `size` | `md` | `string` |
273 | | `color` | `neutral` | `string` |
274 | :::
275 |
276 | #code
277 | ```mdc
278 | ::collapsible
279 |
280 | | Prop | Default | Type |
281 | |---------|-----------|--------------------------|
282 | | `name` | | `string`{lang="ts-type"} |
283 | | `size` | `md` | `string`{lang="ts-type"} |
284 | | `color` | `neutral` | `string`{lang="ts-type"} |
285 |
286 | ::
287 | ```
288 | ::
289 |
290 | ### Field
291 |
292 | Use `field` to describe a specific field, property, or parameter. `field` components are perfect for documenting API parameters, component props, or configuration options.
293 |
294 | ::code-preview
295 | :::field{.w-full required name="name" type="string"}
296 | The `description` can be set as prop or in the default slot with full **markdown** support.
297 | :::
298 |
299 | #code
300 | ```mdc
301 | ::field{name="name" type="string" required}
302 | The `description` can be set as prop or in the default slot with full **markdown** support.
303 | ::
304 | ```
305 | ::
306 |
307 | ### FieldGroup
308 |
309 | Use `field-group` to group related fields together in a list. `field-group` helps organize and structure documentation for multiple related fields or properties.
310 |
311 | ::code-preview
312 | :::field-group
313 | ::::field{name="analytics" type="boolean"}
314 | Default to `false` - Enables analytics for your project (coming soon).
315 | ::::
316 |
317 | ::::field{name="blob" type="boolean"}
318 | Default to `false` - Enables blob storage to store static assets, such as images, videos and more.
319 | ::::
320 |
321 | ::::field{name="cache" type="boolean"}
322 | Default to `false` - Enables cache storage to cache your server route responses or functions using Nitro's `cachedEventHandler` and `cachedFunction`
323 | ::::
324 |
325 | ::::field{name="database" type="boolean"}
326 | Default to `false` - Enables SQL database to store your application's data.
327 | ::::
328 | :::
329 |
330 | #code
331 | ```mdc
332 | ::field-group
333 | ::field{name="analytics" type="boolean"}
334 | Default to `false` - Enables analytics for your project (coming soon).
335 | ::
336 |
337 | ::field{name="blob" type="boolean"}
338 | Default to `false` - Enables blob storage to store static assets, such as images, videos and more.
339 | ::
340 |
341 | ::field{name="cache" type="boolean"}
342 | Default to `false` - Enables cache storage to cache your server route responses or functions using Nitro's `cachedEventHandler` and `cachedFunction`
343 | ::
344 |
345 | ::field{name="database" type="boolean"}
346 | Default to `false` - Enables SQL database to store your application's data.
347 | ::
348 | ::
349 | ```
350 | ::
351 |
352 | ### Icon
353 |
354 | Use `icon` to insert icons from icon libraries. Icons provide visual cues and enhance the user interface of your documentation.
355 |
356 | ::code-preview
357 | :icon{name="i-simple-icons-nuxtdotjs"}
358 |
359 |
360 |
361 | #code
362 | ```mdc
363 | :icon{name="i-simple-icons-nuxtdotjs"}
364 | ```
365 | ::
366 |
367 | ### Kbd
368 |
369 | Use `kbd` to display keyboard keys or shortcuts. `kbd` components clearly indicate keyboard inputs for instructions or command references.
370 |
371 | ::code-preview
372 | ---
373 | class: "[&>div]:*:my-0"
374 | ---
375 | :kbd{value="meta"} :kbd{value="K"}
376 |
377 | #code
378 | ```mdc
379 | :kbd{value="meta"} :kbd{value="K"}
380 | ```
381 | ::
382 |
383 | ### Tabs
384 |
385 | Use `tabs` and `tabs-item` to organize content into tabbed interfaces. Tabs are effective for separating content into logical sections, improving content discoverability and organization.
386 |
387 | ::code-preview
388 | ---
389 | class: "[&>div]:*:my-0"
390 | ---
391 | :::tabs{.w-full}
392 | ::::tabs-item{icon="i-lucide-code" label="Code"}
393 | ```mdc
394 | ::callout
395 | Lorem velit voluptate ex reprehenderit ullamco et culpa.
396 | ::
397 | ```
398 | ::::
399 |
400 | ::::tabs-item{icon="i-lucide-eye" label="Preview"}
401 | :::::callout
402 | Lorem velit voluptate ex reprehenderit ullamco et culpa.
403 | :::::
404 | ::::
405 | :::
406 |
407 | #code
408 | ````mdc
409 | ::tabs
410 |
411 | :::tabs-item{label="Code" icon="i-lucide-code"}
412 |
413 | ```mdc
414 | ::callout
415 | Lorem velit voluptate ex reprehenderit ullamco et culpa.
416 | ::
417 | ```
418 |
419 | :::
420 |
421 | :::tabs-item{label="Preview" icon="i-lucide-eye"}
422 |
423 | ::::callout
424 | Lorem velit voluptate ex reprehenderit ullamco et culpa.
425 | ::::
426 |
427 | :::
428 |
429 | ::
430 | ````
431 | ::
432 |
433 | ### Steps
434 |
435 | Use `steps` to create step-by-step guides from document headings. `steps` component automatically numbers headings, creating a numbered guide for processes and tutorials.
436 |
437 | Set the `level` prop to define the heading level to include in the step-by-step guide.
438 |
439 | ::code-preview
440 | ---
441 | class: "[&>div]:*:w-full"
442 | ---
443 | :::steps{level="4"}
444 | #### Add the Nuxt UI module in your `nuxt.config.ts`
445 |
446 | ```ts [nuxt.config.ts]
447 | export default defineNuxtConfig({
448 | modules: ['@nuxt/ui']
449 | })
450 | ```
451 |
452 | #### Import Tailwind CSS and Nuxt UI in your CSS
453 |
454 | ```css [assets/css/main.css]
455 | @import "tailwindcss";
456 | @import "@nuxt/ui";
457 | ```
458 | :::
459 |
460 | #code
461 | ````mdc
462 | ::steps{level="4"}
463 |
464 | #### Add the Nuxt UI module in your `nuxt.config.ts`{lang="ts-type"}
465 |
466 | ```ts [nuxt.config.ts]
467 | export default defineNuxtConfig({
468 | modules: ['@nuxt/ui']
469 | })
470 | ```
471 |
472 | #### Import Tailwind CSS and Nuxt UI in your CSS
473 |
474 | ```css [assets/css/main.css]
475 | @import "tailwindcss";
476 | @import "@nuxt/ui";
477 | ```
478 |
479 | ::
480 | ````
481 | ::
482 |
--------------------------------------------------------------------------------