diff --git a/.gitignore b/.gitignore index f626b9b..f4872db 100644 --- a/.gitignore +++ b/.gitignore @@ -18,4 +18,4 @@ resources/service stats.html .openmcp test-vsix -resources/changelog/index.html \ No newline at end of file +resources/changelog/** \ No newline at end of file diff --git a/news/.gitignore b/news/.gitignore index 8ee54e8..3918634 100644 --- a/news/.gitignore +++ b/news/.gitignore @@ -28,3 +28,4 @@ coverage *.sw? *.tsbuildinfo +./src/data.json \ No newline at end of file diff --git a/news/env.d.ts b/news/env.d.ts index 11f02fe..47454d4 100644 --- a/news/env.d.ts +++ b/news/env.d.ts @@ -1 +1,6 @@ /// +declare module '*.vue' { + import { DefineComponent } from 'vue' + const component: DefineComponent<{}, {}, any> + export default component +} \ No newline at end of file diff --git a/news/index.html b/news/index.html index 82d148c..966b768 100644 --- a/news/index.html +++ b/news/index.html @@ -7,7 +7,7 @@ - Vite App + OpenMCP News Feature diff --git a/news/package-lock.json b/news/package-lock.json index 0277354..4a0a287 100644 --- a/news/package-lock.json +++ b/news/package-lock.json @@ -8,6 +8,7 @@ "name": "news", "version": "0.0.0", "dependencies": { + "vanilla-tilt": "^1.8.1", "vue": "^3.5.17" }, "devDependencies": { @@ -2983,6 +2984,12 @@ "browserslist": ">= 4.21.0" } }, + "node_modules/vanilla-tilt": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/vanilla-tilt/-/vanilla-tilt-1.8.1.tgz", + "integrity": "sha512-hPB1XUsnh+SIeVSW2beb5RnuFxz4ZNgxjGD78o52F49gS4xaoLeEMh9qrQnJrnEn/vjjBI7IlxrrXmz4tGV0Kw==", + "license": "MIT" + }, "node_modules/vite": { "version": "7.0.2", "resolved": "https://registry.npmjs.org/vite/-/vite-7.0.2.tgz", diff --git a/news/package.json b/news/package.json index 718d98b..7145960 100644 --- a/news/package.json +++ b/news/package.json @@ -11,6 +11,7 @@ "type-check": "vue-tsc --build" }, "dependencies": { + "vanilla-tilt": "^1.8.1", "vue": "^3.5.17" }, "devDependencies": { diff --git a/news/src/App.vue b/news/src/App.vue index 8f5338f..0b7b281 100644 --- a/news/src/App.vue +++ b/news/src/App.vue @@ -5,9 +5,10 @@ import OmMoreFeature from './components/MoreFeature.vue'; import OmCoreFeature from './components/CoreFeature.vue'; import OmSponsor from './components/Sponsor.vue'; import OmResource from './components/Resource.vue'; -import OmTroubleshoot from './components/Trouble.vue'; +import OmTroubleshoot from './components/Troubleshoot.vue'; +import OmContributor from './components/Contributor.vue'; -import data from './data.json'; +import data from './data.json';`` @@ -32,6 +33,9 @@ import data from './data.json'; + + + @@ -95,15 +99,20 @@ body { gap: 24px; margin: 0 0 32px 0; padding: 0 0 16px 0; - border-bottom: 1px solid #B988D1; +} + +@media screen and (max-width: 600px) { + .openmcp-header { + flex-direction: column; + align-items: center; + } + } .openmcp-logo { width: 84px; height: 84px; border-radius: 16px; - background: var(--vscode-sideBar-background); - box-shadow: 0 2px 8px 0 rgba(185, 136, 209, 0.08); } .margin-bottom { diff --git a/news/src/components/Contributor.vue b/news/src/components/Contributor.vue new file mode 100644 index 0000000..d3e7c9a --- /dev/null +++ b/news/src/components/Contributor.vue @@ -0,0 +1,98 @@ + + + + + + \ No newline at end of file diff --git a/news/src/components/Header.vue b/news/src/components/Header.vue index 70b98a4..f364935 100644 --- a/news/src/components/Header.vue +++ b/news/src/components/Header.vue @@ -64,9 +64,18 @@ const props = defineProps({ + +
\ No newline at end of file diff --git a/news/src/components/Sponsor.vue b/news/src/components/Sponsor.vue index 3aaa997..fdf7d0a 100644 --- a/news/src/components/Sponsor.vue +++ b/news/src/components/Sponsor.vue @@ -13,7 +13,7 @@ Github
-