Skip to content

Commit

Permalink
Merge pull request #29 from ZunwDev/development
Browse files Browse the repository at this point in the history
enhancement(global) few code improvements and fixes
  • Loading branch information
zZHorizonZz authored Jun 23, 2023
2 parents 3a1aa0a + 30dff69 commit 2356b0e
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion dashboard/src/components/Text/Subtitle.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';

const Subtitle: React.FC<React.HTMLAttributes<HTMLParagraphElement>> = ({
const Subtitle: React.FC<React.HTMLAttributes<HTMLHeadingElement>> = ({
className = '',
children,
...other
Expand Down
2 changes: 1 addition & 1 deletion dashboard/src/components/Text/Title.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';

const Title: React.FC<React.HTMLAttributes<HTMLParagraphElement>> = ({
const Title: React.FC<React.HTMLAttributes<HTMLHeadingElement>> = ({
className = '',
children,
...other
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { useEffect, useState } from 'react';
import { useSession } from 'next-auth/react';
import { Text, TextInput } from '@tremor/react';
import Button from '~/components/Base/Button';
import Button from '~/components/Button/Button';

const ProfileSectionContent = () => {
const session = useSession();
Expand Down
2 changes: 1 addition & 1 deletion dashboard/src/pages/app/[slug].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const Project: NextPage = () => {
}

return (
<div className="midwrap max-w-full w-[1200px] mx-auto px-4">
<div className="midwrap max-w-7xl mx-auto px-4">
<Text>{data.name}</Text>
</div>
);
Expand Down
7 changes: 4 additions & 3 deletions dashboard/src/pages/app/create/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,22 @@ import { GitProvider } from '~/types/app-types';
import { AppCreateProviderCard } from '~/components/app/create/app-create-provider-card';
import TextInput from '~/components/TextInput/TextInput';

const providerClass = 'w-5 h-5 text-ctp-text';
export const providers: GitProvider[] = [
{
key: 'github',
name: 'GitHub',
icon: <Github className="w-5 h-5 text-ctp-text" />
icon: <Github className={providerClass} />
},
{
key: 'gitlab',
name: 'GitLab',
icon: <Gitlab className="w-5 h-5 text-ctp-text" />
icon: <Gitlab className={providerClass} />
},
{
key: 'bitbucket',
name: 'Bitbucket',
icon: <Github className="w-5 h-5 text-ctp-text" />
icon: <Github className={providerClass} />
}
];

Expand Down
2 changes: 1 addition & 1 deletion dashboard/src/pages/profile/[slug]/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ const Profile: NextPage = () => {
});

return (
<div className="midwrap max-w-full w-[1200px] mx-auto px-4">
<div className="midwrap max-w-7xl mx-auto px-4">
<div className="tbwrap py-8 flex flex-row">
<div className="w-[256px] flex flex-col px-4 gap-2">
<div className="sticky top-24">
Expand Down

0 comments on commit 2356b0e

Please sign in to comment.