Skip to content

Commit 1b96957

Browse files
author
Arghya Ghosh
authored
Merge pull request #160 from javaistic/patch
Minor Dependency Updates
2 parents 8ebc32f + 724e942 commit 1b96957

File tree

4 files changed

+1307
-306
lines changed

4 files changed

+1307
-306
lines changed

package.json

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,24 +58,25 @@
5858
"react-dom": "^17.0.2",
5959
"react-intersection-observer": "^8.33.1",
6060
"redent": "^3.0.0",
61-
"sharp": "^0.29.3",
61+
"sharp": "^0.30.1",
6262
"simple-functional-loader": "^1.2.1",
6363
"tailwindcss": "^2.2.19",
6464
"tinytime": "^0.2.6",
6565
"unist-util-visit": "^2.0.3"
6666
},
6767
"devDependencies": {
6868
"@babel/core": "^7.17.5",
69+
"@babel/plugin-transform-react-jsx": "^7.17.3",
6970
"@types/react": "^17.0.39",
70-
"@typescript-eslint/eslint-plugin": "5.6.0",
71-
"@typescript-eslint/parser": "5.6.0",
71+
"@typescript-eslint/eslint-plugin": "^5.12.0",
72+
"@typescript-eslint/parser": "^5.12.0",
7273
"babel-eslint": "10.1.0",
73-
"eslint": "7.32.0",
74+
"eslint": "8.9.0",
7475
"eslint-config-next": "^12.1.0",
75-
"eslint-config-react-app": "^6.0.0",
76+
"eslint-config-react-app": "^7.0.0",
7677
"eslint-import-resolver-typescript": "^2.5.0",
7778
"eslint-plugin-flowtype": "8.0.3",
78-
"eslint-plugin-import": "2.25.3",
79+
"eslint-plugin-import": "2.25.4",
7980
"prettier": "^2.5.1",
8081
"prettier-plugin-tailwindcss": "^0.1.7",
8182
"typescript": "^4.5.5",

src/components/home/Features.js

Lines changed: 24 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,14 @@ export function Features() {
6969
</p>
7070
<div className="flex justify-center">
7171
<NextLink href="/docs">
72-
<button className="focus:outline-none w-full flex-none rounded-lg border border-transparent bg-gray-900 py-3 px-6 text-lg font-semibold leading-6 text-white shadow-md transition-colors duration-200 hover:bg-gray-800 hover:shadow-xl focus:ring-2 focus:ring-gray-900 focus:ring-offset-2 focus:ring-offset-white dark:bg-gray-700 dark:hover:bg-gray-600 sm:w-auto">
73-
<span className="flex items-center">
74-
Start Learning
75-
<ArrowRightIcon className="ml-2 h-6" />
76-
</span>
77-
</button>
72+
<a>
73+
<button className="focus:outline-none w-full flex-none rounded-lg border border-transparent bg-gray-900 py-3 px-6 text-lg font-semibold leading-6 text-white shadow-md transition-colors duration-200 hover:bg-gray-800 hover:shadow-xl focus:ring-2 focus:ring-gray-900 focus:ring-offset-2 focus:ring-offset-white dark:bg-gray-700 dark:hover:bg-gray-600 sm:w-auto">
74+
<span className="flex items-center">
75+
Start Learning
76+
<ArrowRightIcon className="ml-2 h-6" />
77+
</span>
78+
</button>
79+
</a>
7880
</NextLink>
7981
</div>
8082
</div>
@@ -89,12 +91,14 @@ export function Features() {
8991
</p>
9092
<div className="flex justify-center">
9193
<NextLink href="/programs">
92-
<button className="focus:outline-none w-full flex-none rounded-lg border border-transparent bg-gray-900 py-3 px-6 text-lg font-semibold leading-6 text-white shadow-md transition-colors duration-200 hover:bg-gray-800 hover:shadow-xl focus:ring-2 focus:ring-gray-900 focus:ring-offset-2 focus:ring-offset-white dark:bg-gray-700 dark:hover:bg-gray-600 sm:w-auto">
93-
<span className="flex items-center">
94-
<CodeIcon className="mr-2 h-6" />
95-
Start Coding
96-
</span>
97-
</button>
94+
<a>
95+
<button className="focus:outline-none w-full flex-none rounded-lg border border-transparent bg-gray-900 py-3 px-6 text-lg font-semibold leading-6 text-white shadow-md transition-colors duration-200 hover:bg-gray-800 hover:shadow-xl focus:ring-2 focus:ring-gray-900 focus:ring-offset-2 focus:ring-offset-white dark:bg-gray-700 dark:hover:bg-gray-600 sm:w-auto">
96+
<span className="flex items-center">
97+
<CodeIcon className="mr-2 h-6" />
98+
Start Coding
99+
</span>
100+
</button>
101+
</a>
98102
</NextLink>
99103
</div>
100104
</div>
@@ -118,12 +122,14 @@ export function Features() {
118122
</p>
119123
<div className="flex justify-center">
120124
<NextLink href="https://github.com/javaistic/javaistic" target="_blank">
121-
<button className="focus:outline-none w-full flex-none rounded-lg border border-transparent bg-gray-900 py-3 px-6 text-lg font-semibold leading-6 text-white shadow-md transition-colors duration-200 hover:bg-gray-800 hover:shadow-xl focus:ring-2 focus:ring-gray-900 focus:ring-offset-2 focus:ring-offset-white dark:bg-gray-700 dark:hover:bg-gray-600 sm:w-auto">
122-
<span className="flex items-center">
123-
View on GitHub
124-
<ExternalLinkIcon className="ml-2 h-6" />
125-
</span>
126-
</button>
125+
<a>
126+
<button className="focus:outline-none w-full flex-none rounded-lg border border-transparent bg-gray-900 py-3 px-6 text-lg font-semibold leading-6 text-white shadow-md transition-colors duration-200 hover:bg-gray-800 hover:shadow-xl focus:ring-2 focus:ring-gray-900 focus:ring-offset-2 focus:ring-offset-white dark:bg-gray-700 dark:hover:bg-gray-600 sm:w-auto">
127+
<span className="flex items-center">
128+
View on GitHub
129+
<ExternalLinkIcon className="ml-2 h-6" />
130+
</span>
131+
</button>
132+
</a>
127133
</NextLink>
128134
</div>
129135
</div>

src/pages/index.js

Lines changed: 24 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -89,27 +89,33 @@ export default function Home() {
8989
</p>
9090
<div className="mt-12 mb-28 flex flex-wrap space-y-4 text-center sm:space-y-0 sm:space-x-4 ">
9191
<NextLink href="/docs">
92-
<button className="focus:outline-none w-full flex-none rounded-lg border border-transparent bg-blue-700 py-3 px-6 text-lg font-semibold leading-6 text-white shadow-md transition-colors duration-200 hover:bg-blue-600 hover:shadow-xl focus:ring-2 focus:ring-blue-600 focus:ring-offset-2 focus:ring-offset-white sm:w-auto">
93-
Get started
94-
</button>
92+
<a>
93+
<button className="focus:outline-none w-full flex-none rounded-lg border border-transparent bg-blue-700 py-3 px-6 text-lg font-semibold leading-6 text-white shadow-md transition-colors duration-200 hover:bg-blue-600 hover:shadow-xl focus:ring-2 focus:ring-blue-600 focus:ring-offset-2 focus:ring-offset-white sm:w-auto">
94+
Get started
95+
</button>
96+
</a>
9597
</NextLink>
96-
<NextLink href="/">
97-
<button className="focus:outline-none w-full flex-none rounded-lg border border-transparent bg-gray-900 py-3 px-6 text-lg font-semibold leading-6 text-white shadow-md transition-colors duration-200 hover:bg-gray-700 hover:shadow-xl focus:ring-2 focus:ring-gray-900 focus:ring-offset-2 focus:ring-offset-white dark:bg-gray-700 dark:hover:bg-gray-600 dark:focus:ring-gray-700 sm:w-auto">
98-
Learn more
99-
</button>
98+
<NextLink href="/about">
99+
<a>
100+
<button className="focus:outline-none w-full flex-none rounded-lg border border-transparent bg-gray-900 py-3 px-6 text-lg font-semibold leading-6 text-white shadow-md transition-colors duration-200 hover:bg-gray-700 hover:shadow-xl focus:ring-2 focus:ring-gray-900 focus:ring-offset-2 focus:ring-offset-white dark:bg-gray-700 dark:hover:bg-gray-600 dark:focus:ring-gray-700 sm:w-auto">
101+
Learn more
102+
</button>
103+
</a>
100104
</NextLink>
101105
<NextLink href="https://github.com/sponsors/javaistic">
102-
<button
103-
className="text-md focus:outline-none flex w-full flex-none items-center justify-center rounded-lg border-2 border-gray-300 bg-gray-50 py-3 font-semibold leading-6 text-gray-900 shadow-md transition-colors duration-200 hover:bg-gray-100 hover:shadow-xl focus:ring-2 focus:ring-gray-300 focus:ring-offset-2 focus:ring-offset-white sm:w-auto sm:px-6"
104-
target="_blank"
105-
rel="noopener noreferrer"
106-
>
107-
<span className="sr-only">(Sponsor Javaistic)</span>
108-
<svg width="24" height="24" fill="none" stroke="#db61a2" strokeWidth={2.5}>
109-
<path d="M18.7663 7.23375C18.3753 6.84262 17.9111 6.53234 17.4002 6.32065C16.8893 6.10896 16.3417 6 15.7887 6C15.2357 6 14.6881 6.10896 14.1772 6.32065C13.6663 6.53234 13.2021 6.84262 12.8112 7.23375L11.9998 8.04511L11.1884 7.23375C10.3987 6.44406 9.32768 6.00041 8.21089 6.00041C7.09409 6.00041 6.02303 6.44406 5.23334 7.23375C4.44365 8.02344 4 9.0945 4 10.2113C4 11.3281 4.44365 12.3991 5.23334 13.1888L6.0447 14.0002L11.9998 19.9553L17.9549 14.0002L18.7663 13.1888C19.1574 12.7979 19.4677 12.3337 19.6794 11.8228C19.891 11.3119 20 10.7643 20 10.2113C20 9.65828 19.891 9.11068 19.6794 8.59978C19.4677 8.08888 19.1574 7.6247 18.7663 7.23375V7.23375Z" />
110-
</svg>
111-
&nbsp;Sponsor
112-
</button>
106+
<a>
107+
<button
108+
className="text-md focus:outline-none flex w-full flex-none items-center justify-center rounded-lg border-2 border-gray-300 bg-gray-50 py-3 font-semibold leading-6 text-gray-900 shadow-md transition-colors duration-200 hover:bg-gray-100 hover:shadow-xl focus:ring-2 focus:ring-gray-300 focus:ring-offset-2 focus:ring-offset-white sm:w-auto sm:px-6"
109+
target="_blank"
110+
rel="noopener noreferrer"
111+
>
112+
<span className="sr-only">(Sponsor Javaistic)</span>
113+
<svg width="24" height="24" fill="none" stroke="#db61a2" strokeWidth={2.5}>
114+
<path d="M18.7663 7.23375C18.3753 6.84262 17.9111 6.53234 17.4002 6.32065C16.8893 6.10896 16.3417 6 15.7887 6C15.2357 6 14.6881 6.10896 14.1772 6.32065C13.6663 6.53234 13.2021 6.84262 12.8112 7.23375L11.9998 8.04511L11.1884 7.23375C10.3987 6.44406 9.32768 6.00041 8.21089 6.00041C7.09409 6.00041 6.02303 6.44406 5.23334 7.23375C4.44365 8.02344 4 9.0945 4 10.2113C4 11.3281 4.44365 12.3991 5.23334 13.1888L6.0447 14.0002L11.9998 19.9553L17.9549 14.0002L18.7663 13.1888C19.1574 12.7979 19.4677 12.3337 19.6794 11.8228C19.891 11.3119 20 10.7643 20 10.2113C20 9.65828 19.891 9.11068 19.6794 8.59978C19.4677 8.08888 19.1574 7.6247 18.7663 7.23375V7.23375Z" />
115+
</svg>
116+
&nbsp;Sponsor
117+
</button>
118+
</a>
113119
</NextLink>
114120
</div>
115121
</div>

0 commit comments

Comments
 (0)