From e21f780b930201d4e6d910dc5b3a71cb71822052 Mon Sep 17 00:00:00 2001 From: anandbaburajan Date: Mon, 1 Apr 2024 22:33:43 +0530 Subject: [PATCH] chore: UI improvements --- .DS_Store | Bin 8196 -> 8196 bytes README.md | 4 ++++ package-lock.json | 8 ++++---- package.json | 2 +- pages/how-to.tsx | 2 +- pages/privacy.tsx | 2 +- pages/recent-polls.tsx | 2 +- public/.DS_Store | Bin 6148 -> 6148 bytes src/components/LogoSVG.tsx | 40 +++++++++++++++++++++++++++++++++++++ src/components/Navbar.tsx | 3 ++- src/styles/navbar.scss | 12 +++++------ src/styles/your-polls.scss | 2 +- 12 files changed, 61 insertions(+), 16 deletions(-) create mode 100644 src/components/LogoSVG.tsx diff --git a/.DS_Store b/.DS_Store index c388f8fb10d18ee01e193183b5de5741addfc8bd..513d0a68033930f888669ce140fa4b66de1b9884 100644 GIT binary patch delta 95 zcmZp1XmOa}&nU4mU^hRb#AY4=N#@D1!Y>%NPj(Y2R1>eRwlLCBFt@DLQK&XFHnjk; y&1!2oIYgE9t%KsTb8_?YJ15^0k!S4M{7;0Fd18a*W_F2hESt?lFEUMRFarQwD;?(m delta 120 zcmZp1XmOa}&nUSuU^hRb +Samay banner + +
+ Samay is a free and open source meeting poll tool. Quickly find a time which works for everyone without the back-and-forth texts/emails! - Create a meeting poll by choosing the time slots based on your availability. diff --git a/package-lock.json b/package-lock.json index 5c51807..9e4a4f0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "license": "MIT", "dependencies": { "@babel/core": "^7.12.10", - "@fontsource/inter": "^4.5.15", + "@fontsource/inter": "^5.0.17", "bootstrap": "^4.5.3", "cal-sans": "^1.0.1", "copy-to-clipboard": "^3.3.1", @@ -452,9 +452,9 @@ } }, "node_modules/@fontsource/inter": { - "version": "4.5.15", - "resolved": "https://registry.npmjs.org/@fontsource/inter/-/inter-4.5.15.tgz", - "integrity": "sha512-FzleM9AxZQK2nqsTDtBiY0PMEVWvnKnuu2i09+p6DHvrHsuucoV2j0tmw+kAT3L4hvsLdAIDv6MdGehsPIdT+Q==" + "version": "5.0.17", + "resolved": "https://registry.npmjs.org/@fontsource/inter/-/inter-5.0.17.tgz", + "integrity": "sha512-2meBGx1kt7u5LwzGc5Sz5rka6ZDrydg6nT3x6Wkt310vHXUchIywrO8pooWMzZdHYcyFY/cv4lEpJZgMD94bCg==" }, "node_modules/@istanbuljs/load-nyc-config": { "version": "1.1.0", diff --git a/package.json b/package.json index fee0eb2..dc4b5bb 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "license": "MIT", "dependencies": { "@babel/core": "^7.12.10", - "@fontsource/inter": "^4.5.15", + "@fontsource/inter": "^5.0.17", "bootstrap": "^4.5.3", "cal-sans": "^1.0.1", "copy-to-clipboard": "^3.3.1", diff --git a/pages/how-to.tsx b/pages/how-to.tsx index f2309b7..0fb5af4 100644 --- a/pages/how-to.tsx +++ b/pages/how-to.tsx @@ -13,7 +13,7 @@ const HowTo = (): JSX.Element => { return ( <> - Samay — How-to + Samay — how-to diff --git a/pages/privacy.tsx b/pages/privacy.tsx index e251bf9..3660986 100644 --- a/pages/privacy.tsx +++ b/pages/privacy.tsx @@ -6,7 +6,7 @@ const Privacy = (): JSX.Element => { return ( <> - Samay — Privacy Policy + Samay — privacy policy diff --git a/pages/recent-polls.tsx b/pages/recent-polls.tsx index ddca4b2..b2a8be7 100644 --- a/pages/recent-polls.tsx +++ b/pages/recent-polls.tsx @@ -196,7 +196,7 @@ const RecentPolls = (): JSX.Element => { return ( <> - Samay — Recent polls + Samay — recent polls diff --git a/public/.DS_Store b/public/.DS_Store index 7b7b16788937ee1077a4bfc7c75427534b362f9d..67f15501e7bb5a803b6c799055de9ccd82ddc236 100644 GIT binary patch delta 352 zcmZoMXfc=|#>B)qu~2NHo+2ab!~pBf0*noeKvqv~Ju5>RLq0w~h{Ane7F?8CJ*u~2NHo+2aD!~pBb1|lqz`I)jdPh&1**}Q;xF4Jaq4t@@xqRkVT WzcWwf7cpdHm~6u%y*Wl?1v3DBViKJI diff --git a/src/components/LogoSVG.tsx b/src/components/LogoSVG.tsx new file mode 100644 index 0000000..da82e81 --- /dev/null +++ b/src/components/LogoSVG.tsx @@ -0,0 +1,40 @@ +import * as React from "react"; +import { SVGProps } from "react"; + +const LogoSVG = (props: SVGProps) => ( + + + + + + + + + +); + +export default LogoSVG; diff --git a/src/components/Navbar.tsx b/src/components/Navbar.tsx index 219c9f1..b0caff5 100644 --- a/src/components/Navbar.tsx +++ b/src/components/Navbar.tsx @@ -9,6 +9,7 @@ import { import Link from "next/link"; import { useRouter } from "next/router"; import { useState, useEffect } from "react"; +import LogoSVG from "./LogoSVG"; const NavBar = (): JSX.Element => { const router = useRouter(); @@ -25,7 +26,7 @@ const NavBar = (): JSX.Element => { - logo + samay