• Stars
    star
    104
  • Rank 319,921 (Top 7 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created 10 months ago
  • Updated 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

My personal portfolio website built with Next.js, Tailwind CSS and Sanity.

victoreke.com

My personal portfolio website

Tech Stack

Project Overview

Site Studio
Site Sanity Studio

Run Project Locally

Follow this guide to get this site runnning locally:

Clone Repository

git clone https://github.com/Evavic44/victoreke.com.git

cd victoreke.com

npm install

Get Env variables

The secrets variables required to boot this project locally includes:

  • Project Id
  • Dataset
  • API Version
  • Access Token

These variables come from Sanity. To get them, you need to setup your own Sanity instance. Follow the steps below to do this:

Create a new sanity project

Run the command below in a terminal to create a new Sanity project:

npm create sanity@latest -- --template clean --create-project "John Doe" --dataset production
  • Create an account: If you already have a Sanity account, this will automatically connect to it, if not, select a login provider from the list of options, hit Enter and follow the prompt to create one.
  • Choose an Output path: Hit the Enter key to select the default path.
  • Install the dependencies with your preferred package manager

Once completed open up the studio directory.

cd john-doe

code .
  • Navigate to the sanity.config.ts file in the root directory and copy the projectId. Now you can close the studio file.

Update Env Variables

Open up the cloned repository and do the following:

  • Set NEXT_PUBLIC_SANITY_PROJECT_ID to the project id you copied earlier
  • Set NEXT_PUBLIC_SANITY_DATASET to production or the dataset name you used.
  • Set NEXT_PUBLIC_SANITY_API_VERSION to your current date in YYYY-MM-DD format or leave as is
  • If you want to use an access token, visit sanity.io/manage > project name > API > Token to create one. Once generated, copy the token and set it to NEXT_PUBLIC_SANITY_ACCESS_TOKEN.

Warning If you don't want to use a token, comment it out in the env.api.ts file or else it will throw errors.

By default the UI will be blank. To start adding data to the site, visit your studio at http://localhost:3000/studio to create your own documents.

If you expereinced any issues or enquiries, please raise an issue to discuss it.

Additional Information

Need more guidiance, check out this tutorial that provides a step-by-step guide to setting up Sanity studio for your portfolio site.

Build

npm run build

Important files and folders

File(s) Description
sanity.config.ts Config file for Sanity Studio
sanity.client.ts Config file for Sanity CLI
studio Where Sanity Studio is mounted
schemas Where Sanity Studio gets its content types from
sanity.query.ts Groq query for Sanity Schema data

More Repositories

1

portfolio-ideas

A curation of awesome portfolio website ideas for developers and designers to draw inspiration from. Raise a pull request to add more. ๐Ÿ’œ
Markdown
3,065
star
2

adocs

๐Ÿ”ธDocs template built with VitePress โ€”The vite and vue powered static site generator
61
star
3

sanity-nextjs-site

Modern portfolio site built with Next.js 13, Sanity, Tailwind CSS and TypeScript
TypeScript
60
star
4

victoreke.com-v1

โ›‘๏ธ My personal portfolio website built with Html, CSS and JavaScript to capture my skills and top projects. Hosted on Netlify
HTML
46
star
5

rocketmeme

โšก A multipurpose meme marketplace and editor for creating, downloading and sharing memes with a ready to use API powered by Hasura GraphQL
JavaScript
35
star
6

Learn-JavaScript

๐Ÿ“š Personal JavaScript learning notes using the complete JavaScript course 2022: From zero to expert by Jonas Schmedtman
JavaScript
34
star
7

hashnode-clone

๐ŸŽญ An amazing clone of Hashnode's landing page built for learning purposes and fun. Featured in Hashnode's weekly newsletter
SCSS
25
star
8

responsive-navbar-with-dropdown

Code files for the tutorial: Reponsive navigation bar with dropdown menu built using JavaScript
HTML
21
star
9

Hotel-Zeitaku

Local Japanese Hotel Website
HTML
16
star
10

spekni

๐ŸŒ  Recognition platform built for developer endorsements
JavaScript
15
star
11

Evavic44

Welcome to my Profile
15
star
12

currencee

๐Ÿ’ฒThe world's most trusted, fast and secure currency converter app
SCSS
14
star
13

react-lazyload

๐Ÿฆฅ A tutorial to illustrate how to lazyload images in a react app using react lazy load image component library
JavaScript
10
star
14

Social-media-header

Custom Markup for social media headers using HTML & CSS. Customize your header using this template.
CSS
9
star
15

Periodic-Table

Periodic table with CSS grid and glassmorphisim UI
HTML
6
star
16

Windows-10-Start-menu

Windows 10 Start Menu
HTML
5
star
17

Hamburger-Menu

Responsive Navbar With Hamburger Menu
HTML
5
star
18

The-Three-Musketeers

This is a repository for small static website projects built with HTML, CSS & JavaScript. The Ultimate Web Trio. I like to call them: The Three Musketeers
CSS
5
star
19

learn-css

Tutorial Repo for Learning all about CSS
HTML
4
star
20

advice-generator

โ™พ๏ธ An advice generator application that uses the Advice Slip API to generate advices
HTML
4
star
21

Transformed-Minds

Transformed Minds is an initiative aimed at helping individuals struggling with addictions
HTML
3
star
22

rating-component

A rating app system built with HTML, SASS and JavaScript
HTML
3
star
23

react-scroll-reveal-framer-motion

A simple guide to illustrate how to implement scroll-based animations in React using Framer Motion
TypeScript
3
star
24

Css-animation

Bouncing DVD logo using css animations
CSS
3
star
25

jQuery-Smooth-Scroll

A jQuery solution I use quite often for scrolling to same page links smoothly.
HTML
3
star
26

rocketmemes-api

API documentation for rocketmeme
Markdown
3
star
27

The-Walking-Dead-The-Telltale-Definitive-Series-Story

This is an Illustrational Story with slide images of The Walking Dead: The Telltale Definitive Series Pc game written by Robert Kirkman
HTML
3
star
28

picture-element

A tutorial for explaining how to use the html picture element
CSS
2
star
29

Stats-Preview-Card-Frontendmentor

Stats preview card coding challenge on Frontendmentor
CSS
2
star
30

nextjs-custom-404

Custom animated 404 page in NextJS
JavaScript
2
star
31

pretty-urls

๐Ÿ‘ธ๐Ÿฝ How to make your static site URLS look like disney princesses using Netlify
HTML
2
star
32

grey-clone

A clone of the popular digital wallet fintech app
2
star
33

Node-Sass-Setup

Environment Setup with Node-sass
SCSS
2
star
34

Skeep

Open source community landing page - Powered by HTML, CSS and Chatwoot Live bot
HTML
2
star
35

sanity-nextjs-revalidation

A simple guide to illustrate how to setup on-demand revalidation in Sanity and Nextjs app directory
TypeScript
2
star
36

Task-tracker

A simple react application for tracking your tasks or just simply making a shopping list. Built with React & Tailwind
JavaScript
2
star
37

open-sauced-goals

1
star
38

templateBuy

Selling HTML Templates
HTML
1
star
39

Dart-Sass-setup

An updated method for running SASS in a project
SCSS
1
star
40

gmail-clone

A simple clone of the Gmail app built with React
JavaScript
1
star
41

testimonial-grid-section

Junior Frontend Mentor challenge
HTML
1
star
42

3-column-preview-card-component

This is a newbie challenge from frontendmentor
CSS
1
star
43

nextjs-netlify-blog-template

TypeScript
1
star
44

nextjs-docker

A simple containerized template of a Nexjs app using docker
TypeScript
1
star
45

App

HNG Resume and Hello World App
HTML
1
star
46

Hashnode-blog

Backup/storage for all my published hashnode articles
1
star
47

nextjs-13-custom-404

A simple guide to illustrate how to customize the error page in nextjs 13 app directory
CSS
1
star