Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 8-7-2024 #227

Closed
wants to merge 27 commits into from
Closed

Update 8-7-2024 #227

wants to merge 27 commits into from

Conversation

JimmyTron
Copy link
Member

  • Bug fix
  • New feature

Proposed changes

Warning

Please read these points carefully and answer honestly with an X
into all the boxes. Example : [X]

Before submitting a pull request make sure you have:

  • Read the guidelines for contributing.
  • Wrote some tests.
  • Respected the linting guidelines.

JimmyTron and others added 23 commits May 8, 2024 14:58
* new blog page init

* add header and body

* mobile responsive

* add padding

* refactor frontend code

* filter empty stack

* fetch data from api

* delete static data

* remove comments

* onMouseEnter

* reinit resource page

* map data

* add all tab

* fix the img src

* delete unused resources page

* add skeleton component

* remove carousel

* initialize carousel

* create blogcard

* add btn functionality

* fetch blog data

* init share btns

* add shareable links

* add line-clamp on blogCard title

* resize blog cover img

* build: bumped up react query

* fix: use ref for blog body

* build: react lazy load package install

* featured blogcard build

* scroll effect on featured section

* add opacity to featuredCard

* bug-fix: hover-effect on ResourceCard component

* add spinner loader issue #140

* remove console.logs

* fix: use ref for blog body

* fix: use ref for blog body 2

* Lazy Load all images on the website

* restyle blog title on featured cards

* delete old blog route

* initial hero-section build

* Partners section

* Partners section

* Add more partners

* create wrapper component

* features section

* what we do section

* upcoming events section

* what we do section

* minor change in WhatWeDoCard

* removed the blur-effect

* testimonial section

* FAQ section build

* cta section

* add padding-b to CTA section

* add padding-b to CTA section

* change navbar color

* add bold on navlink focus

* Add bg-color to mobile nav

* Add bg-color to mobile nav

* resolve conflicts

* Add upcoming events to the OurEvents section

* Imported ellipse styles

* Added hero section images

* Adjust ellipse colors

* Adjust margins and border

* add hidden display on small screen

* delete HeroSection3 component

* style: caroussel

* style: responsive on mobile

* Remove blur effect on all LazyLoadImage

* feat: redesigned community page

* single event page init

* auto-remove deplicates

* fetch event data

* fetch & display similar events

* merge conflicts

* Add Link tag to EventCard

* remove double imports

* -

* remove duplicate

* replace error500 component with err500 image

* center loader

* correct created_at date

* feat: gallery page

* event cards

* render event cards

* add carousel

* absolute

* Update README.md

* remove tsc

* events page build

* rsvp event

* fetch event rsvp data

* join community

* add modal to Join btn

* add prop types

* import field of interests

* post to api

* post to api

* post to api 2

* center events

* center events

* fix: UI modifications

---------

Co-authored-by: felixNyalenda <[email protected]>
Co-authored-by: sonylomo <[email protected]>
Co-authored-by: bkm-code <[email protected]>
Co-authored-by: Sonia Lomo <[email protected]>
* change partnership email to [email protected]

* doc: updated ReadMe

* doc(fix): update localhost server port to 5173

* fix: terms & conditions footer link to notion page

* Added Bokeh effect animation to Hero Image

* Remove duplicated bannerImg

* chore: install react-helmet

* chore: install react-helmet-async

* chore: uninstall react-helmet

* chore: wrap entire app in react-helmet-async provider

* chore: create seometadata component

* chore: refactor site name

* feat: add seo metadata to/about-us

* feat: add seo metadata to/blogs:titleSlug

* feat: add seo metadata to/blogs

* feat: add seo metadata to/community

* feat: add seo metadata to/events

* feat: add seo metadata to/gallery

* feat: add seo metadata to/

* feat: add seo metadata to/products

* feat: add seo metadata to/resources

* feat: add seo metadata to/shop

* I have changed all icon dependencies to react-icon dependency

* replaced yup and @hookform/resolvers with react-hook-form

* feat: add seo metadata to /events/:id

* feat: remove image type from seo metadata

* feat: add suspense to page components in routes

* Replace and uninstall @material-tailwind/react

* Added Bokeh effect animation to Hero Image

* doc: updated delete unused assets issue

* selectfields data

* updated discord redirect link

* fixed isActive link on the navbar

* fixed events category width

* fixed events category width

* extracted the FallbackLoader to its own component

* extracted the FallbackLoader to its own component

* Removed duplicated images

* Hero image hidden on small screens

* fix: react-double import

* add scroll-bar

* fix: single events page view

* fix footer subscribe form width overflow

* Merge branch 'main' into change_icon_dependencies

* Merge branch 'main' into yup-to-react-hooks

* adjust events searchbar on small screen

* Merge branch 'main' into yup-to-react-hooks

* Limit events displayed on landing page to 6

---------

Co-authored-by: felixNyalenda <[email protected]>
Co-authored-by: sonylomo <[email protected]>
Co-authored-by: alvyynm <[email protected]>
Co-authored-by: Sonia Lomo <[email protected]>
Co-authored-by: AbogeJr <[email protected]>
Co-authored-by: bkm-code <[email protected]>
Co-authored-by: Butawantemi <[email protected]>
Co-authored-by: ramo-dev <[email protected]>
Co-authored-by: root <[email protected]>
Co-authored-by: eric githaiga <[email protected]>
Co-authored-by: Joe-Mwangi <[email protected]>
* feat: make footer icons accessible

* feat: add labels to opening and closing icons for mobile nav

* feat: add labels to back and front btns

* fix: make heading levels increase only by one

* fix: make heading levels increase only by one

* feat: add btn labels

* feat: add btn labels

* fix: make heading levels increase only by one

* fix: remove code block around comment

* fix: add alt prop to photosData

* fix: make heading levels increase only by one

* fix: make heading levels increase only by one

* feat: add label to video player

* chore: create captions for syt promotional video

* feat: add captions to promotional video

* fix: make heading levels increase only by one

* fix: make heading levels increase only by one

* chore: replace h3 tag with p

* chore: formatting

* fix: make heading levels increase only by one

* chore: replace h5 tag with p

* chore: formatting

---------

Co-authored-by: sonylomo <[email protected]>
* Add unit and e2e tests

* Use npm install instead

* Configure test source

* Update vite config

* Update fake url for test

---------

Co-authored-by: Felix Nyalenda Olali <[email protected]>
…nd shop/checkout pages (#206)

* feat: update mutations to tanstack-query v5 syntax

* feat: add id param to queryKey array

* feat: update mutations to tanstack-query v5 syntax

* feat: add id param to queryKey array
* style: redesign PopularItemsSection

* chore: move the returned value immediately after the `=>`

* chore: refactor formatPrice function

* chore: refactor formatPrice function

* style: remove rounded-md from card image

* style: change padding in popular items depending on screen width

* style: make product card responsive

* style: make product card responsive

* style: make similar products section responsive

* style: add x-axis scroll to popular items section

* style: display a max of three cards

* style: adjust product name color in card

* style: add max-w-fit to pill btns

* chore: remove unused code

* feat: display 'item' if stock is === 1

* style: create hr-scrollbar class with custom styles

* style: replace scrollbar with hr-scrollbar class

* chore: formatting

* style: add p-10 to itemheader above sm screen

* style: replace breadcrumb with GoBackBtn

* style: replace PiShoppingCartLight with MdOutlineAddShoppingCart

* style: add a p-10 to Single Item display section

* style: display font-medium by default and semibold on md screens

* style: update structure and style to match design

* style: update counter style

* style: update styling for color selection options

* style: add min-w-full to all screen sizes

* style: add max width to similar products section

* style: redesign cart drawer

* style: cart drawer style adjustments

* style: change currency shorthand from Ksh to KES

* chore: remove unused code

* chore: remove unused code

* style: design adjustments

* style: design adjustments

* style(fix): display different color selection circles

* style(fix): improve responsiveness of add to cart btn

* style(fix): add gradient background to add to cart btn

* feat: fix accessibility issues

* chore: remove unused cart icon import

* chore: delete unsued cart icon

* chore: fix seo issues

* style: format product price appropriately in single item page

---------

Co-authored-by: sonylomo <[email protected]>
Co-authored-by: Your Name <[email protected]>
Co-authored-by: sonylomo <[email protected]>
* added embla carousal

* banner styles

* added banner

* lazy load img

* faq update

* carticon

* search design

* sort design

* filter section design

* fixed mobile responsiveness

* section wrapper

* updated category filter

* sort functionality

* updated search

* added items page

* updated itemheader

* shoplink update

* featured products design

* added product card

* updated categories data

* helper fns

* new products section

* rm unused imprts

* query categoires

* rm hover on mobile

* rm query category

* carticon update

* filter items update

* rm packages on banner carousal

* css update

* popular prods

* carousal featured prods

* update

* fix link

* update css

* rm unused packages

* update link

* updated product section
* redesign for the checkout page

* redesign for the checkout page

* typo minor bug

* icon fix

* handleDelete cart items and bug fix
* removing duplicate files

* refactor: returned missing files

---------

Co-authored-by: felixNyalenda <[email protected]>
Co-authored-by: Sonia Lomo <[email protected]>
Co-authored-by: sonylomo <[email protected]>
* restyle trends-in-sales section sales graph

* fix: admin layout

* fix: lint issues

---------

Co-authored-by: felixNyalenda <[email protected]>
Co-authored-by: sonylomo <[email protected]>
Co-authored-by: Sonia Lomo <[email protected]>
* refactor: prettier formatting

* Revert "refactor: prettier formatting"

This reverts commit d4d384f.

* refactor: ran prettier format script

* fix: eslint better work at this point!!!

* fix: c'mon, I wanna sleep!!!

* build: pnpm reinstall
* fix: adjust ui spacing of footer elements

* fix: item spacing on the copyright message

* fix: remove negative margins on the copyright message

* fix: reduce logo and icon sizes

* refactor: remove redundant style

* test: create tests for link validation in Footer

* fix(test): rename Footer component link validation test
* feat: inventory page implemented

* fix:Expected linebreaks to be 'LF' but found 'CRLF' in windows

* fix:lint errors

* Update pnpm-lock.yaml to match package.json

* fix:lint errors

* fix:lint errors

* fix:lint errors

* fix:lint errors in styling

* fix: duplication of event calls

* fix:duplication errors

* fix:duplication errors

* fix:remove eslint comments

* fix:validation errors

---------

Co-authored-by: Sonia Lomo <[email protected]>
Copy link

vercel bot commented Aug 7, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
syt-web-redesign ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 9, 2024 2:43pm

* fix stretched carousel imgs

* rename files

* slice products

* fetch products

* updated attribs

* reduce textsize

* add categories

* update

* fix: build errors

* fix: type errors

---------

Co-authored-by: Sonia Lomo <[email protected]>
Co-authored-by: sonylomo <[email protected]>
* redesign for the checkout page

* redesign for the checkout page

* typo minor bug

* icon fix

* handleDelete cart items and bug fix

* some ui fix, testing and bug fix...form and payload fix to match api standards
* fix: formatting issues

* doc: add instructions on how to perform linting checks

* doc: add pointer to checks

* doc: add documentation as an additional option in PR template
* fix: use product slug as URL for single product item

* chore: add slug to ProductCard types

* fix: use slug as product URL

* fix: update api URL in useSwagList hook

* feat: integrate api endpoints

* fix: properly add selected item to localstorage

* fix: add id, category, slug and image to cart data

* fix: multiply cart quantity by price of one unit

* feat: display cart products from local storage

* fix: delete dummy cart products

* fix: delete from cart functionality

* refactor: item quantity button

* feat: add more dummy images

* fix: linting issues

* fix: use product slug as URL

* fix: display 'item' or items depending on stock no

* feat: handle different API status appropriately in BrowseProducts.jsx

* feat: handle different API status appropriately in NewProducts.jsx

* feat: display different message if no products are available

* feat: handle different API statuses appropriately in /shop/item/:slug

* refactor: PopularItemsSection component

* feat: handle API statuses appropriately in PopularItemsSection component

* fix: linting issues

* fix: prevent user from adding item to cart without selecting size

* fix: 'image undefined' error if selected product variant lacks images

* feat: display shopping cart when user clicks CartIcon

* feat: prevent user from adding more items than available stock

* fix: 'Maximum update depth exceeded' error in CartDrawer

* fix: use UUID as item id in cart to enforce uniqueness

* feat: update api endpoints in useCartSwagg and useCartProducts hooks

* feat: add item to backend cart when user clicks AddToCart btn

* feat: delete item from backend cart when user deletes an item locally

* feat: update api endpoint for useDeleteSwag mutation hook

* fix: linting issues

* feat: update api endpoint for useMakeOrder mutation hook

* feat: update payload data for making an order

* feat: create useDeleteAllSwag mutation hook

* feat: clear backend cart after order

* fix: clear backend cart after successful order

* feat: clear local cart after successful order

* fix: linting issues

* fix: item count update bug

* fix: linting issue

* fix: use item slug as URL in carousel

* fix: display item price from API in carousel

* fix: linting issues

---------

Co-authored-by: sonylomo <[email protected]>
@JimmyTron JimmyTron closed this Sep 10, 2024
auto-merge was automatically disabled September 10, 2024 18:15

Pull request was closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.