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
28 changes: 20 additions & 8 deletions DashAI/front/src/pages/home/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import {
SchoolOutlined as TutorialsIcon,
GitHub as GitHubIcon,
LanguageOutlined as WebsiteIcon,
ForumOutlined as ForumIcon,
ChatBubbleOutlineOutlined as DiscordIcon,
AlternateEmailOutlined as TwitterIcon,
CampaignOutlined as MailingListIcon,
MailOutlineOutlined as MailIcon,
OpenInNew as OpenInNewIcon,
} from "@mui/icons-material";
import Box from "@mui/material/Box";
Expand Down Expand Up @@ -41,9 +41,21 @@ const SIDEBAR_LINKS = {
{ key: "website", href: "https://www.dash-ai.com", Icon: WebsiteIcon },
],
community: [
{ key: "forum", href: "#", Icon: ForumIcon },
{ key: "discord", href: "#", Icon: DiscordIcon },
{ key: "twitter", href: "#", Icon: TwitterIcon },
{
key: "discord",
href: "https://discord.gg/n9y2hEjFng",
Icon: DiscordIcon,
},
{
key: "mailingList",
href: "https://groups.google.com/g/dashai-updates",
Icon: MailingListIcon,
},
{
key: "directMail",
href: "mailto:dashai.nocode@gmail.com",
Icon: MailIcon,
},
],
};

Expand Down Expand Up @@ -72,7 +84,7 @@ function SidebarSection({ label, links, t, theme }) {
key={key}
component="a"
href={href}
target={href !== "#" ? "_blank" : undefined}
target={href.startsWith("http") ? "_blank" : undefined}
rel="noopener noreferrer"
sx={{
display: "flex",
Expand Down Expand Up @@ -227,7 +239,7 @@ function Home() {
t={t}
theme={theme}
/>
{/* Version string pinned to bottom */}
{/* Copyright pinned to bottom */}
<Box
sx={{
mt: "auto",
Expand All @@ -243,7 +255,7 @@ function Home() {
lineHeight: 1.9,
}}
>
v0.9.3-alpha - MIT License
{`© ${new Date().getFullYear()} dashAI - MIT License`}
</Typography>
</Box>
</Box>
Expand Down
4 changes: 2 additions & 2 deletions DashAI/front/src/utils/i18n/locales/de/home.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
"tutorials": "Tutorials",
"github": "GitHub",
"website": "Webseite",
"forum": "dashAI Forum",
"discord": "Discord",
"twitter": "Twitter / X"
"mailingList": "Mailingliste",
"directMail": "E-Mail senden"
},
"tag": {
"beginner": "Erste Schritte",
Expand Down
4 changes: 2 additions & 2 deletions DashAI/front/src/utils/i18n/locales/en/home.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
"tutorials": "Tutorials",
"github": "GitHub",
"website": "Website",
"forum": "dashAI Forum",
"discord": "Discord",
"twitter": "Twitter / X"
"mailingList": "Mailing List",
"directMail": "Email Us"
},
"tag": {
"beginner": "Get Started",
Expand Down
4 changes: 2 additions & 2 deletions DashAI/front/src/utils/i18n/locales/es/home.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
"tutorials": "Tutoriales",
"github": "GitHub",
"website": "Sitio web",
"forum": "Foro dashAI",
"discord": "Discord",
"twitter": "Twitter / X"
"mailingList": "Lista de correo",
"directMail": "Escríbenos"
},
"tag": {
"beginner": "Comenzar",
Expand Down
4 changes: 2 additions & 2 deletions DashAI/front/src/utils/i18n/locales/pt/home.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
"tutorials": "Tutoriais",
"github": "GitHub",
"website": "Site",
"forum": "Fórum dashAI",
"discord": "Discord",
"twitter": "Twitter / X"
"mailingList": "Lista de e-mails",
"directMail": "Envie um e-mail"
},
"tag": {
"beginner": "Iniciante",
Expand Down
Loading