Skip to content

Commit

Permalink
Changed the images for avatar section , removed code-block.js and reu…
Browse files Browse the repository at this point in the history
…sed the component

Signed-off-by: NishantSinghhhhh <[email protected]>
  • Loading branch information
NishantSinghhhhh committed Oct 24, 2024
1 parent 4c378f5 commit adc7e43
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 32 deletions.
1 change: 0 additions & 1 deletion src/assets/images/avatar-images/Icon.svg

This file was deleted.

Binary file removed src/assets/images/avatar-images/avatar.jpeg
Binary file not shown.
Binary file added src/assets/images/avatar-images/avatar.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 removed src/assets/images/avatar-images/avatar1.jpeg
Binary file not shown.
Binary file added src/assets/images/avatar-images/avatar1.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 src/assets/images/avatar-images/avatar2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 0 additions & 19 deletions src/sections/Projects/Sistent/components/avatar/code-block.js

This file was deleted.

15 changes: 7 additions & 8 deletions src/sections/Projects/Sistent/components/avatar/code.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import React from "react";
import { navigate } from "gatsby";
import { useLocation } from "@reach/router";

import { SistentThemeProvider, Avatar, AvatarGroup, styled, Badge } from "@layer5/sistent";
import { CodeBlock } from "./code-block";
import { CodeBlock } from "../button/code-block";
import { SistentLayout } from "../../sistent-layout";
import Image from "../../../../../assets/images/avatar-images/avatar.jpeg";
import Image1 from "../../../../../assets/images/avatar-images/avatar1.jpeg";
import Image from "../../../../../assets/images/avatar-images/avatar.png";
import Image1 from "../../../../../assets/images/avatar-images/avatar1.png";
import Image2 from "../../../../../assets/images/avatar-images/avatar2.png";
import TabButton from "../../../../../reusecore/Button";
import { useStyledDarkMode } from "../../../../../theme/app/useStyledDarkMode";
Expand Down Expand Up @@ -276,8 +275,8 @@ export const AvatarCode = () => {
<SistentThemeProvider initialMode={isDark ? "dark" : "light"}>
<AvatarGroup>
<Avatar alt="User 1" src={Image} />
<Avatar alt="User 2" src={Image1} />
<Avatar alt="User 3" src={Image2} />
<Avatar alt="User 2" src={Image} />
<Avatar alt="User 3" src={Image} />
</AvatarGroup>
</SistentThemeProvider>
</div>
Expand All @@ -292,8 +291,8 @@ export const AvatarCode = () => {
<SistentThemeProvider initialMode={isDark ? "dark" : "light"}>
<AvatarGroup total={24}>
<Avatar alt="Remy Sharp" src={Image} />
<Avatar alt="Travis Howard" src={Image1} />
<Avatar alt="Agnes Walker" src={Image2} />
<Avatar alt="Travis Howard" src={Image} />
<Avatar alt="Agnes Walker" src={Image} />
</AvatarGroup>
</SistentThemeProvider>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/sections/Projects/Sistent/components/avatar/guidance.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import { useLocation } from "@reach/router";
import { Row } from "../../../../../reusecore/Layout";
import { SistentThemeProvider, Avatar, } from "@layer5/sistent";
import { SistentLayout } from "../../sistent-layout";
import Image from "../../../../../assets/images/avatar-images/avatar.jpeg";
import Image1 from "../../../../../assets/images/avatar-images/avatar1.jpeg";
import Image from "../../../../../assets/images/avatar-images/avatar.png";
import Image1 from "../../../../../assets/images/avatar-images/avatar1.png";
import Image2 from "../../../../../assets/images/avatar-images/avatar2.png";
import TabButton from "../../../../../reusecore/Button";
import { useStyledDarkMode } from "../../../../../theme/app/useStyledDarkMode";
Expand Down
4 changes: 2 additions & 2 deletions src/sections/Projects/Sistent/components/avatar/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import TabButton from "../../../../../reusecore/Button";
import { SistentLayout } from "../../sistent-layout";
import { Col, Row } from "../../../../../reusecore/Layout";
import { useStyledDarkMode } from "../../../../../theme/app/useStyledDarkMode";
import Image from "../../../../../assets/images/avatar-images/avatar.jpeg";
import Image1 from "../../../../../assets/images/avatar-images/avatar1.jpeg";
import Image from "../../../../../assets/images/avatar-images/avatar.png";
import Image1 from "../../../../../assets/images/avatar-images/avatar1.png";
import Image2 from "../../../../../assets/images/avatar-images/avatar2.png";

const SmallAvatar = styled(Avatar)(({ theme }) => ({
Expand Down

0 comments on commit adc7e43

Please sign in to comment.