Closed adibaba closed 2 years ago
On the start page, an icon and a link to our CKAN could be added. That could be done in the same way as for YouTube etc.
I tried to edit scripts/src/components/social/index.js and add the following code:
import { FaFacebookF, FaGithub, FaTwitter, FaYoutube, FaDatabase } from 'react-icons/fa'; [...] { url: 'https://ckan.dice-research.org/', text: 'Datasets', icon: FaDatabase, },
That produced an error.
Also updating to the newest version "react-icons": "^4.3.1", did not work. Okay, I expected that.
"react-icons": "^4.3.1",
There is an issue on adding the icon. I could not solve it fastly, so here is a nice issue.
@pskLana i just had a look into https://github.com/dice-group/dice-website/commit/38f05e9fe8858d316d69938ea804b368df934763 Thanks for solving this! :)
On the start page, an icon and a link to our CKAN could be added. That could be done in the same way as for YouTube etc.
I tried to edit scripts/src/components/social/index.js and add the following code:
That produced an error.
Also updating to the newest version
"react-icons": "^4.3.1",
did not work. Okay, I expected that.There is an issue on adding the icon. I could not solve it fastly, so here is a nice issue.