update DemoReactThemeSwitcher,

This commit is contained in:
louiscklaw
2025-06-08 09:14:26 +08:00
parent c3f680aa22
commit a4692a7d1f
16 changed files with 599 additions and 430 deletions

View File

@@ -0,0 +1,24 @@
.container {
text-align: center;
position: absolute;
left: 0;
right: 0;
top: 50%;
transform: translateY(-50%);
}
.container strong {
font-size: 20px;
line-height: 26px;
}
.container p {
font-size: 16px;
line-height: 22px;
color: #8c8c8c;
margin: 0;
}
.container a {
text-decoration: none;
}

View File

@@ -0,0 +1,22 @@
import React from 'react';
import './ExploreContainer.scss';
const ExploreContainer = ({ name }: { name: string }): React.JSX.Element => {
return (
<div className="container">
<strong>{name}</strong>
<p>
Explore{' '}
<a
target="_blank"
rel="noopener noreferrer"
href="https://ionicframework.com/docs/components"
>
UI Components
</a>
</p>
</div>
);
};
export default ExploreContainer;