-
Notifications
You must be signed in to change notification settings - Fork 73
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
Split Theia IDE and platform website #659
Open
JonasHelming
wants to merge
4
commits into
master
Choose a base branch
from
GH-658
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 3 commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/******************************************************************************** | ||
* Copyright (C) 2020 TypeFox and others. | ||
* | ||
* This program and the accompanying materials are made available under the | ||
* terms of the Eclipse Public License v. 2.0 which is available at | ||
* http://www.eclipse.org/legal/epl-2.0. | ||
* | ||
* This Source Code may also be made available under the following Secondary | ||
* Licenses when the conditions for such availability set forth in the Eclipse | ||
* Public License v. 2.0 are satisfied: GNU General Public License, version 2 | ||
* with the GNU Classpath Exception which is available at | ||
* https://www.gnu.org/software/classpath/license.html. | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 | ||
********************************************************************************/ | ||
const PlatformHeader = () => ( | ||
<div className="header__banner"> | ||
<h2 style={{ fontSize: '2.1rem' }}> | ||
<a href="https://eclipsesource.com/blogs/2024/11/07/eclipse-theia-1-54-release-news-and-noteworthy/" rel="noopener noreferrer">Learn about the latest 1.55 Release</a> and <a href="https://eclipsesource.com/blogs/2024/09/12/the-eclipse-theia-community-release-2024-08/">the latest Community Release (2024-08)</a>. | ||
<br /> | ||
Stay up-to-date: <a href="https://twitter.com/theia_ide">follow us on Twitter</a> and <a href="https://accounts.eclipse.org/mailing-list/friends-of-theia">register to the "Friends of Theia" mailing list</a>. | ||
</h2> | ||
</div> | ||
) | ||
|
||
export default PlatformHeader |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,126 @@ | ||
/******************************************************************************** | ||
* Copyright (C) 2020 TypeFox and others. | ||
* | ||
* This program and the accompanying materials are made available under the | ||
* terms of the Eclipse Public License v. 2.0 which is available at | ||
* http://www.eclipse.org/legal/epl-2.0. | ||
* | ||
* This Source Code may also be made available under the following Secondary | ||
* Licenses when the conditions for such availability set forth in the Eclipse | ||
* Public License v. 2.0 are satisfied: GNU General Public License, version 2 | ||
* with the GNU Classpath Exception which is available at | ||
* https://www.gnu.org/software/classpath/license.html. | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 | ||
********************************************************************************/ | ||
|
||
import Background from '../../resources/background-image.png' | ||
import Nav from '../Nav' | ||
import React from 'react' | ||
import CommonNews from './CommonNews' | ||
import { breakpoints } from '../../utils/variables' | ||
import styled from '@emotion/styled' | ||
|
||
const StyledHeader = styled.div` | ||
.header { | ||
position: relative; | ||
background-image: url(${Background}); | ||
background-size: cover; | ||
background-repeat: no-repeat; | ||
border-bottom: 10px solid #f8f8f8; | ||
@media(max-width: ${breakpoints.xmd}) { | ||
padding-top: 15rem; | ||
} | ||
&__logo-box { | ||
margin-bottom: 3rem; | ||
} | ||
&__logo { | ||
height: 3rem; | ||
} | ||
.banner__image { | ||
height: auto; | ||
width: 45rem; /* Default width */ | ||
|
||
@media (max-width: 800px) { | ||
width: 35rem; /* Adjust for medium screens */ | ||
} | ||
|
||
@media (max-width: 500px) { | ||
width: 25rem; /* Further reduce width for smaller screens */ | ||
} | ||
|
||
@media (max-width: 385px) { | ||
width:20rem; /* Even smaller for very narrow screens */ | ||
} | ||
} | ||
&__banner { | ||
padding: 15px; | ||
text-align: center; | ||
} | ||
h1 { | ||
margin-bottom: 1rem; | ||
font-size: 3.4rem; | ||
} | ||
.btn { | ||
max-width: 21rem; | ||
@media(max-width: 385px) { | ||
&:not(:last-child) { | ||
margin-right: 0; | ||
} | ||
} | ||
@media(max-width: 800px) { | ||
&:not(:last-child) { | ||
margin-right: 2rem; | ||
} | ||
} | ||
} | ||
&__github-details { | ||
position: absolute; | ||
top: 10rem; | ||
right: 2rem; | ||
} | ||
&__buttons { | ||
display:flex; | ||
justify-content: space-evenly; | ||
align-items: center; | ||
text-align: center; | ||
padding: 3rem 10vw; | ||
@media(max-width: 800px){ | ||
padding: 3rem 0; | ||
} | ||
|
||
} | ||
iframe { | ||
height: 2.5rem; | ||
width: 12rem; | ||
} | ||
} | ||
` | ||
|
||
const PlatformHeader = () => ( | ||
<StyledHeader> | ||
<header className='header' role="banner"> | ||
<div className="row"> | ||
<Nav shouldRenderLogo={true} /> | ||
<div className="header__github-details"> | ||
<iframe title="Github Star Count" className="header__github-button" src="https://ghbtns.com/github-btn.html?user=eclipse-theia&repo=theia&type=star&count=true" frameBorder={0} scrolling={0} /> | ||
<iframe title="Github Fork Count" className="header__github-button" src="https://ghbtns.com/github-btn.html?user=eclipse-theia&repo=theia&type=fork&count=true" frameBorder={0} scrolling={0} /> | ||
</div> | ||
<h1 className="heading-primary"> | ||
The Eclipse Theia Platform | ||
</h1> | ||
<h2 style={{ fontSize: '2.1rem' }}> | ||
An Open, Flexible and Extensible Platform to efficiently develop and deliver Cloud & Desktop IDEs and tools with modern web technologies. The <a href="#theiaide"><b>Theia IDE</b></a> is a standard IDE built on the Theia Platform. | ||
</h2> | ||
<div className="header__buttons"> | ||
<a className="btn" href="#gettingstarted" target="_blank" rel="noopener noreferrer">Get started with the Theia Platform</a> | ||
<a className="btn btn--cta" href="https://try.theia-cloud.io/" rel="noopener">Try Theia IDE online</a> | ||
<a style ={{backgroundColor: "#0B5394", borderColor: "#0B5394"}} className="btn btn--cta" href="/#theiaide" rel="noopener">Get Theia IDE for desktop</a> | ||
</div> | ||
</div> | ||
<CommonNews/> | ||
</header> | ||
</StyledHeader> | ||
) | ||
|
||
export default PlatformHeader |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
import React from 'react' | ||
import BaseHead from './basehead' | ||
|
||
const HeadWithPlatformSchema = ({ canonical }) => ( | ||
<> | ||
<BaseHead canonical={canonical} /> | ||
{/* JSON-LD for Theia Platform */} | ||
<script | ||
type="application/ld+json" | ||
dangerouslySetInnerHTML={{ | ||
__html: JSON.stringify({ | ||
"@context": "https://schema.org", | ||
"@type": "SoftwareApplication", | ||
"name": "Theia Platform", | ||
"url": "https://theia-ide.org/", | ||
"image": "https://theia-ide.org/static/TheiaPlatform.png", | ||
"description": "Theia Platform is an extensible open-source framework for building customizable integrated development environments (IDEs) for desktop and web.", | ||
"applicationCategory": "DeveloperApplication", | ||
"applicationSubCategory": "FrameworkApplication", | ||
"softwareRequirements": "Compatible with VS Code extensions", | ||
"operatingSystem": "Linux, macOS, Windows", | ||
"author": { | ||
"@type": "Organization", | ||
"name": "Eclipse Foundation", | ||
"url": "https://www.eclipse.org/" | ||
}, | ||
"publisher": { | ||
"@type": "Organization", | ||
"name": "Eclipse Foundation", | ||
"url": "https://www.eclipse.org/" | ||
}, | ||
"keywords": [ | ||
"custom IDE", "build custom IDE", "custom IDE Framework", | ||
"alternative VS Code", "alternative Code OSS", "build custom tool", | ||
"custom tool framework" | ||
], | ||
"license": "Eclipse Public License 2.0", | ||
"featureList": [ | ||
"AI-powered", "Open-source", "Build tailored IDEs and Tools", | ||
"Cross-platform support", "VS Code extension compatibility", | ||
"Desktop, browser and cloud support" | ||
] | ||
}) | ||
}} | ||
/> | ||
</> | ||
) | ||
|
||
export default HeadWithPlatformSchema |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one gives a 404