Skip to content

tianzhich/blocklet-profile-demo

Repository files navigation

Blocklet Profile Demo

This project was bootstrapped with Create Blocklet. It shows the demo profile of a local user.

How to Use

Create or edit your profile

You can create your own profile. Input your username, phone and email. The username and email is required. Here are the rules of each field:

  • UserName: It starts with a letter, be 5 to 15 characters long, and only contain letters, numbers, and underscores.
  • Phone: It starts with a optional plus sign, followed by a non-zero digit, and then 1 to 14 additional digits, commonly used for international phone numbers.
  • Email: It takes the commonly used email address.

Create profile

If you are in editing mode, you can cancel your editing whenever you want.

Edit profile

View your profile

After you create or edit your profile. You can view the information. All of your informations are stored securely in your own browser. No one can get it without your permission.

View profile

Change your prefered language

You can use your prefered language by clicking the globe icon button on the top-right of the page. Now you can use:

  • 简体中文
  • English

Change the prefered language

We are working on ways support more languages as soon as possible. Stay tuned!

What if the local storage of your browser is unavailable?

Please make sure to use the modern browsers like Chrome, FireFox, Safari or Microsoft Edge to access this demo. If your browser don't support the localStorage API, your profile will not be stored. But you can still use it as you'd like.

Storage unavailable

There is one rare scenario that your localStorage quota is exceeded. If this happens, your profile will also not be stored.

Storage quota exceeded

Feel free to contact me if you have any other questions.

More about blocklet

If you want to know more about blocklet, like its file structures, ci process, etc..., feel free to check this document.

License

The code is licensed under the Apache 2.0 license found in the LICENSE file.

About

A simple demo to show your blocklet profile on your app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published