Skip to content

Commit

Permalink
SEO improvements part 1 (#429)
Browse files Browse the repository at this point in the history
* SEO improvements part 1

* Update preferences.md

---------

Co-authored-by: Francesco Ciulla <[email protected]>
  • Loading branch information
FrancescoXX and Francesco Ciulla authored Oct 21, 2024
1 parent adcb0f5 commit 3f5d7dd
Show file tree
Hide file tree
Showing 44 changed files with 12,154 additions and 890 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:16-alpine
FROM node:22

WORKDIR /app

Expand Down
4 changes: 1 addition & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
version: '3.8'

services:
react-docker:
image: francescoxx/dailydev-docs:0.9.3
image: francescoxx/dailydev-docs:1.0.0
build:
context: .
ports:
Expand Down
30 changes: 15 additions & 15 deletions docs/customize-your-feed/density.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
---
sidebar_position: 2
description: "Learn how to adjust content density on the daily.dev feed with Eco, Roomy, and Cozy settings for a personalized reading experience."
---

# Density
# Density Settings on daily.dev Feed

The density option enables you to set the density of content on the daily.dev feed. And you can do this by switching between Eco, Roomy, and Cozy options as seen below:
The density option enables you to set the density of content on the **daily.dev feed**. Choose from **Eco**, **Roomy**, and **Cozy** options to personalize your reading experience.

## Eco
## Eco Density Setting

!["eco"](https://daily-now-res.cloudinary.com/image/upload/v1724400282/docs-v2/3bb874f9-c920-4717-b606-07c697f431a0.png)
![Eco density setting preview on daily.dev](https://daily-now-res.cloudinary.com/image/upload/v1724400282/docs-v2/3bb874f9-c920-4717-b606-07c697f431a0.png)

You can set the density of your feed to Eco, as seen below:
Set the density of your feed to Eco, as shown below:

!["set eco from menu"](https://daily-now-res.cloudinary.com/image/upload/v1724400351/docs-v2/245139c1-9435-4433-aae6-779461ea8c50.png)
![How to set Eco density from menu on daily.dev](https://daily-now-res.cloudinary.com/image/upload/v1724400351/docs-v2/245139c1-9435-4433-aae6-779461ea8c50.png)

## Roomy
## Roomy Density Setting

!["roomy"](https://daily-now-res.cloudinary.com/image/upload/v1724400462/docs-v2/bea54acf-ecf4-4c9a-93d0-1962c8694706.png)
![Roomy density setting preview on daily.dev](https://daily-now-res.cloudinary.com/image/upload/v1724400462/docs-v2/bea54acf-ecf4-4c9a-93d0-1962c8694706.png)

You can set the density of your feed to Roomy as seen below:
Set the density of your feed to Roomy, as shown below:

!["set roomy from menu"](https://daily-now-res.cloudinary.com/image/upload/v1724400407/docs-v2/928ceb27-1a44-43a2-9c56-245d43e29ac1.png)
![How to set Roomy density from menu on daily.dev](https://daily-now-res.cloudinary.com/image/upload/v1724400407/docs-v2/928ceb27-1a44-43a2-9c56-245d43e29ac1.png)

## Cozy
## Cozy Density Setting

!["cozy"](https://daily-now-res.cloudinary.com/image/upload/v1724400566/docs-v2/3eb0e893-cb8a-48c5-9543-c29179a8fcd3.png)
![Cozy density setting preview on daily.dev](https://daily-now-res.cloudinary.com/image/upload/v1724400566/docs-v2/3eb0e893-cb8a-48c5-9543-c29179a8fcd3.png)

You can set the density of your feed to Cozy as seen below:

!["set cozy from menu"](https://daily-now-res.cloudinary.com/image/upload/v1724400531/docs-v2/c90ae104-6c65-4e70-aac3-caaf06bba48d.png)
Set the density of your feed to Cozy, as shown below:

![How to set Cozy density from menu on daily.dev](https://daily-now-res.cloudinary.com/image/upload/v1724400531/docs-v2/c90ae104-6c65-4e70-aac3-caaf06bba48d.png)
29 changes: 13 additions & 16 deletions docs/customize-your-feed/layout.md
Original file line number Diff line number Diff line change
@@ -1,31 +1,28 @@
---
sidebar_position: 0
description: "Customize your daily.dev feed layout with Grid and List modes for an optimal reading experience across all devices."
---

# Layout
# Layout Options on daily.dev Feed

The layout option lets you select how posts are displayed on your feed. You can switch between **Grid mode** and **List mode**.
The layout option lets you select how posts are displayed on your **daily.dev feed**. Switch between **Grid mode** and **List mode** to suit your viewing preferences.

To switch between Grid and List mode, click on the customize option from the top-right profile menu, as seen below:
To switch between Grid and List mode, click on the **customize** option from the top-right profile menu, as shown below:

!["List to Grid mode switch"](https://daily-now-res.cloudinary.com/image/upload/v1724400818/docs-v2/a57d8ba8-dbfb-4407-9759-fbf9dc1154a6.png)
![Switch from List to Grid mode on daily.dev](https://daily-now-res.cloudinary.com/image/upload/v1724400818/docs-v2/a57d8ba8-dbfb-4407-9759-fbf9dc1154a6.png)

## Grid mode
## Grid Mode for Content Display

The Grid mode displays posts as cards arrayed in a Grid, as seen in the image below:
The **Grid mode** displays posts as cards arranged in a grid format, as seen in the image below:

![Grid Mode](https://daily-now-res.cloudinary.com/image/upload/v1724400852/docs-v2/a6b59df0-78b5-431a-8719-1efb654f9ef4.png)
![Grid mode view for daily.dev feed](https://daily-now-res.cloudinary.com/image/upload/v1724400852/docs-v2/a6b59df0-78b5-431a-8719-1efb654f9ef4.png)

In Grid mode, posts are positioned vertically and horizontally from each other so that you can easily scan and interact with the posts on the feed.
In Grid mode, posts are positioned both vertically and horizontally, making it easy to scan and interact with the content. Grid mode adapts seamlessly to various viewports and orientations, providing consistency across different platforms and screen sizes.

The Grid mode easily adapts to various viewports and orientations, thereby ensuring consistency across platforms and screen sizes.
## List Mode for Simplified Layout

In **List mode**, posts are stacked vertically in a list, as shown below:

## List mode
![List mode view for daily.dev feed](https://daily-now-res.cloudinary.com/image/upload/v1724400878/docs-v2/5ff46522-dfc3-401b-9aff-12819a91f4c4.png)

In the list mode, posts are stacked in a list, as seen below:

![List Mode](https://daily-now-res.cloudinary.com/image/upload/v1724400878/docs-v2/5ff46522-dfc3-401b-9aff-12819a91f4c4.png)


In the list mode, posts are arranged in a stacked list. List mode displays only source images and it does not contain cover images of posts. Using List mode is ideal if you like your feed shorter and with fewer visuals.
List mode displays posts in a simple, stacked format, showing only source images without cover images. This option is ideal if you prefer a shorter feed with fewer visuals.
44 changes: 22 additions & 22 deletions docs/customize-your-feed/preferences.md
Original file line number Diff line number Diff line change
@@ -1,53 +1,53 @@
---
sidebar_position: 3
description: "Customize your daily.dev experience with preferences like reading streaks, link behavior, and companion widget for a personalized feed."
---

# Preferences
# Preferences Settings on daily.dev

!["Preferences"](https://daily-now-res.cloudinary.com/image/upload/v1724399519/docs-v2/699dcb1d-8bcc-481f-8ef3-3f2cbc80b15f.png)

The preferences options enable you to fine-tune your user experiences of daily.dev by toggling some options on/off. Currently, the available options are:
The preferences options allow you to fine-tune your **daily.dev** experience by toggling various features on or off. Currently, available options include:

- Show reading streaks
- Open links in new tab
- Open links in a new tab
- Show custom shortcuts
- Show feed sorting menu
- Enable companion

As Accessibility:
### Accessibility
- Automatically dismiss notifications

## Show reading streaks
## Show Reading Streaks

By default, daily.dev displays your reading streaks on the top right corner of your feed. If you want to hide your reading streaks, then set the `Show reading streaks` toggle switch to `off`.
By default, daily.dev displays your reading streaks in the top right corner of your feed. If you’d prefer to hide your reading streaks, set the `Show reading streaks` toggle switch to `off`.

## Open link in new tab
## Open Links in a New Tab

By default, when you click on a post link on your feed (using the `Read post` button on the post), daily.dev will open that post in a new tab. However, if you want daily.dev to open that post in the current tab, then set the `Open links in new tab` toggle switch to `off`.
When you click a post link on your feed using the `Read post` button, daily.dev will open that post in a new tab by default. To have posts open in the current tab instead, set the `Open links in new tab` toggle switch to `off`.

## Show custom shortcuts
## Show Custom Shortcuts

By enabling this option, you will have access to custom shortcuts at the top middle of your feed
Enable this option to access custom shortcuts at the top center of your feed.

![Show Custom Shortcuts](https://daily-now-res.cloudinary.com/image/upload/v1724399755/docs-v2/dfd3d9aa-1cec-4d0d-b340-0913c8b9ea6b.png)
![Enable custom shortcuts on daily.dev](https://daily-now-res.cloudinary.com/image/upload/v1724399755/docs-v2/dfd3d9aa-1cec-4d0d-b340-0913c8b9ea6b.png)

## Show Feed Sorting Menu

## Show feed sorting menu
Turning this toggle switch on adds a dropdown menu to the My Feed and Popular Feed sections, enabling sorting by `Date` or by `Recommended`, as shown below:

Turning this toggle switch on will add a dropdown menu to My feed and Popular feed, enabling you to sort these feeds `By date` or by `Recommended` as seen in the image below:
![Feed sorting menu on daily.dev](https://daily-now-res.cloudinary.com/image/upload/v1724399859/docs-v2/ea9b06cd-b59c-4ccb-a420-cda7bba7e75e.png)

![](https://daily-now-res.cloudinary.com/image/upload/v1724399859/docs-v2/ea9b06cd-b59c-4ccb-a420-cda7bba7e75e.png)
## Enable Companion Widget

## Enable companion
Switching this toggle to `on` activates the [companion widget for daily.dev](https://docs.daily.dev/docs/key-features/the-companion), while setting it to `off` deactivates the widget.

Turning this toggle switch `on` will activate the [companion widget](https://docs.daily.dev/docs/key-features/the-companion), and turning this toggle switch `off` will deactivate the companion widget.
The companion widget enhances your experience by allowing you to bookmark, comment, and upvote directly on the original post. To activate this widget, click on the **companion button** in the top-right corner of the daily.dev menu bar, as seen below:

The companion widget is a game changer as it enhances your user experiences by letting you bookmark, comment, and upvote directly on the original post. And to activate this widget, click on the companion button on the top right corner of the daily.dev menu bar as seen below:
![Companion widget activation icon on daily.dev](https://daily-now-res.cloudinary.com/image/upload/v1695752806/docs-v2/Companion-widget-icon.png)

![](https://daily-now-res.cloudinary.com/image/upload/v1695752806/docs-v2/Companion-widget-icon.png)
Then click on the `Activate companion` button in the description box:

Then click on the `Activate companion` button in the description box as seen below:
![Activate companion widget on daily.dev](https://daily-now-res.cloudinary.com/image/upload/v1695752390/docs-v2/Activate-companion.png)

![](https://daily-now-res.cloudinary.com/image/upload/v1695752390/docs-v2/Activate-companion.png)

After this, it will ask you to grant it extra permission so that the companion widget can be displayed directly on the original post.
You will then be asked to grant additional permissions to display the companion widget directly on the original post.
37 changes: 18 additions & 19 deletions docs/customize-your-feed/theme.md
Original file line number Diff line number Diff line change
@@ -1,41 +1,40 @@
---
sidebar_position: 1
description: "Customize your daily.dev experience by choosing between Dark, Light, and Auto theme settings for a personalized reading environment."
---

# Theme
# Theme Options on daily.dev

The theme option enables you to change the look and feel of daily.dev by selecting one of the available themes. Currently, the available themes for daily.dev are:
The theme option allows you to change the look and feel of **daily.dev** by selecting from the available themes. Currently, you can choose from:

* Dark theme
* Light theme
* Auto
- Dark theme
- Light theme
- Auto theme

## Dark Theme (default)
## Dark Theme (Default)

The dark theme reduces eye strain and displays mostly dark surfaces on the UI, as seen below:
The **Dark theme** reduces eye strain and applies mostly dark surfaces across the UI, as shown below:

![Dark Theme](https://daily-now-res.cloudinary.com/image/upload/v1722601800/docs-v2/6916a1da-db83-41a7-8a6c-590bc7d99b5a.png)
![Dark theme view for daily.dev interface](https://daily-now-res.cloudinary.com/image/upload/v1722601800/docs-v2/6916a1da-db83-41a7-8a6c-590bc7d99b5a.png)

A dark theme balances the light emitted by a device and the minimal contrast color ratio required for readability. Additionally, Dark theme is known to conserve battery, enabling devices to be used for a longer period of time.
Dark theme balances light emissions with the minimal contrast required for readability. Additionally, the Dark theme can help conserve battery, extending device usage.

You can set the dark theme for daily.dev, as seen below:
You can set the Dark theme for daily.dev as illustrated here:

![Dark Theme](https://daily-now-res.cloudinary.com/image/upload/v1722601830/docs-v2/43e5fae1-02e4-48f8-b218-305e7008bcc0.png)
![Dark theme activation on daily.dev](https://daily-now-res.cloudinary.com/image/upload/v1722601830/docs-v2/43e5fae1-02e4-48f8-b218-305e7008bcc0.png)

## Light Theme

Light theme uses a white or light color in the background. And it reflects cleanliness and professionalism. In the light theme, the content is clear and readable, so you can easily read through the content in the feed and find what they are looking for in daily.dev.
The **Light theme** uses a white or light background, offering a clean and professional appearance. This theme provides clear, readable content, allowing easy navigation and a smooth reading experience on daily.dev.

![Light Theme](https://daily-now-res.cloudinary.com/image/upload/v1722601855/docs-v2/c735a963-21a7-4615-bd08-213641db7dc0.png)
![Light theme view for daily.dev interface](https://daily-now-res.cloudinary.com/image/upload/v1722601855/docs-v2/c735a963-21a7-4615-bd08-213641db7dc0.png)

You can set the Light theme for daily.dev, as seen below:

You can set the light theme for daily.dev, as seen below:

![Light Theme](https://daily-now-res.cloudinary.com/image/upload/v1722601874/docs-v2/64c8e692-1826-4f1f-9b33-9f1250e28f8d.png)
![Light theme activation on daily.dev](https://daily-now-res.cloudinary.com/image/upload/v1722601874/docs-v2/64c8e692-1826-4f1f-9b33-9f1250e28f8d.png)

## Auto Theme

This option automatically sets the theme for daily.dev to Light/Dark based on the theme setting of your browser.

![Auto Theme](https://daily-now-res.cloudinary.com/image/upload/v1722601887/docs-v2/8c745869-ed77-40ee-976a-5830c4694ba7.png)
The **Auto theme** option automatically adjusts the daily.dev theme to match your browser's theme setting, toggling between Light and Dark as per your browser configuration.

![Auto theme view for daily.dev interface](https://daily-now-res.cloudinary.com/image/upload/v1722601887/docs-v2/8c745869-ed77-40ee-976a-5830c4694ba7.png)
Loading

0 comments on commit 3f5d7dd

Please sign in to comment.