Giter VIP home page Giter VIP logo

dotnetthailand / dotnetthailand.github.io Goto Github PK

View Code? Open in Web Editor NEW
61.0 17.0 98.0 98.79 MB

source code for .NET Thailand website (dotnetthailand.com)

Home Page: https://www.dotnetthailand.com

License: MIT License

JavaScript 73.51% Dockerfile 0.14% Ruby 0.15% Shell 0.47% Java 0.04% SCSS 0.94% TypeScript 16.94% MDX 7.81%
c-sharp dotnet-core dotnet asp-net-core entity-framework-core f-sharp linq sql-server powershell azure

dotnetthailand.github.io's Introduction

.NET Thailand official website

dotnetthailand.com logo

https://www.dotnetthailand.com

How to contribute

See CONTRIBUTING.

How to run this project locally

  • Install Yarn.
  • Clone the repository to your local machine.
  • CD to the root of project folder.
  • Install all dependencies.

Running on localhost

  • To install the dependencies you need to run:
$ yarn
  • If is the first time you are installing the dependencies it may take few minutes, get a coffee and relax ;)
  • To run the project with hot-reload enabled you can.
yarn start
  • Open a browser and navigate to http://localhost:8000.
  • Change some contents of content/index.mdx and you will find a browser reload and show what you have changed automatically.

Troubleshooting

If you have any following issues while running the project, please follow short instruction to fix them.

  • Failed to launch the browser process: error while loading shared libraries: libnss3.so: No such file or directory, follow the steps in this link.
  • 404 after deployment, you may miss a CNAME file in a repository.
  • Markdown content inside a content folder does not show, please check https://awsm.page/mdx/mdx-markdown-inside-a-react-component/.

To do

Useful information

dotnetthailand.github.io's People

Contributors

aaronamm avatar cckcoder avatar cheewinbuapan avatar dmakeroam avatar eji4h avatar filipowm avatar g-kawin avatar gkawin avatar iamgique avatar jerateep avatar jirawatee avatar kaiwanyawit-chawankul avatar kchinburarat avatar kidchenko avatar lastnamearya avatar lo-tp avatar menstood avatar mildronize avatar ninefyi avatar pobx avatar ponggun avatar praveenweb avatar rachaneesaeng avatar renovate-bot avatar runyasak avatar spezzino avatar surrealist avatar teerasej avatar utarn avatar zhamppx97 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dotnetthailand.github.io's Issues

Add Project Collection Page

Intro

In dotnetthailand fb group, there are some useful resource and project, it would be better to store in this site and give the credit to them

Add authors field to frontmatter

We have many contributes who contribute to our projects.
We want to improve our system to search and list content easily by author and make the UI that can give credit to an author.
Therefore, we should add authors field to frontmatter at the head of each md/mdx files.

I think we should use authors (plural) because a document can have multiple authors.
The value should be an array, e.g.

authors: [ Mild, DMK ]

or

authors:
- Mild
- DMK

FYI, there are two ways to define array value in YAML, depending on personal preference.

Update How to contribute

After discussed to the team. We agree to add a few optional steps to How to Contribute section.

image

I'll write it in more details in related files and also add this picture.

Fix <a> color when using dark mode

When we are using the dark mode. the link colors aren't so legible.

image

I would like to fix this issue since is an up-for-grabs and I am new contributing here.

The main goal with this issue is only to foster communication.

@aaronamm can we pair together on this?

Sub menu not expanded on clicking link

Screen.Recording.2021-08-08.at.1.42.46.PM.mov

The submenu is not expanded when clicking on the text eg. Testing > Jest, while on the main menu it was expanded normally eg. Testing. Now I have to click at the ^ icon to expand the sub-menu.

Docker container page look incompletely

Docker container page now incompletely and I think it can improve

  • docker cp command not completely, missing arguments for a copy to source path and destination path.
  • docker exec should be more examples with frequently use options.
  • docker container not only works with container id it can be used with container name.
    etc.

Add visual-studio/vs-code/editor collection for tips & tricks?

According to this PR #52

Should we introduce a new sub collection and move this tips and tricks to live under it?

For example:

  • Create visual-studio folder under programming-cookbook.
  • Create visual-studio.md page and the same level of the folder.
    It is a pointer to visual-studio folder and make contents in visual-studio folder can be collapsed.
  • Add visual-studio-tips-and-tricks.md under visual-studio folder.
  • Move existing content related to Visual Studio tips & tricks to visual-studio-tips-and-tricks.md
  • Later, we can add more Visual Studio contents or even add VS Code/other edition collection.

image

CC @surrealist @zhamppx97

Font color in dark theme not easy to read

Problem

In dark mode font color is red rgb(228, 0, 70) or #E30048 when place
on black or grey background is not easy for reading.

image

When test contrast level at webaim.org, we got some tests failed.

image

Expected Result

We should research a bit and pick a color scheme for the dark mode that gets a better readability score.

This can be good start Best dark themes pack for example:

Dracula theme

image

Horizon theme

image

🎈 Let's discuss, proposed, and choose together in this issue.

Wow Amazing Work!

I checked the repository a few months ago and checked again today. I would like to say congratulations to all the team, It has been amazing work!!! Thank you a lot for pushing the .NET Community in Thailand! <3 <3 <3

Enable search

  • We have more content and it is hard to find if the website has a content that we are looking for.
  • We should enable search feature to our website.
  • Try with built-in Gatsby search index at build time
  • The try with a third party service
  • Try with Google search bar.

Convert Todo section items in Readme to issues

@dotnetthailand/net-thailand-developers At first I think I can create issue from Todo item one by one. But I think we should take a small grooming / talking about each one of them to refresh and make final consideration before re-create them to issue.

May be on the next online meeting session?

image

Improve Typography Design

Problem

1. Less y-axis margin between code block and bullet

image

2. More y-axis margin between bullet item and its nested item.

image

3. On mobile, font ratio between title and heading is not properly.

image

4. On mobile, the URL don't be wrapped to new line

IMG_7003

5. Font weight between title and heading is not properly.

image

Missing Emoji in a content 👋

  • Right now when we try to add GitHub emoji in the content like `:+1, it does not work.
  • This can be done easily by checking a missing package in gatsby-config.js file.

Last update and author of article is incorrect

Problems

When navigating pages, we will see all the same last update date and author of the article, which is incorrect.

image

Expected Results

I suggest that the last update date/time should be the time of the last commit on that page.
This will help readers to know how up-to-date the information
for example 2 minutes ago and 2 years ago are very different.

The author's name should be all of the contributors of that page as we can see from the Microsoft Docs site.

image

Gatsby build should throw error when someone add the content more than 4 levels of nested folder.

Problem

When someone add the content more than 4 levels of nested folder, it will not be shown in the any result.

As you can see in the code: /src/components/Sidebar/contentTree.js

// ...
// Maximum Deep level of render Nav menu (Start with 0)
const limitDeepLevel = 3;

// ...

const getDeepNavigation = (navItemGroup, navLinkGroup, pathname, deepLevel) => {
    if(deepLevel > limitDeepLevel){ 
      return [];
    }
    // ...
}

Expected Behavior

When Gatsby build, it should throw some error if someone try to break such prohibition.

4 levels of nested folder.

The below image shows 4 levels of nested folder.

image

this folder structure will create the nested navbar like this:

image

Cannot read article and navigate menu at the same time easily

Problem

We have long list of topics on the left-side menu. When we scroll up and scroll down to navigate topics, it moves the whole page out of sight too. So, user cannot easily continue his or her reading and navigating menu at the same time.

image

Proposed solution:

Make left-side menu and content area scrollable independently and fix top navbar at the top.

Notes

Existing feature: When we click on a topic, it automatically scroll up to the top to help user read the article.

Adding Content for Blazor WASM

Not sure if Blazor or Web Assembly is welcome here or not, but I have some content about making a Web Application in Blazor WASM from my experience that wanna share. Wanna know if the Dotnet Thailand team would be interested?

Support Tablet Device

Website should be supported Tablet device size.

Problems

Problem on width 800px-1100px

  • The menu bar display multiple lines,
  • Sidebar width is too wider for tablet.

here is the screenshot on device width about 800px

image

and here is the screenshot on device width about 1100px

image

Problem on width about 767px (on tablet portrait);

  • Too wider width for sidebar

here is the screenshot on device width about 767px

image

Possible Solution

  • Adjust font size and sidebar width on targeted screen width range.

Fix todo links

Fix todo links

  • add link to Github Issues
  • add link to Contribute on text "the following link"
  • remove link to the same page (the last link)

Screen Shot 2564-08-02 at 22 13 09

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.