Compare commits

...

2 Commits

Author SHA1 Message Date
jeangab
d72f4212a3 feat(sreez): Upgrade sreez website to 1.2.0 2024-04-15 10:12:12 -04:00
jeangab
225bb7bbe2 feat(sreez): Add og:image on landing page 2024-04-15 10:01:38 -04:00
5 changed files with 14 additions and 13 deletions

View File

@ -8,7 +8,7 @@ image:
repository: registry.nationtech.io/sreez-website
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
tag: "v1.1.0"
tag: "v1.2.0"
imagePullSecrets:
- name: nationtech-registry-key

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

View File

@ -1,24 +1,19 @@
#!/bin/bash
if [[ -z "${1}" ]]
then
echo "Specify the image tag as first argument to this script"
exit 1
fi
REGISTRY=registry.nationtech.io
IMAGE_NAME=sreez-website
TAG="v1.1.0"
TAG="v1.2.0"
IMAGE="${REGISTRY}/${IMAGE_NAME}:${TAG}"
echo "Going to build and push image ${IMAGE}"
echo -n "Going to build and push image ${IMAGE}. [enter] to continue "
read
docker build -t "${IMAGE}" .
#docker build -t "${IMAGE}" .
docker push "${IMAGE}"
#docker push "${IMAGE}"
echo "Image is built and pushed, do you want to commit and deploy this new version ? (enter to continue, CTRL+C to abort"
echo -n "Image is built and pushed, do you want to commit and deploy this new version ? [enter] to continue, CTRL+C to abort "
read
python ../helm/tools/update_yaml.py ../helm/sreez-website/values.yaml .image.tag "${TAG}"

View File

@ -21,7 +21,6 @@ pub fn App() -> impl IntoView {
// sets the document title
<Title text="SREEZ - Site Reliability Engineering for Everyone, eZ"/>
// content for this welcome page
<Router>
<main class="bg-main bg-light">

View File

@ -1,11 +1,18 @@
use leptos::*;
use leptos_meta::*;
use crate::components::BookADemo;
use crate::components::Footer;
/// Renders the home page of your application.
#[component]
pub fn ShortLandingPage() -> impl IntoView {
provide_meta_context();
view! {
<Meta property="og:image" content="https://sreez.nationtech.io/assets/sreez_og_banner.png"/>
<Meta property="og:image:width" content="1200"/>
<Meta property="og:image:height" content="630"/>
<div class="margin-x-auto lg-margin-x-3">
<img src="assets/sreez_logo_shaded_v2.png" aria-label="SREEZ mascot of a cherry because SREEZ sounds like 'cerise' in French which means Cherry" class="max-width-150 margin-top-5"/>
</div>