-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnotes.js
More file actions
77 lines (61 loc) 路 2.11 KB
/
Copy pathnotes.js
File metadata and controls
77 lines (61 loc) 路 2.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
// gallery buttens when menuButton false need tabIndex
// tabindex="-1"
// tabindex is an html a tag attribute that will remove the tabability of a tags, I can use this to remove that annoying tab glitch caused when the menu should be hidden and not accessable when the menu is off of the screen.
// convert gallery to use regular images with alt tag so that they are indexed in google.
// Do the same conversion for contentBox systems images by creating a dynamic image loader like the dynamic image background loader, that has ( img{object-fit: cover} in the css )
// --------------------------------------------------
// CREATE: Finish 404 page
// CREATE: Menu page ( need contentBox mobile design first )
// CREATE: Wholesale page
// CREATE: Contact page ( requires hosting on Firebase first and using firebase cloud functions to email )
// IMPORTANT!!! Remove link on home button for info on home page only ( causes glitch - re render )
// CAN START MOBILE ON
// contentBox ( needed prior to Menu page )
// Menu
// Make logo flicker ( more like fire )
// ADD AMP
// USED FOR IMPORTING FROM PRISMIC
// import React, { useMemo } from 'react'
// import { useStaticQuery, graphql } from 'gatsby'
// import styled from 'styled-components'
// import Img from "gatsby-image"
// const ImageWrapper = styled.div`
// width: 700px;
// overflow: hidden;
// `
// const Testpage = () => {
// const data = useStaticQuery(graphql`
// query {
// allPrismicPizza {
// edges {
// node {
// id
// data {
// photo {
// localFile {
// childImageSharp {
// fluid(maxWidth: 1000, maxHeight: 800){
// ...GatsbyImageSharpFluid_noBase64
// }
// }
// }
// }
// }
// }
// }
// }
// }
// `)
// const match = useMemo(
// () => data.allPrismicPizza.edges.find(({ node }) => "Prismic__Pizza__XfhqZhEAAB4AEqmz" === node.id),
// [data]
// )
// return (
// <>
// <ImageWrapper>
// <Img fluid={match.node.data.photo.localFile.childImageSharp.fluid} alt="test"/>
// </ImageWrapper>
// </>
// )
// }
// export default Testpage