Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compose app tiles from a predetermined list of app Client ID's #7

Merged
merged 10 commits into from
Jul 28, 2022

Conversation

axellorreyne
Copy link
Collaborator

No description provided.

js/apps.js Show resolved Hide resolved
js/index.js Outdated
@@ -45,13 +27,13 @@ async function makeAppTile(app) {
$div.setAttribute('style', 'width: 13rem');

const $link = document.createElement('a');
$link.setAttribute('href', app.link);
$link.setAttribute('href', app.uri);
$link.setAttribute('target', '_blank');

const $img = document.createElement('img');
$img.setAttribute('class', 'card-img-top p-5');
$img.setAttribute('style', 'cursor: pointer');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be in a separate stylesheet file.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I moved all the loose styles to a stylesheet in 52ff573

js/apps.js Outdated
@@ -0,0 +1,41 @@

// function that will query the necessary data from a Solid app using their ClientID's and the Comunica SPARQL query
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The documentation should like

/**
 * Blend two colors together.
 * @param {string} color1 - The first color, in hexadecimal format.
 * @param {string} color2 - The second color, in hexadecimal format.
 * @return {string} The blended color.
 */

Webstorm will add placeholder if you type /**.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Documentation was updated in 0a39c94

js/apps.js Show resolved Hide resolved
js/apps.js Show resolved Hide resolved
@axellorreyne axellorreyne merged commit 705d3e4 into main Jul 28, 2022
@axellorreyne axellorreyne deleted the clientid branch July 28, 2022 12:29
@axellorreyne
Copy link
Collaborator Author

Fixes #2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants