Тёмный

How I use Sanity and Astro to Build Custom Content Management Systems For My Web Design Clients ⭐️ 

Jordan @ Island Web Design
Подписаться 1,9 тыс.
Просмотров 3,4 тыс.
50% 1

Exactly how we implement custom content management systems using Sanity Studio & Astro for our Web Design Clients at Island Web Design. In my last video I did a deep dive into a real client web design project and walked you through my thought process and how I go about putting these websites together at Island Web Design.
People ask me this all the time, and the comments on the last video were the same so in the first of this video series about how we use Sanity as a Content Management System at Island Web Design I am going to show you how we set up the initial Sanity project, show you some of the default schemas that we use for every project and I am even going to recreate the hero section of one of my clients websites to show you exactly how you build the content in Sanity and how you fetch it into your front end in Astro, although all of the exact same methods apply in vanillaJs.
All of the tutorials online for Astro are based around React or NextJs, trying to find information in video form on how to use Sanity in any other way is a nightmare and sends you down massive rabbit holes of blog posts and articles, trust me thats how I learnt all this.
In future videos in this series I will show you exactly how we do the more elaborate stuff with Sanity including full page builders, form builders, blogs, settings for management of seo and meta data and deploying the build straight from your Sanity Studio. We even build a custom dashboard into this studio for our clients to manage their Studio (If they have multiple team members working on it). We do so much with this and its a really interesting deep dive so if you can actually pay attention for 35 minutes then you should, if you can't well I don't know what to tell you, you wouldn't be able to build this anyway.
Timestamps:
2:30 - Setting up the lib folder for Sanity API fetch function
4:17 - Creating a Sanity project
6:51 - Installing packages
11:56 - Sanity Desk Structure Introduction
14:22 - Setting up pages in Sanity
21:29 - Front End Development
25:20 - Auto-fill stops working - Tips to fix
26:50 - Building the header in Astro
27:30 - Header styles
28:40 - Fetching content from Sanity and structuring a GROQ query
29:40 - Using switch statements to render sections conditionally
32:20 - Styling content
34:50 - Logical CSS properties and why they are better
35:05 - Finished result
⭐️ GitHub Repo: github.com/mauger1998/paragon...
⭐️ Sanity Sign Up Page: www.sanity.io/
⭐️ Sanity Desk Structure Api: www.sanity.io/docs/structure-...
⭐️ Astro Docs: docs.astro.build/en/getting-s...
⭐️ Island Web Design Website: islandwebdesign.net/
⭐️ Follow me on Instagram: / jordanislandwebdesign
#webdevelopmenttutorial #webdesigntutorial #webdesignagency #contentmanagement #webdesigntips #webdevtips #codingtips #codingtutorial #astro

Хобби

Опубликовано:

 

16 мар 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 15   
@hunterbertoson156
@hunterbertoson156 2 месяца назад
I have been fighting sanity and Astro all day. This has saved my life. Earned my sub!
@jordanislandwebdesign
@jordanislandwebdesign 2 месяца назад
I thought I'd save a few people 😎 thank you my friend
@Undividedk
@Undividedk 25 дней назад
What’s good Jordan what quality content man! Keep it up. I got a question how do you use Astro pagination in the same slug file that generates dynamic pages? I spent too much time trying to figure it out
@thatsabusinessidea
@thatsabusinessidea 2 месяца назад
I love AstroJS and Sanity and never thought to use it like this!! Great work
@carloshidalgo6315
@carloshidalgo6315 2 месяца назад
very good explanation, I hope you continue with more videos about astro and health, good content :)
@OneBrighDay
@OneBrighDay 2 месяца назад
Thanks for the tutorial, I look forward to watching the rest of them. I'm new to Astro but really, new to Sanity; so I have some questions. Why don't you use the Astro Image component? Is there a reason you don't use something like Flowbite? It would be easier than hand-constructing every component.
@koppswiss
@koppswiss 2 месяца назад
Amazing video, keep it up ! Is it not possible to use the Image component from Astro with Sanity? It is so handy to optimize images on the fly...... e: Oh and when vscode stop autofill you can do cmd + P and then type reload to just reload vscode, much faster
@jeffreyagyepong8976
@jeffreyagyepong8976 Месяц назад
is the sanity:client package depreciated? I'm getting this error "Cannot find module 'sanity:client' imported from ...."
@maxburrows57
@maxburrows57 3 месяца назад
This video is awesome! Definitely got some more knowledge to add to my Sanity/Astro projects now. Looking forward to seeing more in depth in future, especially the full website builder you mentioned at the end. Also wondering how you deploy these sites? Typically when using Astro I find I need to deploy with netlify and add a netlify.toml file to set the build settings, but then the site only updates by manually triggering deploys in netlify after publishing sanity changes. Makes it a bit of a headache to train clients on updating both the sanity studio and then deploying in netlify. Would love to know if you’ve found a way around this!
@jordanislandwebdesign
@jordanislandwebdesign 3 месяца назад
thanks man, I'll be doing way more on this in future videos, including how to trigger deploys automatically
@dvkerns
@dvkerns 2 месяца назад
Sanity is the best. ❤
@jordanislandwebdesign
@jordanislandwebdesign 2 месяца назад
Well... Astro have just come out with Astro Studio so we will see 😎
@Showmatic
@Showmatic 3 месяца назад
Anyone who uses light themes in their IDE, I just assume they're a serial killer 😂. Jk, good video, man.
@jordanislandwebdesign
@jordanislandwebdesign 3 месяца назад
nah it's the other way round my friend, thank you haha 😎
@truthteachers
@truthteachers 7 дней назад
So sad, couldnt understand his language. It was more like commentator at a soccer match.
Далее
The Future of Astro is...
19:09
Просмотров 10 тыс.
Why is Vite Everywhere? | Evan You
38:32
Просмотров 29 тыс.
Astro makes websites faster & easier to build
22:55
Просмотров 116 тыс.
The Big Headless CMS Lie (James Mikrut)
18:14
Просмотров 45 тыс.
Astro Did It Again!!
13:13
Просмотров 17 тыс.
You Don't Need a CMS - Use This Instead
28:55
Просмотров 14 тыс.
How I build a website from scratch
2:00:01
Просмотров 210 тыс.
Обзор ЛЮКС вагона в поезде
1:00
Я КУПИЛА ГОРУ ПЛАТЬЕВ...😱🫣
0:37