mirror of
https://github.com/WDI-Ideas/rubix-admin-panel.git
synced 2026-04-27 23:05:50 +00:00
Updated
This commit is contained in:
@@ -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":
|
||||
|
||||
@@ -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"}
|
||||
|
||||
@@ -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
BIN
src/assets/pdfscreen.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 9.4 KiB |
Reference in New Issue
Block a user