This commit is contained in:
2024-05-17 19:47:43 +05:30
parent 9f0a41f5b5
commit 2b110a1daf
4 changed files with 5 additions and 3 deletions

View File

@@ -63,7 +63,7 @@ const DashboardLayout = () => {
const getTitle = () => {
switch (path) {
case "/":
return "👋🏻 Hi, developer admin";
return "👋🏻 Hi, Admin";
case "/blogs-articles":
return "Blogs and Articles";
case "/videos":

View File

@@ -20,7 +20,7 @@ const Banner = () => {
return (
<Box {...OPACITY_ON_LOAD} overflowY={"scroll"} height={"100vh"}>
<Header title={"👋🏻 Hi, developer admin"} />
<Header title={"👋🏻 Hi, Admin"} />
<BannerStack
stackTitle={"Community banner"}
viewAllLink={"/banner/banner-community"}

View File

@@ -7,6 +7,7 @@ import { useGetWhitepaperByIdQuery } from "../../Services/api.service";
import { AttachmentIcon } from "@chakra-ui/icons";
import extractFilename from "../../Components/Functions/FileNameAlter";
import FullscreenLoaders from "../../Components/Loaders/FullscreenLoaders";
import pdf from "../../assets/pdfscreen.png"
const ViewWhitePaper = () => {
const { id } = useParams();
@@ -89,7 +90,8 @@ const ViewWhitePaper = () => {
<Box className="mb-3">
<Box className="web-text-large fw-bold rubix-text-dark">Document</Box>
<Text color="teal" className="web-text-medium d-flex align-items-center gap-2">{extractFilename(whitepaper?.document)}
<Image mt={2} w={"80px"} src={pdf} />
<Text color="teal" className="web-text-medium d-flex align-items-center mt-2 gap-2">{extractFilename(whitepaper?.document)}
<Box className="link pointer" as="span" rounded={"md"} p={1}><AttachmentIcon/></Box></Text>
</Box>

BIN
src/assets/pdfscreen.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB