@allbluecn/web-app 0.17.0 → 0.17.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. package/package.json +1 -1
  2. package/src/components/landing/landing-page.tsx +20 -0
  3. package/src/lib/changelog/sdk-versions.ts +1 -1
  4. package/src/paraglide/README.md +1 -1
  5. package/src/paraglide/messages/_index.js +0 -48
  6. package/src/paraglide/messages/en.js +0 -15
  7. package/src/paraglide/messages/zh.js +0 -15
  8. package/src/routes/_nav/prd/index.tsx +1 -1
  9. package/src/routes/_nav/tags/index.tsx +1 -1
  10. package/src/routes/_public/index/route.tsx +2 -6
  11. package/src/server/middlewares/paraglide-locale.ts +39 -0
  12. package/src/start.ts +4 -1
  13. package/src/styles/globals.css +2 -3
  14. package/src/__tests__/bench/baselines/format-timestamp.json +0 -44
  15. package/src/assets/logo/logo.tsx +0 -70
  16. package/src/components/shadcn-space/animations/marquee.tsx +0 -139
  17. package/src/components/shadcn-space/blocks/about-us-01/about-us.tsx +0 -136
  18. package/src/components/shadcn-space/blocks/about-us-01/index.tsx +0 -62
  19. package/src/components/shadcn-space/blocks/cta-01/cta.tsx +0 -74
  20. package/src/components/shadcn-space/blocks/faq-01/faq.tsx +0 -100
  21. package/src/components/shadcn-space/blocks/footer-01/footer.tsx +0 -232
  22. package/src/components/shadcn-space/blocks/hero-01/brand-slider.tsx +0 -79
  23. package/src/components/shadcn-space/blocks/hero-01/header.tsx +0 -272
  24. package/src/components/shadcn-space/blocks/hero-01/hero.tsx +0 -111
  25. package/src/components/shadcn-space/blocks/hero-01/index.tsx +0 -127
  26. package/src/components/shadcn-space/blocks/portfolio-01/portfolio.tsx +0 -149
  27. package/src/components/shadcn-space/blocks/pricing-01/pricing.tsx +0 -187
  28. package/src/components/shadcn-space/blocks/pricing-02/pricing.tsx +0 -213
  29. package/src/components/shadcn-space/blocks/services-01/services.tsx +0 -178
  30. package/src/components/shadcn-space/blocks/team-01/team.tsx +0 -166
@@ -1,166 +0,0 @@
1
- // SPDX-License-Identifier: AGPL-3.0-or-later
2
- // AllBlue - 理想之海
3
- // Copyright (C) 2026 AllBlue Contributors
4
- //
5
- // This program is free software: you can redistribute it and/or modify
6
- // it under the terms of the GNU Affero General Public License as published by
7
- // the Free Software Foundation, either version 3 of the License, or
8
- // (at your option) any later version.
9
- //
10
- // This program is distributed in the hope that it will be useful,
11
- // but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- // GNU Affero General Public License for more details.
14
- //
15
- // You should have received a copy of the GNU Affero General Public License
16
- // along with this program. If not, see <https://www.gnu.org/licenses/>.
17
-
18
- ;
19
- import { Badge } from "@/components/ui/badge";
20
- import { Globe } from "lucide-react";
21
- import { m } from "motion/react";
22
-
23
- const LinkedinIcon = ({ size = 16 }: { size?: number }) => (
24
- <svg width={size} height={size} viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
25
- <g clipPath="url(#clip-linkedin-team01)">
26
- <path d="M13.633 13.633h-2.37V9.92c0-.885-.017-2.025-1.234-2.025-1.235 0-1.424.965-1.424 1.96v3.778h-2.37V5.998H8.51v1.043h.031a2.5 2.5 0 0 1 2.246-1.233c2.403 0 2.846 1.58 2.846 3.637zM3.56 4.954a1.376 1.376 0 1 1 0-2.751 1.376 1.376 0 0 1 0 2.751m1.185 8.679H2.372V5.998h2.373zM14.815.001H1.18A1.17 1.17 0 0 0 0 1.154v13.691A1.17 1.17 0 0 0 1.18 16h13.635A1.17 1.17 0 0 0 16 14.845V1.153A1.17 1.17 0 0 0 14.815 0" fill="currentColor" />
27
- </g>
28
- <defs>
29
- <clipPath id="clip-linkedin-team01">
30
- <rect width="16" height="16" fill="white" />
31
- </clipPath>
32
- </defs>
33
- </svg>
34
- );
35
-
36
- type team = {
37
- name: string;
38
- role: string;
39
- image: string;
40
- socials: {
41
- website: string;
42
- linkedin: string;
43
- };
44
- }[];
45
-
46
- const teamData: team = [
47
- {
48
- name: "Logan Dang",
49
- role: "WordPress Developer",
50
- image: "https://images.shadcnspace.com/assets/team/team-img-01.png",
51
- socials: {
52
- website: "#",
53
- linkedin: "#",
54
- },
55
- },
56
- {
57
- name: "Ana Belić",
58
- role: "Social Media Specialist",
59
- image: "https://images.shadcnspace.com/assets/team/team-img-02.png",
60
- socials: {
61
- website: "#",
62
- linkedin: "#",
63
- },
64
- },
65
- {
66
- name: "Brian Hanley",
67
- role: "Product Designer",
68
- image: "https://images.shadcnspace.com/assets/team/team-img-03.png",
69
- socials: {
70
- website: "#",
71
- linkedin: "#",
72
- },
73
- },
74
- {
75
- name: "Darko Stanković",
76
- role: "UI Designer",
77
- image: "https://images.shadcnspace.com/assets/team/team-img-04.png",
78
- socials: {
79
- website: "#",
80
- linkedin: "#",
81
- },
82
- },
83
- ];
84
-
85
- const Team = () => {
86
- return (
87
- <section>
88
- <div className="lg:py-20 sm:py-16 py-8">
89
- <div className="mx-auto max-w-7xl px-4 sm:px-6 lg:px-16 flex flex-col items-center justify-center gap-8 md:gap-16">
90
- <m.div
91
- initial={{ y: -40, opacity: 0 }}
92
- whileInView={{ y: 0, opacity: 1 }}
93
- viewport={{ once: true }}
94
- transition={{
95
- duration: 0.8,
96
- ease: [0.21, 0.47, 0.32, 0.98],
97
- }} className="max-w-xl mx-auto flex flex-col items-center justify-center text-center gap-4">
98
- <Badge variant={"outline"} className="px-3 py-1 h-auto text-sm">
99
- Team
100
- </Badge>
101
- <h2 className="text-3xl md:text-5xl font-medium text-foreground">
102
- Meet the creative minds behind{" "}
103
- <span className="font-serif italic font-normal">our success</span>
104
- </h2>
105
- </m.div>
106
- <div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6">
107
- {teamData?.map((value, index) => {
108
- return (
109
- <m.div
110
- key={index}
111
- initial={{ y: 40, opacity: 0 }}
112
- whileInView={{ y: 0, opacity: 1 }}
113
- viewport={{ once: true }}
114
- transition={{
115
- duration: 0.8,
116
- delay: index * 0.1,
117
- ease: [0.21, 0.47, 0.32, 0.98],
118
- }}
119
- className="group flex flex-col items-center justify-center gap-6"
120
- >
121
- <img
122
- className="w-full h-full group-hover:grayscale transition-all duration-300"
123
- src={value.image}
124
- alt="team-img"
125
- width={400}
126
- height={400}
127
- />
128
- <div className="w-full flex flex-col gap-4 items-center justify-center">
129
- <div className="flex flex-col items-center justify-center gap-2">
130
- <h3 className="text-2xl font-medium text-foreground">
131
- {value.name}
132
- </h3>
133
- <p className="text-sm font-normal text-muted-foreground">
134
- {value.role}
135
- </p>
136
- </div>
137
- <div className="flex gap-2">
138
- <a
139
- href={value.socials.website}
140
- className="p-2 hover:bg-accent/80 rounded-full"
141
- target="_blank"
142
- rel="noopener noreferrer"
143
- >
144
- <Globe size={16} />
145
- </a>
146
- <a
147
- href={value.socials.linkedin}
148
- className="p-2 hover:bg-accent/80 rounded-full"
149
- target="_blank"
150
- rel="noopener noreferrer"
151
- >
152
- <LinkedinIcon size={16} />
153
- </a>
154
- </div>
155
- </div>
156
- </m.div>
157
- );
158
- })}
159
- </div>
160
- </div>
161
- </div>
162
- </section>
163
- );
164
- };
165
-
166
- export default Team;