Skip to content

Commit

Permalink
Merge pull request #35 from ubunchuu-truong-us/hotfix/change-new-link
Browse files Browse the repository at this point in the history
feat: change new link to readme and image
  • Loading branch information
thangbuiq authored Feb 12, 2024
2 parents 63c1140 + 3846acc commit 1287a7c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 10 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<h1> <b>Ubunchuu Trường Ú Blog </b></h1>

[![npm version](https://badge.fury.io/js/doks.svg)](https://badge.fury.io/js/doks) [![github pages](https://github.com/ubunchuu-truong-us/ubunchuu-truong-us.github.io/actions/workflows/gh-pages.yml/badge.svg)](https://github.com/ubunchuu-truong-us/ubunchuu-truong-us.github.io/actions/workflows/gh-pages.yml) [![pages-build-deployment](https://github.com/ubunchuu-truong-us/ubunchuu-truong-us.github.io/actions/workflows/pages/pages-build-deployment/badge.svg)](https://github.com/ubunchuu-truong-us/ubunchuu-truong-us.github.io/actions/workflows/pages/pages-build-deployment)
![Docusaurus Badge](https://img.shields.io/badge/docusaurus-3.1.1-green) [![github pages](https://github.com/ubunchuu-truong-us/ubunchuu-truong-us.github.io/actions/workflows/pages.yml/badge.svg)](https://github.com/ubunchuu-truong-us/ubunchuu-truong-us.github.io/actions/workflows/pages.yml) [![Create and publish a Docker image](https://github.com/ubunchuu-truong-us/ubunchuu-truong-us.github.io/actions/workflows/codespaces-image.yml/badge.svg?branch=main)](https://github.com/ubunchuu-truong-us/ubunchuu-truong-us.github.io/actions/workflows/codespaces-image.yml)

<div style="display: flex; align-items: center;">
<img src="static/img/favicon.ico" width="150" alt="logo">
Expand All @@ -11,7 +11,7 @@

## Contributing

[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/ubunchuu-truong-us/exp-ubunchuu.github.io)
[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/ubunchuu-truong-us/ubunchuu-truong-us.github.io)

> For any UI/UX contributions, please open an issue first to discuss what you would like to change, figma if possible.
Expand Down
20 changes: 12 additions & 8 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ div[class^='announcementBar_'] {
width: 24px;
height: 24px;
padding-inline: 24px;
text-indent: -9999px;
text-indent: -9999px;
white-space: nowrap;
}

Expand Down Expand Up @@ -118,7 +118,8 @@ div[class^='announcementBar_'] {
}

.header-github-link::before {
background: url('https://raw.githubusercontent.com/ubunchuu-truong-us/exp-ubunchuu.github.io/main/static/img/github.svg') no-repeat;
background: url('https://raw.githubusercontent.com/ubunchuu-truong-us/ubunchuu-truong-us.github.io/main/static/img/github.svg')
no-repeat;
content: '';
position: absolute;
left: 50%;
Expand All @@ -131,16 +132,17 @@ div[class^='announcementBar_'] {
z-index: 10;
}

html[data-theme="dark"] .header-github-link:before {
filter: invert(99%) sepia(2%) saturate(886%) hue-rotate(307deg) brightness(117%) contrast(100%);
html[data-theme='dark'] .header-github-link:before {
filter: invert(99%) sepia(2%) saturate(886%) hue-rotate(307deg)
brightness(117%) contrast(100%);
}

.header-facebook-link {
position: relative;
width: 24px;
height: 24px;
padding-inline: 24px;
text-indent: -9999px;
text-indent: -9999px;
white-space: nowrap;
}

Expand Down Expand Up @@ -168,7 +170,8 @@ html[data-theme="dark"] .header-github-link:before {
}

.header-facebook-link::before {
background: url('https://raw.githubusercontent.com/ubunchuu-truong-us/exp-ubunchuu.github.io/main/static/img/facebook.svg') no-repeat;
background: url('https://raw.githubusercontent.com/ubunchuu-truong-us/ubunchuu-truong-us.github.io/main/static/img/facebook.svg')
no-repeat;
content: '';
position: absolute;
left: 50%;
Expand All @@ -181,8 +184,9 @@ html[data-theme="dark"] .header-github-link:before {
z-index: 10;
}

html[data-theme="dark"] .header-facebook-link:before {
filter: invert(99%) sepia(2%) saturate(886%) hue-rotate(307deg) brightness(117%) contrast(100%);
html[data-theme='dark'] .header-facebook-link:before {
filter: invert(99%) sepia(2%) saturate(886%) hue-rotate(307deg)
brightness(117%) contrast(100%);
}

/* Hero title */
Expand Down

0 comments on commit 1287a7c

Please sign in to comment.