Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Updated CardDetailsPage #201

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 0 additions & 34 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions src/components/CardDetailsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ const CardDetailsPage: React.FC = () => {
<BackToTopButton />
<button
onClick={() => navigate(-1)}
className='mb-8 flex items-center px-4 py-2 bg-white bg-opacity-30 backdrop-filter backdrop-blur-md border border-white border-opacity-20 rounded-lg shadow-lg hover:bg-opacity-40 transition-all duration-300 text-gray-800'
className='mb-8 flex items-center px-4 py-2 bg-white bg-opacity-30 backdrop-filter backdrop-blur-md border border-white border-opacity-20 rounded-lg shadow-lg hover:bg-opacity-40 transition-all duration-300 text-white'
>
<ArrowLeft size={20} className='mr-2' />
Back to Components
Expand Down Expand Up @@ -214,7 +214,7 @@ function Example() {

{/* Props */}
<section className='mb-12'>
<h2 className='text-2xl font-bold mb-4 text-gray-800'>Props</h2>
<h2 className='text-2xl font-bold mb-4 text-white'>Props</h2>
<div className='bg-white bg-opacity-30 backdrop-filter backdrop-blur-md border border-white border-opacity-20 rounded-lg p-6 max-sm:px-1'>
<div className='overflow-x-auto'>
<table className='w-full'>
Expand Down Expand Up @@ -253,8 +253,8 @@ function Example() {

{/* Custom Card Section */}
<section className='mb-12'>
<h2 className='text-2xl font-bold mb-4 text-gray-800'>Custom Card</h2>
<p className='mb-4 text-gray-700'>
<h2 className='text-2xl font-bold mb-4 text-white'>Custom Card</h2>
<p className='mb-4 text-white'>
Customize your card's appearance by selecting a preset theme or
creating your own color scheme.
</p>
Expand Down Expand Up @@ -287,7 +287,7 @@ function Example() {
{/* Credit Card Example */}
{/* Credit Card Example */}
<section className='mb-12'>
<h2 className='text-2xl font-bold mb-4 text-gray-800'>
<h2 className='text-2xl font-bold mb-4 text-white'>
Credit Card Example
</h2>
<div className='bg-white bg-opacity-30 backdrop-filter backdrop-blur-md border border-white border-opacity-20 rounded-lg p-6 max-sm:px-1'>
Expand All @@ -296,7 +296,7 @@ function Example() {
<CreditCardExample />
</div>
<div className='lg:w-2/3'>
<h3 className='text-xl font-semibold mb-4 text-gray-800'>Code</h3>
<h3 className='text-xl font-semibold mb-4 text-white'>Code</h3>
<div className='relative'>
<pre className='bg-gray-800 text-white p-4 rounded-lg overflow-x-auto text-sm max-h-[400px] whitespace-pre-wrap break-words max-sm:text-[0.55rem]'>
<code>
Expand Down