{{ .Title }}
+Description of the product.
+ +Product Details
+More detailed description of the product and its features.
+-
+
- Specification 1: Value +
- Specification 2: Value + +
Price: $XX.XX
+ +diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ac70f3d..b28df40 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,8 +9,10 @@ variables: # Major - Shouldn't change often, Big changes to the site # Minor - starts from 0 when Major is incremented +1 for each version that goes public # Release - For each time a development milestone is reached - VERSION: 1.1.0 + VERSION: 1.1.1 IMAGE_TAG: $CI_REGISTRY_IMAGE:$VERSION + # Grab Variables for TINA CMS + TINA_CID: $TINA_CID TINA_TOKEN: $TINA_TOKEN services: @@ -21,6 +23,6 @@ build: script: - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY - docker buildx create --use - - docker buildx build --no-cache --platform linux/arm64,linux/amd64 -t $IMAGE_TAG --push . + - docker buildx build --build-arg TINA_CID=${TINA_CID} --build-arg TINA_TOKEN={$TINA_TOKEN} --no-cache --platform linux/arm64,linux/amd64 -t $IMAGE_TAG --push . rules: - if: $CI_PIPELINE_SOURCE == "push" && ($CI_COMMIT_BRANCH == "main" || $CI_COMMIT_BRANCH == "staging") && $BUILD == "1" diff --git a/Dockerfile b/Dockerfile index 445a1e9..87987a7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,9 +13,9 @@ RUN git clone --recurse-submodules https://gitlab.com/AHMZA/blog.git # set blog (the folder we just cloned) as the current DIR WORKDIR blog -# set tina_token +# set tina_cid & tina_token ARG TINA_TOKEN -RUN echo $TINA_TOKEN +ARG TINA_CID RUN npm install @tinacms/cli diff --git a/assets/css/extended/style.css b/assets/css/extended/style.css index 283ceb7..0c4cb08 100644 --- a/assets/css/extended/style.css +++ b/assets/css/extended/style.css @@ -1,5 +1,6 @@ :root{ - --purple: rgb(145, 70, 255); + --purple: #9146ff; + --green: #B4FF46; } h1 { diff --git a/content/products/Skullstache-Holographic-Sticker-6.md b/content/products/Skullstache-Holographic-Sticker-6.md deleted file mode 100644 index 14b2eed..0000000 --- a/content/products/Skullstache-Holographic-Sticker-6.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -title: Skullstache Holographic Sticker -code: SkullstacheSticker -image: 'http://localhost:1313/img/SkullstacheHolographicSticker.png' ---- - -This is a set of 3 stickers you can purchase to personalise any of your surfaces. - -The sticker dimensions are: 76mm x 76mm diff --git a/content/products/Skullstache-Holographic-Sticker.md b/content/products/Skullstache-Holographic-Sticker.md new file mode 100644 index 0000000..ae80dec --- /dev/null +++ b/content/products/Skullstache-Holographic-Sticker.md @@ -0,0 +1,17 @@ +--- +layout: products +title: Skullstache Holographic Sticker +code: SkullStacheHolographicSticker +image: '/img/SkullstacheHolographicSticker.png' +shortdesc: Set of 3 Holographic Skullstache stickers +--- + +Set of 3 Holographic Skullstache stickers to personalise any of your surfaces. + +-- + +Size: 76mm x 76mm + +Count: 3 + +-- diff --git a/layouts/page/products.html b/layouts/page/products.html new file mode 100644 index 0000000..e7c7712 --- /dev/null +++ b/layouts/page/products.html @@ -0,0 +1,62 @@ + + + +
+ {{- partial "head.html" . }} + + + + + + + + + + {{- partialCached "header.html" . .Page -}} +Description of the product.
+ +More detailed description of the product and its features.
+Price: $XX.XX
+ +{{ .Params.shortdesc }}
+