Skip to content

Commit

Permalink
🔧 fix: 支持移动端显示
Browse files Browse the repository at this point in the history
  • Loading branch information
B1ue1nWh1te committed Nov 6, 2024
1 parent 8cd0417 commit 3b6e405
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions app/components/Profile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export default function Profile() {

return (
<Card
className="flex min-w-[26rem] flex-[2] select-none items-center justify-center bg-white/60 p-6 backdrop-blur-lg transition-all duration-300 hover:shadow-lg hover:shadow-[#a78bfa]/25 hover:ring-2 hover:ring-[#a78bfa]/50"
className="flex min-w-[24rem] flex-[2] select-none items-center justify-center bg-white/60 p-6 backdrop-blur-lg transition-all duration-300 hover:shadow-lg hover:shadow-[#a78bfa]/25 hover:ring-2 hover:ring-[#a78bfa]/50"
isBlurred={true}
isPressable={true}
onPress={showConfetti}
Expand All @@ -83,11 +83,11 @@ export default function Profile() {
<h1 className="text-2xl font-bold text-gray-600">
{profileInfo.nickname}
</h1>
<div className="flex items-center justify-center space-x-3">
<div className="flex flex-col items-center justify-center space-y-3 md:flex-row md:space-x-3 md:space-y-0">
{profileInfo.labels.map((label, index) => (
<AnimatedGradientText key={label}>
<p
className="inline bg-gradient-to-r bg-[length:var(--bg-size)_100%] bg-clip-text text-transparent"
className="inline whitespace-nowrap bg-gradient-to-r bg-[length:var(--bg-size)_100%] bg-clip-text text-transparent"
style={{
backgroundImage: `linear-gradient(to right, ${LABELS_GRADIENT_COLORS[index].from}, ${LABELS_GRADIENT_COLORS[index].via}, ${LABELS_GRADIENT_COLORS[index].to})`,
}}
Expand Down
2 changes: 1 addition & 1 deletion app/components/ProjectsBeam.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export default function ProjectsBeam() {

return (
<Card
className="flex min-w-[26rem] flex-[3] select-none items-center justify-center px-14 py-12 backdrop-blur-lg transition-all duration-300 hover:shadow-lg hover:shadow-[#4facfe]/25 hover:ring-2 hover:ring-[#4facfe]/50"
className="flex min-w-[24rem] flex-[3] select-none items-center justify-center px-14 py-12 backdrop-blur-lg transition-all duration-300 hover:shadow-lg hover:shadow-[#4facfe]/25 hover:ring-2 hover:ring-[#4facfe]/50"
ref={containerRef}
isBlurred={true}
isPressable={true}
Expand Down

0 comments on commit 3b6e405

Please sign in to comment.