Skip to content

Commit

Permalink
Merge pull request #175 from aziontech/fix/genereal-cleanup
Browse files Browse the repository at this point in the history
fix: general cleanup
  • Loading branch information
pablodiehl authored Nov 13, 2024
2 parents 987343f + 50c5187 commit 3ee4ad5
Show file tree
Hide file tree
Showing 15 changed files with 12 additions and 68 deletions.
1 change: 0 additions & 1 deletion templates/astro/devscard/docs/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,4 @@

## External links

- [Example resume](https://devscard.netlify.app)
- [GitHub repository](https://github.com/KonradSzwarc/devscard)
31 changes: 0 additions & 31 deletions templates/astro/devscard/docs/setup-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,34 +37,3 @@ To fill the CV with your data, go to the `src/data` directory. There you should

Within the main section, you will find an `action` property. It allows you to provide a pdf resume to download. If you don't have one, feel free to use our CV generator by invoking `npm run generate-pdf`. Generated resume will be placed in `public/cv.pdf` and use the same data as the web one. You can learn more about PDF generation [here](./pdf-generation.md).

## 4. Deploy to Netlify

{% hint style="info" %}
As the resume is entirely static, you can deploy it to any hosting provider. In this guide, we use Netlify as it's free and easy to set up.
{% endhint %}

1\. Create a commit for your CV updates and push it to GitHub.

2\. Create a [Netlify](https://www.netlify.com/) account.

3\. Go to the "Sites" tab and choose "Import from Git".

<figure><img src=".gitbook/assets/netlify-import-project.png" alt=""><figcaption></figcaption></figure>

4\. Connect Netlify with your GitHub account.

<figure><img src=".gitbook/assets/netlify-connect-github.png" alt=""><figcaption></figcaption></figure>

5\. Pick a repository with your forked project

<figure><img src=".gitbook/assets/netlify-pick-repository.png" alt=""><figcaption></figcaption></figure>

6\. On the last step, go with the default settings suggested by Netlify and click "Deploy site".

<figure><img src=".gitbook/assets/netlify-build-settings.png" alt=""><figcaption></figcaption></figure>

7\. After around one minute, your resume will be live 🎉

<figure><img src=".gitbook/assets/netlify-deployed-site.png" alt=""><figcaption></figcaption></figure>

From now on, each push to `main` branch will cause redeploy of the Netlify website. You may want to go to the "Site settings" tab to update your site name or even [set up your domain](https://youtu.be/bY7Tkh9Vz8I).
3 changes: 1 addition & 2 deletions templates/astro/sanity-astro-clean/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,8 @@ import sanity from "@sanity/astro";
const projectId = PUBLIC_SANITY_STUDIO_PROJECT_ID || PUBLIC_SANITY_PROJECT_ID;
const dataset = PUBLIC_SANITY_STUDIO_DATASET || PUBLIC_SANITY_DATASET;

// Change this depending on your hosting provider (Vercel, Netlify etc)
// Change this depending on your hosting provider
// https://docs.astro.build/en/guides/server-side-rendering/#adding-an-adapter
import vercel from "@astrojs/vercel/serverless";

// https://astro.build/config
export default defineConfig({
Expand Down
2 changes: 1 addition & 1 deletion templates/eleventy/eleventy-11st-starter-kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"bugs": {
"url": "https://github.com/stefanfrede/11st-starter-kit/issues"
},
"homepage": "https://11st-starter-kit.netlify.app",
"homepage": "https://wfp2iybds9.map.azionedge.net",
"lint-staged": {
"*.html": "prettier --write",
"*.css": "stylelint --cache --fix",
Expand Down
5 changes: 0 additions & 5 deletions templates/eleventy/eleventy-mobile11ty/404.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,4 @@ Go <a href="{{ '/' | url }}">home</a>.

{#
Read more: https://www.11ty.dev/docs/quicktips/not-found/

This will work for both GitHub pages and Netlify:

* https://help.github.com/articles/creating-a-custom-404-page-for-your-github-pages-site/
* https://www.netlify.com/docs/redirects/#custom-404
#}
13 changes: 2 additions & 11 deletions templates/eleventy/eleventy-mobile11ty/posts/host.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@ tags:
- deploy eleventy
- Static host
- github
- heroku
- firebase
- surge
- netlify
- azion
layout: layouts/post.njk
---

Expand All @@ -26,13 +23,7 @@ After your project work is finished, then you can deploy to static hosts, there

The following is a static list of hosting that is commonly used for site deployment.

+ [Netlify](https://www.netlify.com/)
+ [Vercel](https://vercel.com)
+ [Heroku](https://heroku.com)
+ [Firebase](https://firebase.google.com/)
+ [Cloudflare](https://cloudflare.com/)
+ [Surge](https://surge.sh/)
+ [Github]()
+ [Azion](https://www.azion.com/)

Please read the documentation on each vendor's site above to get your site online

2 changes: 1 addition & 1 deletion templates/eleventy/eleventy-photo-gallery/src/404.njk
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Oops, Page Not Found!
meta_desc: Oh no! You have requested a page that does not exist.
url: https://eleventy-gallery.netlify.app
url: https://f1dp73qktv.map.azionedge.net
img: /images/highway-water.jpg
alt: Terrace outside shop window with green plants and pink tree on night street
cardType: summary_large_image
Expand Down
2 changes: 1 addition & 1 deletion templates/eleventy/eleventy-photo-gallery/src/about.njk
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: About - Eleventy Photo Gallery
meta_desc: A page about John Smith, and photography. This template is currently the default version so add your own about me page info here.
url: https://eleventy-gallery.netlify.app/about
url: https://f1dp73qktv.map.azionedge.net/about
img: /images/terrace-window.jpg
alt: Terrace outside shop window with green plants and pink tree on night street
eleventyNavigation:
Expand Down
2 changes: 1 addition & 1 deletion templates/eleventy/eleventy-photo-gallery/src/feature.njk
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pagination:
size: 1
alias: image
permalink: "/gallery/{{ image.title | slug }}/"
url: https://eleventy-gallery.netlify.app
url: https://f1dp73qktv.map.azionedge.net
---
<!DOCTYPE html>
<html lang="en-US" dir="ltr">
Expand Down
2 changes: 1 addition & 1 deletion templates/eleventy/eleventy-photo-gallery/src/gallery.njk
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ eleventyNavigation:
layout: main.njk
permalink: "/gallery/"
meta_desc: A collection of images from John Smith's gallery.
url: https://eleventy-gallery.netlify.app/gallery
url: https://f1dp73qktv.map.azionedge.net/gallery
img: /images/terrace-window.jpg
alt: Terrace outside shop window with green plants and pink tree on night street
cardType: summary_large_image
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ const HowToUsePage = (props) => {
(Matter.).
</p>
<p>
The Sydney theme is built for Netlify as an ecommerce theme
The Sydney theme is built as an ecommerce theme
suitable for JAMStack archtitecture. This theme is free to use
through Netlify’s GitHub account, and can be used with any
and can be used with any
ecommerce platform that support a headless architecture.
</p>
<p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
title: "Ananke: a Hugo Theme"

description: "The last theme you'll ever need. Maybe."
# 1. To ensure Netlify triggers a build on our exampleSite instance, we need to change a file in the exampleSite directory.
theme_version: '2.8.2'
cascade:
featured_image: '/images/gohugo-default-sample-hero-image.jpg'
Expand Down
8 changes: 0 additions & 8 deletions templates/hugo/vex-hugo/themes/vex-hugo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,6 @@ $ hugo server --themesDir ../..

Or Check out [Full Documentation](https://docs.gethugothemes.com/vex/?ref=github).


## ⚙️Deployment and hosting

[![Deploy to
Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/themefisher/vex-hugo)

Follow the steps.

<!-- reporting issue -->
## 🐞Reporting Issues

Expand Down
2 changes: 1 addition & 1 deletion templates/jekyll/supply/_pages/contact.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
{% include formcarry.html %}

{% comment %}
This is an example of how to set up a map, if you uncomment this, the map will work locally and on your own server (AWS, Netlify, etc.) but won't work with GitHub Pages.
This is an example of how to set up a map, if you uncomment this, the map will work locally and on your own server.
{% endcomment %}

{% leaflet_map {"zoom" : 6 } %}
Expand Down
2 changes: 1 addition & 1 deletion templates/nuxt/nuxt-content-template/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,6 @@ export default defineNuxtConfig({
},
},
image: {
provider: "netlify", // Use your own provider!
provider: "azion", // Use your own provider!
},
});

0 comments on commit 3ee4ad5

Please sign in to comment.