diff --git a/legacy/.vscode/settings.json b/legacy/.vscode/settings.json deleted file mode 100644 index 3662b370..00000000 --- a/legacy/.vscode/settings.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "typescript.tsdk": "node_modules/typescript/lib" -} \ No newline at end of file diff --git a/legacy/src/components/navbar/navbar.css.ts b/legacy/src/components/navbar/navbar.css.ts index b62d50c0..f9d12be4 100644 --- a/legacy/src/components/navbar/navbar.css.ts +++ b/legacy/src/components/navbar/navbar.css.ts @@ -1,8 +1,9 @@ -import vars, { laptopQuery, desktopQuery, darkThemeQuery, lightThemeQuery, colorValues } from '../../styles/frontside-theme.css'; +import vars, { laptopQuery, desktopQuery, darkThemeQuery, colorValues } from '../../styles/frontside-theme.css'; import { style, globalStyle, styleVariants } from '@vanilla-extract/css'; import { pageWrap } from '../../styles/page.css'; import gradientDecor from '../../img/q3-2021/button-gradient.png'; import { boldCaps, fillBlueDashWhite, headingMd, headingSm, textBlue, textBlueDashWhite, textSm, textXs } from '../../styles/typography.css'; +import { calc } from "@vanilla-extract/css-utils"; export const navWrap = style([pageWrap, { display: 'flex', @@ -199,25 +200,3 @@ export const projectLink = style({ display: 'flex', flexFlow: 'row nowrap', }); - -export const announcementsContainer = style({ - display: "flex", - justifyContent: "center", - alignItems: "center", - backgroundColor: vars.colors.violet, - color: vars.colors.white, - textAlign: "center", - fontSize: vars.fontSize.sm, - paddingLeft: vars.space['sm'], - paddingRight: vars.space['sm'], -}) - -export const announcementsLink = style({ - color: vars.colors.white, - textDecoration: 'underline' -}) - -export const announcementsEmoji = style({ - fontSize: vars.fontSize.xl, - paddingRight: vars.space['2xs'] -}) \ No newline at end of file diff --git a/legacy/src/components/navbar/navbar.tsx b/legacy/src/components/navbar/navbar.tsx index 9a232411..c1459a25 100644 --- a/legacy/src/components/navbar/navbar.tsx +++ b/legacy/src/components/navbar/navbar.tsx @@ -8,9 +8,6 @@ import { logoSVGFill, linksGroup, homeLink, - announcementsContainer, - announcementsLink, - announcementsEmoji } from './navbar.css'; import ProjectSelect from './project-select'; @@ -23,37 +20,29 @@ const NavItems = [ export const Navbar = () => { return ( - <> -
- Few seats left for our Advanced Backstage Plugin Development workshop on December 7th. Secure your seat today! -
-