Skip to content

Commit

Permalink
Fix links and textPrimary
Browse files Browse the repository at this point in the history
Update webui version
  • Loading branch information
amvanbaren committed Aug 8, 2023
1 parent d4f1ad7 commit c02c8da
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ RUN corepack enable
RUN corepack prepare yarn@stable --activate

# bump to update website
ENV WEBSITE_VERSION 0.10.0-next.d3de6d5
ENV WEBSITE_VERSION 0.10.0-next.9b39d3d
COPY . /workdir

RUN /usr/bin/yarn --cwd website \
Expand Down
2 changes: 1 addition & 1 deletion website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"repository": "https://github.com/eclipse/open-vsx.org",
"license": "EPL-2.0",
"dependencies": {
"openvsx-webui": "0.10.0-next.d3de6d5"
"openvsx-webui": "0.10.0-next.9b39d3d"
},
"devDependencies": {
"@types/markdown-it": "^12.2.3",
Expand Down
12 changes: 6 additions & 6 deletions website/src/about.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,35 +33,35 @@ const About = () => {
<Paragraph variant='body1'>
Open VSX is an open-source registry for VS Code extensions.
It can be used by any development environment that supports such extensions.
See <Link color='secondary' href='https://www.eclipse.org/community/eclipse_newsletter/2020/march/1.php'>this article</Link> for
See <Link color='secondary' underline='hover' href='https://www.eclipse.org/community/eclipse_newsletter/2020/march/1.php'>this article</Link> for
more information.
</Paragraph>
<Paragraph variant='body1'>
This service is operated by the <Link color='secondary' href='https://www.eclipse.org/'>Eclipse Foundation</Link>.
</Paragraph>
<Paragraph variant='body1'>
The source code of Open VSX is managed by
the <Link color='secondary' href='https://projects.eclipse.org/projects/ecd.openvsx'>Eclipse Open VSX</Link> project
the <Link color='secondary' underline='hover' href='https://projects.eclipse.org/projects/ecd.openvsx'>Eclipse Open VSX</Link> project
and is licensed under
the <Link color='secondary' href='https://www.eclipse.org/legal/epl-2.0/'>Eclipse Public License v2.0</Link>.
the <Link color='secondary' underline='hover' href='https://www.eclipse.org/legal/epl-2.0/'>Eclipse Public License v2.0</Link>.
The code is split in two repositories:
</Paragraph>
<RepositoryList>
<li>
<Link color='secondary' href='https://github.com/eclipse/openvsx'>eclipse/openvsx</Link> &ndash;
<Link color='secondary' underline='hover' href='https://github.com/eclipse/openvsx'>eclipse/openvsx</Link> &ndash;
main code with server, web UI and CLI. These components can be reused to deploy other registry instances
(both public and private).
</li>
<li>
<Link color='secondary' href='https://github.com/EclipseFdn/open-vsx.org'>EclipseFdn/open-vsx.org</Link> &ndash;
<Link color='secondary' underline='hover' href='https://github.com/EclipseFdn/open-vsx.org'>EclipseFdn/open-vsx.org</Link> &ndash;
additional code for this website.
</li>
</RepositoryList>

<Heading variant='h5'>Publishing Extensions</Heading>
<Paragraph variant='body1'>
The publishing process is described in
the <Link color='secondary' href='https://github.com/eclipse/openvsx/wiki/Publishing-Extensions#how-to-publish-an-extension'>openvsx Wiki</Link>.
the <Link color='secondary' underline='hover' href='https://github.com/eclipse/openvsx/wiki/Publishing-Extensions#how-to-publish-an-extension'>openvsx Wiki</Link>.
</Paragraph>
</Container>;
}
Expand Down
10 changes: 5 additions & 5 deletions website/src/footer-content.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ import GitHubIcon from '@mui/icons-material/GitHub';
import ExpandLessIcon from '@mui/icons-material/ExpandLess';

const styles = {
link: {
color: 'text.primary',
link: (theme: Theme) =>({
color: theme.palette.text.primary,
textDecoration: 'none',
'&:hover': {
color: 'secondary.main',
color: theme.palette.secondary.main,
textDecoration: 'none'
}
},
}),
repositoryLink: {
display: 'flex',
alignItems: 'center',
Expand All @@ -39,7 +39,7 @@ const styles = {
};

const LegalLink = styled(RouteLink)(({ theme }: { theme: Theme }) => ({
...styles.link,
...styles.link(theme),
fontWeight: theme.typography.fontWeightLight
}));

Expand Down
2 changes: 1 addition & 1 deletion website/src/menu-content.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const itemIcon = {

const MobileMenuItemText: FunctionComponent<PropsWithChildren> = ({ children }) => {
return (
<Typography variant='body2' color='textPrimary' sx={{ display: 'flex', alignItems: 'center' }}>
<Typography variant='body2' sx={{ color: 'text.primary', display: 'flex', alignItems: 'center' }}>
{children}
</Typography>
);
Expand Down
8 changes: 4 additions & 4 deletions website/src/page-settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default function createPageSettings(theme: Theme, prefersDarkMode: boolea
</Box>
<Typography variant='body1'>
We've established a working group devoted entirely to the operation, maintenance, and promotion of the Open VSX Registry. Read more in our recent&nbsp;
<Link color='secondary' href="https://www.globenewswire.com/news-release/2023/06/27/2695137/0/en/The-Open-VSX-Registry-a-Vendor-Neutral-Community-Supported-Alternative-to-the-Visual-Studio-Marketplace-Gets-its-Own-Working-Group-at-the-Eclipse-Foundation.html">press release</Link>.
<Link color='secondary' underline='hover' href="https://www.globenewswire.com/news-release/2023/06/27/2695137/0/en/The-Open-VSX-Registry-a-Vendor-Neutral-Community-Supported-Alternative-to-the-Visual-Studio-Marketplace-Gets-its-Own-Working-Group-at-the-Eclipse-Foundation.html">press release</Link>.
</Typography>
</Box>;

Expand All @@ -52,7 +52,7 @@ export default function createPageSettings(theme: Theme, prefersDarkMode: boolea
<Box mt={1}>
<Typography variant='body2'>
By clicking download, you accept this website&apos;s&nbsp;
<Link color='secondary' href='https://open-vsx.org/terms-of-use'>
<Link color='secondary' underline='hover' href='https://open-vsx.org/terms-of-use'>
Terms of Use
</Link>.
</Typography>
Expand All @@ -72,15 +72,15 @@ export default function createPageSettings(theme: Theme, prefersDarkMode: boolea
const extensionURL = encodeURIComponent(`${location.protocol}//${location.hostname}/extension/${extension.namespace}/${extension.name}`);
return <Link
href={`mailto:[email protected]?subject=Report%20Abuse%20-%20${extension.namespace}.${extension.name}&Body=${reportAbuseText}%0A%0A${extensionURL}`}
variant='body2' color='secondary' sx={sx} >
variant='body2' color='secondary' underline='hover' sx={sx} >
Report Abuse
</Link>;
};

//---------- CLAIM NAMESPACE LINK
const claimNamespace: FunctionComponent<{ extension: Extension, sx: SxProps<Theme> }> = ({ sx }) => <Link
href='https://github.com/EclipseFdn/open-vsx.org/issues/new/choose'
target='_blank' variant='body2' color='secondary' sx={sx} >
target='_blank' variant='body2' color='secondary' underline='hover' sx={sx} >
Claim Ownership
</Link>;

Expand Down
10 changes: 5 additions & 5 deletions website/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2281,7 +2281,7 @@ __metadata:
"@types/react-router-dom": ^5.3.3
css-loader: ^6.8.1
express: ^4.18.2
openvsx-webui: 0.10.0-next.d3de6d5
openvsx-webui: 0.10.0-next.9b39d3d
source-map-loader: ^4.0.1
style-loader: ^3.3.3
typescript: ~5.1.6
Expand All @@ -2300,9 +2300,9 @@ __metadata:
languageName: node
linkType: hard

"openvsx-webui@npm:0.10.0-next.d3de6d5":
version: 0.10.0-next.d3de6d5
resolution: "openvsx-webui@npm:0.10.0-next.d3de6d5"
"openvsx-webui@npm:0.10.0-next.9b39d3d":
version: 0.10.0-next.9b39d3d
resolution: "openvsx-webui@npm:0.10.0-next.9b39d3d"
dependencies:
"@emotion/react": ^11.11.1
"@emotion/styled": ^11.11.0
Expand All @@ -2328,7 +2328,7 @@ __metadata:
react-router-dom: ^6.14.1
peerDependencies:
"@babel/core": ^7.0.0
checksum: ac317fc2279e2d2ec3c1bab330268170ab27373ba5102136e9722cffbc07dfd1d4bcc2ce26c75bb1ff9abd08eb4338ff8ba30f7395adb044f0dfa2740f43e0ca
checksum: 795947c2b3cf1dfbd45eb775f51b14dce516fb2a1aefc83cb02736bc2e77dc3fb7f37b5b35d090205ff64944531b43e83f3e4f2bbbc50d943bc6de47598d1070
languageName: node
linkType: hard

Expand Down

0 comments on commit c02c8da

Please sign in to comment.