Skip to content

Commit

Permalink
fix ui again again again ...
Browse files Browse the repository at this point in the history
  • Loading branch information
heavenmei committed Sep 20, 2024
1 parent 84c92fb commit a2eeebd
Show file tree
Hide file tree
Showing 11 changed files with 40 additions and 15 deletions.
2 changes: 1 addition & 1 deletion projects/fastgpt/components/header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const Header = ({
<Image
alt={siteConfig.name}
src="/logo.svg"
className="w-8 h-8 bg-[#E9E9E9] p-1 rounded-md dark:bg-opacity-20"
className="w-[30px] h-[30px] bg-[#E9E9E9] p-1 rounded-md dark:bg-opacity-20"
width={32}
height={32}
/>
Expand Down
2 changes: 1 addition & 1 deletion projects/fastgpt/components/home/Ability.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const Ability = ({
</div>
<h2
className={cn(
"text-[16px] md:text-[28px]"
"text-[16px] md:text-[28px] mb-2"
)}
style={{
...(index === 0 && { color: "var(--ability-title-0)" }),
Expand Down
2 changes: 1 addition & 1 deletion projects/fastgpt/components/home/CTA.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const CTA = ({ locale, CTALocale, stars }: { locale: any; CTALocale: any; stars:
<Image
alt={siteConfig.name}
src="/logo.svg"
className="w-14 h-14 bg-[#E9E9E9] p-2 rounded-xl dark:bg-opacity-20"
className="w-10 h-10 rounded-sm sm:w-[52px] sm:h-[52px] sm:rounded-lg bg-[#E9E9E9] p-2 "
width={32}
height={32}
/>
Expand Down
2 changes: 1 addition & 1 deletion projects/fastgpt/components/home/FAQ.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const FAQ = ({
base: "px-6 hover:!bg-white/50 bg-white/75 dark:!bg-white/10 hover:dark:!bg-white/20",
title: "font-medium text-[#0D2657] dark:text-white/80 text-sm md:text-base",
trigger: "py-5",
content: "pt-0 pb-6 text-xs text-default-500 text-[#455F93] dark:text-white/60",
content: "pt-0 pb-6 text-sm text-default-500 text-[#455F93] dark:text-white/60",
}}
items={FAQS}
selectionMode="multiple"
Expand Down
4 changes: 2 additions & 2 deletions projects/fastgpt/components/home/Feature.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const Feature = ({
{FEATURES?.map((feature, index) => (
<div
key={feature.title}
className="flex flex-col items-center text-center px-8 py-6 border-white/20 rounded-xl border-box "
className="flex flex-col items-center text-center p-10 border-white/20 rounded-xl border-box "
style={{
background: "var(--theme-gradient)"
}}
Expand All @@ -41,7 +41,7 @@ const Feature = ({
{feature.icon &&
React.createElement(feature.icon, { className: "text-[32px]" })}
</div>
<h2 className={"text-xl font-semibold mb-2 "} style={{ color: "var(--feature-title)" }}>{feature.title}</h2>
<h2 className={"text-2xl font-semibold mb-2 "} style={{ color: "var(--feature-title)" }}>{feature.title}</h2>
<p className="text-[#355189] dark:text-white/50">
{feature.content}
</p>
Expand Down
2 changes: 1 addition & 1 deletion projects/fastgpt/components/home/Hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const Hero = ({ locale, CTALocale, stars }: { locale: any; CTALocale: any; stars
}}
>
<section className="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8 pb-8 text-center">
<div className='inline-block mx-auto border font-bold rounded-full px-6 py-4 text-xs lg:text-sm'
<div className='inline-block mx-auto border font-bold rounded-full px-6 py-3 text-xs lg:text-sm'
style={{
color: '#B5E8FD',
background: 'linear-gradient(90deg, rgba(212, 212, 249, 0.15) 0%, rgba(55, 55, 214, 0.00) 100%)',
Expand Down
4 changes: 2 additions & 2 deletions projects/fastgpt/config/site.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { SiteConfig } from '@/types/siteConfig';
import { BsGithub, BsWechat } from 'react-icons/bs';
import { BsGithub } from 'react-icons/bs';
import { FaDiscord } from "react-icons/fa";
import { IoLogoGithub } from "react-icons/io";
import { MdEmail } from 'react-icons/md';
Expand Down Expand Up @@ -65,7 +65,7 @@ const baseSiteConfig = {
{
name: 'weChat',
href: 'https://oss.laf.run/htr4n1-images/fastgpt-qr-code.jpg',
icon: BsWechat
icon: FaDiscord
}
],
footerProducts: [
Expand Down
Binary file modified projects/fastgpt/public/images/ability/en/dataset_import.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified projects/fastgpt/public/images/ability/zh/dataset_import.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 30 additions & 5 deletions projects/fastgpt/public/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion projects/fastgpt/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ h1 {
@apply text-5xl sm:text-7xl text-slate-900 dark:text-gray-200 leading-[1.25] tracking-[-0.05rem] font-bold mb-2
}
h2 {
@apply text-4xl sm:text-6xl text-slate-900 dark:text-gray-200 leading-[1.3] tracking-[-0.05rem] font-bold mb-2
@apply text-4xl sm:text-6xl text-slate-900 dark:text-gray-200 leading-[1.3] tracking-[-0.05rem] font-bold
}
h3 {
@apply text-3xl sm:text-5xl text-slate-900 dark:text-gray-200 leading-[1.375] tracking-[-0.05rem] font-bold mb-2
Expand Down

0 comments on commit a2eeebd

Please sign in to comment.