Skip to content

Commit

Permalink
feat: 🎸 update
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaohaoyang committed Sep 3, 2024
1 parent 0a92267 commit 720ece8
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 18 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "pte-crx",
"private": true,
"version": "1.1.0",
"version": "1.2.0",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
11 changes: 6 additions & 5 deletions src/ContentUI/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ const ContentUI = () => {
minimize
? 'h-6 w-6 overflow-hidden p-0'
: 'h-[576px] max-h-[71vh] w-[554px] p-4',
dragging ? 'scale-105 shadow-2xl' : 'scale-100 shadow-md',
dragging ? 'scale-[1.02] shadow-2xl' : 'scale-100 shadow-md',
)}
>
<strong
Expand Down Expand Up @@ -345,14 +345,15 @@ const ContentUI = () => {
<ProgressBar progress={skill.score} />
</div>
))}
<div className="text-right opacity-0 hover:opacity-100">
<div className="text-right">
<a
className="w-full text-xs font-semibold text-blue-700"
className="w-full text-sm font-semibold text-sky-700 !no-underline opacity-10 transition-opacity hover:opacity-100"
target="_blank"
href="https://gaohaoyang.github.io/pte-crx-page/?scrollTo=donation"
>
Buy me a Coffee ☕
</a>
Sponsor me for a cup of coffee!
</a>{' '}
</div>
</div>
</div>
Expand Down
8 changes: 3 additions & 5 deletions src/content.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#crx-root {
@tailwind base;
@tailwind components;
@tailwind utilities;
}
@tailwind base;
@tailwind components;
@tailwind utilities;
3 changes: 0 additions & 3 deletions src/content.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// import React from 'react';
import ReactDOM from 'react-dom/client'
import './content.css'
import ContentUI from './ContentUI'
Expand All @@ -12,7 +11,5 @@ document.body.appendChild(root)
// };

ReactDOM.createRoot(root).render(
// <React.StrictMode>
<ContentUI />,
// </React.StrictMode>,
)
5 changes: 1 addition & 4 deletions src/main.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
import React from 'react'
import ReactDOM from 'react-dom/client'
import App from './App'

ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(
<React.StrictMode>
<App />
</React.StrictMode>,
<App />,
)

0 comments on commit 720ece8

Please sign in to comment.