Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/imreyesjorge/root-startpage
A simple and clean startpage 🌟
https://github.com/imreyesjorge/root-startpage
cards fast homepage html js minimal startpage
Last synced: about 1 month ago
JSON representation
A simple and clean startpage 🌟
- Host: GitHub
- URL: https://github.com/imreyesjorge/root-startpage
- Owner: imreyesjorge
- License: mit
- Created: 2020-10-11T02:01:42.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-09-19T23:21:02.000Z (about 1 year ago)
- Last Synced: 2024-08-02T15:23:26.875Z (4 months ago)
- Topics: cards, fast, homepage, html, js, minimal, startpage
- Language: JavaScript
- Homepage: https://imreyesjorge.github.io/root-startpage/
- Size: 1.26 MB
- Stars: 274
- Watchers: 3
- Forks: 48
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-startpage - root - Root is a start-page aimed to simplicity and elegance. (Projects / Hosted)
README
![](./assets/header.png)
### Root is a start-page aimed to simplicity and elegance
This project is blazing fast :zap:, it only contains an html, css and javascript files.
## Customizing
Root was created to be lightweight, fast and easy to customize.
### Changing Colors
To change the colors used in the startpage edit `styles.css`.
```css
:root {
--primary: #dd2e44;
--text-light: #eeeeee;
--background: #1e1c21;
--background-light: #333138;
}
```### Changing Name and Adding Custom Cards
> This project uses [Remix Icons](https://remixicon.com/).
To change the default name and edit the cards, edit `app.js`. It should look something like this:
```js
const NAME = "John Doe";const CARDS = [
{
name: "Twitter",
icon: "ri-twitter-fill",
link: "https://twitter.com",
},
{
name: "Github",
icon: "ri-github-fill",
link: "https://github.com/",
},
];
```To add a new card, just append a new object to the `CARDS` constant. The object should look something like this:
```js
{
name: "",
icon: "",
link: "",
clipboard: true,
color: '#550499'
},
```> To get the icon class-name, just go to [Remix Icons](https://remixicon.com/), select the desired icon. You should see something like this: ``.
> If you prefer to copy the link to the clipboard instead of the default behavior, just add `clipboard: true` to the card object.
> Optional individual card accent color can be achieved by setting a `color: string` property in the card object.
To use 24 hour time simply change the time section of `app.js` to
```
// Update the Time
currentTime.innerHTML = `${currentHour}:${currentMinute}`;
```