This is a rebuild of my previous custom browser homepage which I made with new technology to advance my skills and learn new things. It features a local weather report, a clock with time and date, multiple search engine options, and my favorite bookmarks.
Tech used:
- React.js
- Tailwind CSS
- gh-pages
- react-icons
Check out the live version: https://browser-host.github.io/homepage-clock/
- Clone the project.
- Run
npm install
in the project directory to install packages. - Find the
getWeatherData()
function (src/App.js, line 254) and change the api key in the get request to your own free key from weatherapi.com. - Change the location in the get request query headers to your own local city (src/App.js, line 256).
- Run
npm run deploy
to build the app. - Setup a remote github repository with Github Pages and select deploy from branch.
- Select the 'gh-pages' branch as the branch to deploy from.
- Use a browser plugin to set your site as the browser's homepage (I use New Tab Homepage for Firefox).
- Make any other changes you want, remember to run
npm run deploy
to see your changes live.