Comments (3)
Hi! @MohamedAliBouzaiene I've read all and It's awesome what you've done there.
I'm thinking on add it in a different way but I'll keep this Issue open in order to mark it solved when It's implemented. I'll also use some of your code so I'll add you in the collaborators inside the code.
from bento.
Hey! @MohamedAliBouzaiene I've been thinking about adding a Search bar to Bento, but I don't know what kind of design it should be.
I've been thinking a Tilde's like search bar (fullscreen) showing it by start typing. But can you share me your code? It looks fantastic and how you design it!
from bento.
yeah sure @MiguelRAvila!
Just check my fork : https://github.com/MohamedAliBouzaiene/Bento
So let me explain what I did, first of all I started by adding an input tag nested inside a form tag with an action attribute and a GET method .
And then I added 2 variables in the SCSS file searchBoxColor (which is 95% transparent) and imgGoogle (which is the icon) as you can see I added 2 icons , one for the dark mode and the other for the light one
Then I fixed some SCSS to make it look that way
And finally I added some javascript code to make the search bar automatically clear itself after clicking enter and opening the google search engine.
from bento.
Related Issues (20)
- Remove time + weather (literally just have the buttons) HOT 4
- Running Bento on Windows HOT 1
- Adding weather option to retrieve data from Local Storage
- Code for weather and explanation HOT 3
- Wrong time in LibreWolf/Firefox HOT 3
- How do I make links open in the same tab? HOT 2
- Change from Feather icons to Lucide HOT 2
- Question Regarding Adding Additional Button Links HOT 2
- "Firefox Can't Open This Page" HOT 6
- Add more apps HOT 2
- Login HOT 2
- Request: Add spotify currently playing music HOT 2
- Provide a docker image HOT 2
- Custom colors for each list / button HOT 1
- Help needed to change the timezone in browser. HOT 2
- Mistake in readme file HOT 2
- Add more links and columns HOT 3
- Custom Weather Icons
- Custom icons
- New Bento HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bento.