mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2025-08-28 03:45:07 +02:00
added first 2 portfolio items
This commit is contained in:
@@ -1,6 +1,25 @@
|
||||
---
|
||||
title: "React cookiebar"
|
||||
title: "React cookie bar"
|
||||
template: "portfolioItem"
|
||||
description: "A small, simple and customizable cookie consent bar for use in React applications."
|
||||
socialImage: "/media/light.png"
|
||||
---
|
||||
|
||||
## :)
|
||||
[Source code](https://github.com/Mastermindzh/react-cookie-consent) - [Storybook](https://mastermindzh.github.io/react-cookie-consent/)
|
||||
|
||||
<div style="display: flex; flex-wrap: wrap;">
|
||||
<div style = "flex-grow: 1; width: 30%; margin: 1%;"><img src="/media/light.png" alt="cookie bar in light colors"/></div>
|
||||
<div style = "flex-grow: 1; width: 30%; margin: 1%;"><img src="/media/dark.png" alt="cookie bar in dark colors"/></div>
|
||||
<div style = "flex-grow: 1; width: 30%; margin: 1%;"><img src="/media/old-site.png" alt="cookie bar on my old website"/></div>
|
||||
</div>
|
||||
|
||||
React-cookie-consent is a small, simple and customizable cookie consent bar for use in React applications.
|
||||
The bar can be used in most React versions and related frameworks (Gatsby, Next). A React Native version is not available.
|
||||
`react-cookie-consent` is highly customizable and actively maintained on Github. <br />
|
||||
It's bundled up as an npm module so installing it is as easy as:
|
||||
|
||||
```sh
|
||||
npm install react-cookie-consent
|
||||
```
|
||||
|
||||
I initially built react-cookie-consent because I couldn't find a decent cookie-bar to use for this website. After building it I decided to share it with the community so others don't have to create their own.
|
||||
|
BIN
content/portfolio/react-cookie-consent/media/dark.png
Normal file
BIN
content/portfolio/react-cookie-consent/media/dark.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 152 KiB |
BIN
content/portfolio/react-cookie-consent/media/light.png
Normal file
BIN
content/portfolio/react-cookie-consent/media/light.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 146 KiB |
BIN
content/portfolio/react-cookie-consent/media/old-site.png
Normal file
BIN
content/portfolio/react-cookie-consent/media/old-site.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 355 KiB |
Reference in New Issue
Block a user