Skip to content

Commit

Permalink
fix: some issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ZigBalthazar committed Jul 19, 2024
1 parent 6e56061 commit 1e3a195
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 16 deletions.
2 changes: 1 addition & 1 deletion docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ const config: Config = {
],
},
],
copyright: `<div>Powered by <a href="https://tonion.tech/">Tonion</a></div>`,
copyright: `<div>Powered by <a href="https://dezh.tech/">Dezh Technologies</a></div>❤️`,
},
prism: {
theme: prismThemes.vsLight,
Expand Down
13 changes: 6 additions & 7 deletions src/components/Home/HomepageFeatures2/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ const FeatureList: FeatureItem[] = [
function Feature({ title, Svg, description }: FeatureItem) {
return (
<div className={clsx("col col--6")}>
<div className="text--left padding-horiz--md">
<div className="bg-secondary-100 rounded-full w-[50px] h-[50px] p-4 mb-5">
<FontAwesomeIcon icon={Svg} className="text-secondary-600 size-5 " />
<div className="text-center padding-horiz--md ">
<div className="bg-secondary-100 rounded-full w-[50px] h-[50px] p-4 mb-5 ">
<FontAwesomeIcon icon={Svg} className="text-secondary-600 size-5 flex" />
</div>

<Heading as="h3">{title}</Heading>
Expand All @@ -88,16 +88,15 @@ export default function HomepageFeatures2(): JSX.Element {
return (
<section className={clsx(styles.features, "m-auto")}>
<div className="container m-auto justify-center">
<div className="md:max-w-[320px] w-full mx-auto justify-center">
<h2 className="text-center "> Features you'll love</h2>
<p className="text-gray-500">
<div className="md:max-w-[400px] w-full mx-auto justify-center">
<h2 className="text-center "> How Tonion Team Can Help You?</h2>
<p className="text-gray-500 text-center">
A responsive documentation template built for everyone who wants to
create a plugin.
</p>
</div>
<div className="row">


{FeatureList.map((props, idx) => (
<Feature key={idx} {...props} />
))}
Expand Down
2 changes: 1 addition & 1 deletion src/components/Home/HomepageSyntax/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default function HomepageSyntax( props : SyntaxItem): JSX.Element {
<div className="container w-full ">
<div className="flex lg:flex-row flex-col">
<div className='items-start lg:w-1/2 w-full'>
<Tag title='DO NOT REPEAT YOUR SELF!' className={'[&>div>span]:text-[13px] [&>div]:px-[13px] mb-4'}/>
<Tag title='DO NOT REPEAT YOUR SELF!' className={'[&>div>span]:text-[15px] [&>div]:px-[13px] mb-5'}/>
<h2 className='text-gray-900'>{props.title}</h2>
<p className='text-gray-500'>{props.description}</p>
<Link className={'text-secondary-500 underline flex my-auto items-center hover:!text-gray-900 w-fit'} href='/docs'>Read Docs
Expand Down
13 changes: 8 additions & 5 deletions src/components/Home/OurSponsors/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,17 @@ export default function OurSponsors(): JSX.Element {
<div className="max-w-3xl mx-auto px-5 my-10">
<div className="flex flex-col justify-center">
<div className="text-center">
<h2 className="font-semibold text-3xl">Our Sponsors</h2>
<p className="max-w-md mx-auto mt-2 text-gray-500">
We are thankful to each and every company sponsored our plugin which
helped us to continue working on it.
<h2 className="font-semibold text-3xl">Used By</h2>
<p className="mx-auto mt-2 text-gray-500">
if you are using Tonion in your project, just open a <a href="https://github.com/ton-ion/tonion.tech/edit/main/src/components/Home/OurSponsors/index.tsx" target="_blank">Pull Request</a> to add your project here!
</p>
</div>
<div className="flex flex-wrap items-center justify-center gap-10 mt-2 md:justify-around">
<div className="text-gray-400 ">Logo</div>
<div className='bg-secondary-100 rounded-full w-[100px] h-[100px] mb-5'>
<a href="https://dezh.tech" target="_blank" >
<img src="https://pbs.twimg.com/profile_images/1774474942941114369/GsUxI4ZD_400x400.png" alt="Dezh Technologies" />
</a>
</div>
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Tag/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default function Tag(tag: TagItem) {
delayHide={500}
delayShow={100}
place="top"
className="!rounded-2xl !text-sm !py-1 !px-2"
className="!rounded-xl !text-sm !py-1 !px-2"
events={["click"]}
>
Copied!
Expand Down
2 changes: 1 addition & 1 deletion src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export default function Home(): JSX.Element {
<div className="my-[32px]">
<HomepageSyntax {...syntaxData} />
</div>
<HomepageFeatures2/>
{/* <HomepageFeatures2/> */}
<OurSponsors/>
</main>
</Layout>
Expand Down

0 comments on commit 1e3a195

Please sign in to comment.