-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
upgrade to vite-plugin-press v1.0.6 + add whatsnew feature
- Loading branch information
Showing
18 changed files
with
200 additions
and
18 deletions.
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions
13
MyApp.Client/src/_whatsnew/2023-03-08_Animaginary/feature1.md
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,13 @@ | ||
--- | ||
title: Animaginary | ||
url: /blog | ||
image: /img/whatsnew/animaginary.svg | ||
--- | ||
|
||
Introducing Animaginary, the next generation web animation library that's taking the world by storm. | ||
Animaginary is a high performance library that's hand-written in optimized WebAssembly (WASM), | ||
making it one of the fastest and most efficient animation tools available today. | ||
|
||
Built with performance in mind, Animaginary delivers stunning animations that are both smooth and seamless, even on lower-end devices. | ||
The library is designed to provide developers with a powerful toolset that makes it easy to create | ||
complex animations that would otherwise be time-consuming and challenging to build. |
14 changes: 14 additions & 0 deletions
14
MyApp.Client/src/_whatsnew/2023-03-18_OpenShuttle/feature1.md
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,14 @@ | ||
--- | ||
title: OpenShuttle | ||
url: https://example.org | ||
image: /img/whatsnew/open-shuttle.svg | ||
--- | ||
|
||
Introducing OpenShuttle, the revolutionary new product that is set to change the space industry forever. OpenShuttle is a cutting-edge | ||
platform that provides detailed schematics for the very first rocket designed by me, which successfully made it to orbit. | ||
This incredible product is designed to give space enthusiasts and professionals alike access to the groundbreaking technology that | ||
was used to achieve this monumental feat. | ||
|
||
OpenShuttle is the result of years of hard work and dedication, and I am thrilled to finally be able to share it with the world. | ||
With its detailed schematics, OpenShuttle provides an unprecedented level of insight into the inner workings of the rocket, | ||
allowing users to explore the technology that made history. |
15 changes: 15 additions & 0 deletions
15
MyApp.Client/src/_whatsnew/2023-03-28_Planetaria/feature1.md
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,15 @@ | ||
--- | ||
title: Planetaria | ||
url: http://planetaria.tech | ||
image: /img/whatsnew/planetaria.svg | ||
--- | ||
|
||
Welcome to the world of Planetaria, a groundbreaking new product that is poised to revolutionize the way we explore space. | ||
At Planetaria, we believe that the wonders of space should be accessible to everyone, not just a privileged few. | ||
That's why we've created technology that empowers civilians to explore space on their own terms, without needing to rely | ||
on government agencies or billionaire entrepreneurs. | ||
|
||
Our mission is to democratize space exploration and enable people from all walks of life to experience the thrill of | ||
venturing beyond our planet. With Planetaria, you'll have the tools and resources you need to embark on your own space missions, | ||
whether you're a hobbyist, a scientist, or an adventurer. From designing and building your own spacecraft to conducting experiments | ||
in microgravity, the possibilities are endless. |
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
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
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
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,72 @@ | ||
<template> | ||
<div class="container mx-auto px-5"> | ||
<section class="flex-col md:flex-row flex justify-center mt-16 mb-16 md:mb-12"> | ||
<h1 class="mx-auto max-w-4xl font-display text-5xl font-medium tracking-tight text-slate-900 sm:text-7xl"> | ||
Latest features & highlights | ||
</h1> | ||
</section> | ||
</div> | ||
<div class="relative px-6 pt-16 pb-20 lg:px-8 lg:pt-24 lg:pb-28"> | ||
<div v-for="(features, release) in releases" class="relative mx-auto max-w-7xl"> | ||
<h2 class="text-center mb-4 text-6xl md:text-7xl font-bold tracking-tighter leading-tight">{{ releaseVersion(release as string) }}</h2> | ||
<div class="text-center text-lg font-normal text-gray-500 mb-8">{{ formatDate(releaseDate(release as string)) }}</div> | ||
<div v-for="feature in features" class="flex flex-wrap my-24"> | ||
<div class="w-full sm:w-1/2 animated px-4"> | ||
<RouterLink :to="feature.url"><img :src="feature.image" alt="" loading="lazy"></RouterLink> | ||
</div> | ||
<div class="w-full sm:w-1/2 text-left wow fadeInLeft animated px-4"> | ||
<h3 class="m-0 mb-4"> | ||
<RouterLink class="text-2xl font-normal text-blue-500 hover:text-blue-600" :to="feature.url">{{ feature.title }}</RouterLink> | ||
</h3> | ||
<div class="prose max-w-none"> | ||
<MarkdownComponent type="whatsNew" :doc="feature" :group="(release as string)" /> | ||
</div> | ||
<div class="text-center sm:text-left my-10"> | ||
<RouterLink :to="feature.url" class="text-white text-sm font-semibold py-2.5 px-3.5 rounded outline-none focus:outline-none mr-1 mb-1 bg-slate-700 active:bg-slate-600 shadow hover:shadow-lg ease-linear transition-all duration-150"> | ||
Learn more | ||
</RouterLink> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<script setup lang="ts"> | ||
import type { VirtualPress } from "vite-plugin-press" | ||
import { inject } from "vue" | ||
import { leftPart, rightPart } from "@servicestack/client" | ||
const press:VirtualPress = inject('press')! | ||
const releases = press.whatsNew | ||
function formatDate(date:string) { | ||
return new Date(date).toLocaleDateString('en-US', { year: 'numeric', month: 'long', day: 'numeric' }) | ||
} | ||
function releaseDate(release:string) { | ||
return leftPart(release, '_') | ||
} | ||
function releaseVersion(release:string) { | ||
return rightPart(release, '_') | ||
} | ||
</script> | ||
|
||
<style scoped> | ||
.prose a { | ||
--tw-text-opacity: 1;color: rgba(59, 130, 246, var(--tw-text-opacity)); /*text-blue-500*/ | ||
-webkit-transition: all ease 0.25s; | ||
transition: all ease 0.25s; | ||
text-decoration: none; | ||
} | ||
.prose a:hover { | ||
--tw-text-opacity: 1;color: rgba(37, 99, 235, var(--tw-text-opacity)); /*text-blue-600*/ | ||
text-decoration: none; | ||
} | ||
.prose p { | ||
color: rgb(55 65 81); /*text-gray-700*/ | ||
} | ||
.dark .prose p { | ||
color: rgb(229 231 235); /*text-gray-200*/ | ||
} | ||
</style> |
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