Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ const config = {
announcementBar: {
id: "announcementBar",
content:
'🔗 Check out our latest post: <a target="_blank" href="https://www.linkedin.com/posts/ajay-dhangar_docusaurus-webdevelopment-opensource-activity-7227962677250207745-6rBB?utm_source=share&utm_medium=member_desktop">Docusaurus 3.5 Released</a>! Like, comment, and share! 🚀',
'🐐 Check out our latest project <a target="_blank" href="https://eco-farm-hub.github.io/goat-farming/">Goat Farming</a>! Learn more about sustainable farming practices. 🌱',
isCloseable: true,
backgroundColor: "var(--ifm-color-primary)",
backgroundColor: "#4d5061",
},

metadata: [
Expand Down
14 changes: 14 additions & 0 deletions src/components/popup/popup.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import React from "react";
import styles from "./style.module.css";

const Popup = ({ status, message }) => {
return (
<div className={styles.popup_message}>
<p className={message === "Success" ? styles.success : styles.error}>
<span className={styles.span}>{status}</span>
{message}
</p>
</div>
);
};
export default Popup;
38 changes: 38 additions & 0 deletions src/components/popup/style.module.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
.popup_message {
position: fixed;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
top: 15%;
z-index: 1;
}
.popup_message .success,
.popup_message .error {
padding: 1rem 3rem;
font-family: monospace;
font-weight: 600;
border-radius: 0.6rem;
font-size: 0.8rem;
}
.popup_message .success {
background: rgba(6, 235, 6, 0.749);
color: #fff;
}
.popup_message .error {
background: rgba(235, 6, 6, 0.749);
color: #fff;
padding: 1rem 2.5rem;
}

.popup_message p{
font-family: monospace;
font-weight: 600;

}

.popup_message span {
position: relative;
top: 0.2rem;
margin-right: 0.3rem;
}
24 changes: 14 additions & 10 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
--ifm-bg-color: #f8f9fa;
--image-filter:invert(0);
--site-color-svg-icon-favorite: #ff1100cb;
--ifm-text-color: #000;
}

[data-theme="dark"] {
Expand All @@ -48,6 +49,7 @@
--ifm-bg-color: #1a202c;
--image-filter:invert(1);
--site-color-svg-icon-favorite: #ff9100e5;
--ifm-text-color: #fff;
}

.header-github-link::before {
Expand All @@ -69,7 +71,6 @@
}

div[class^="announcementBar_"] {
background: #06e06fb4;
color: #fff;
border-bottom: 1.8px dotted rgb(37, 184, 11);
font-weight: bold;
Expand All @@ -84,24 +85,25 @@ div[class^="announcementBar_"] {
div[class^="announcementBar_"] a {
font-size: 1.2em;
padding: 1px 4px;
background: linear-gradient(
/* background: linear-gradient(
90deg,
rgb(252 176 69 / 100%) 0%,
rgb(253 29 29 / 100%) 50%,
rgb(131 58 180 / 100%) 100%
rgb(229, 223, 232) 100%
);
background-clip: text;
-webkit-text-fill-color: transparent;
text-shadow: 0 0 1px #fff, 0 0 2px #fff, 0 0 2px #ff00de, 0 0 1px #ff00de;
-webkit-text-fill-color: transparent; */
text-decoration: none;
color: #48df84;
}

div[class^="announcementBar_"] a:hover {
font-size: 1.2em;
padding: 1px 4px;
background: linear-gradient(
90deg,
rgb(131 58 180 / 100%) 0%,
rgb(253 29 29 / 100%) 50%,
rgb(235, 244, 243) 0%,
#7ab3c8 50%,
rgb(252 176 69 / 100%) 100%
);
background-clip: text;
Expand All @@ -111,14 +113,16 @@ div[class^="announcementBar_"] a:hover {
[data-theme="dark"] div[class^="announcementBar_"] a {
font-size: 1.2em;
padding: 1px 4px;
background: linear-gradient(
/* background: linear-gradient(
90deg,
rgb(131 58 180 / 100%) 0%,
rgb(253 29 29 / 100%) 50%,
rgb(252 176 69 / 100%) 100%
);
background-clip: text;
-webkit-text-fill-color: transparent;
-webkit-text-fill-color: transparent; */
text-decoration: none;
color: #48df84;
}

[data-theme="dark"] div[class^="announcementBar_"] a:hover {
Expand All @@ -128,7 +132,7 @@ div[class^="announcementBar_"] a:hover {
90deg,
rgb(252 176 69 / 100%) 0%,
rgb(253 29 29 / 100%) 50%,
rgb(131 58 180 / 100%) 100%
rgb(220, 203, 232) 100%
);
background-clip: text;
-webkit-text-fill-color: transparent;
Expand Down
Binary file added src/data/showcase/3d-0scrolling-animation.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 added src/data/showcase/anime.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 added src/data/showcase/array-explorer.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 added src/data/showcase/budget.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 added src/data/showcase/chatbot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading