├── nextjs-example ├── components │ ├── select │ │ ├── select.scss │ │ └── select.js │ ├── page │ │ ├── page.js │ │ └── page.css │ ├── background │ │ ├── background.js │ │ └── background.scss │ ├── section │ │ ├── section.css │ │ └── section.js │ ├── layout │ │ ├── layout.js │ │ └── layout.scss │ ├── react-logo │ │ ├── react-logo.js │ │ └── react-logo.scss │ ├── startup │ │ ├── startup.js │ │ └── startup.scss │ ├── lettering │ │ ├── lettering.css │ │ └── lettering.js │ ├── mouse │ │ ├── mouse.js │ │ └── mouse.scss │ ├── fullpage │ │ ├── fullpage.css │ │ ├── fullpage.js │ │ └── media.js │ ├── nav │ │ ├── nav.js │ │ └── nav.scss │ └── content │ │ ├── content.js │ │ └── content.scss ├── public │ └── favicon.ico ├── static │ └── favicon.ico ├── next.config.js ├── pages │ ├── index.js │ ├── page-two.js │ ├── page-three.js │ └── _app.js ├── .gitignore └── package.json ├── .gitignore └── README.md /nextjs-example/components/select/select.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /nextjs-example/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rcaferati/ras-fullpage-strategies/HEAD/nextjs-example/public/favicon.ico -------------------------------------------------------------------------------- /nextjs-example/static/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rcaferati/ras-fullpage-strategies/HEAD/nextjs-example/static/favicon.ico -------------------------------------------------------------------------------- /nextjs-example/next.config.js: -------------------------------------------------------------------------------- 1 | const withCSS = require('@zeit/next-css'); 2 | const withSass = require('@zeit/next-sass'); 3 | 4 | module.exports = withCSS(withSass({})); 5 | -------------------------------------------------------------------------------- /nextjs-example/components/page/page.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import './page.css'; 3 | 4 | const Page = ({ children }) => { 5 | return
{children}
; 6 | }; 7 | 8 | export default Page; 9 | -------------------------------------------------------------------------------- /nextjs-example/pages/index.js: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | import FullpageSlider from "../components/fullpage/fullpage"; 3 | 4 | const Home = () => { 5 | return ; 6 | }; 7 | 8 | export default Home; 9 | -------------------------------------------------------------------------------- /nextjs-example/pages/page-two.js: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | import FullpageSlider from "../components/fullpage/fullpage"; 3 | 4 | const PageTwo = () => { 5 | return ; 6 | }; 7 | 8 | export default PageTwo; 9 | -------------------------------------------------------------------------------- /nextjs-example/pages/page-three.js: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | import FullpageSlider from "../components/fullpage/fullpage"; 3 | 4 | const PageThree = () => { 5 | return ; 6 | }; 7 | 8 | export default PageThree; 9 | -------------------------------------------------------------------------------- /nextjs-example/components/background/background.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import './background.scss'; 3 | 4 | const Background = ({ src, alt = 'background' }) => { 5 | return {alt}; 6 | }; 7 | 8 | export default Background; 9 | -------------------------------------------------------------------------------- /nextjs-example/components/section/section.css: -------------------------------------------------------------------------------- 1 | .section { 2 | display: flex; 3 | align-items: center; 4 | justify-content: center; 5 | min-height: 100vh; 6 | width: 100vw; 7 | position: relative; 8 | } 9 | 10 | .awssld--fill-parent { 11 | height: 100vh !important; 12 | } 13 | -------------------------------------------------------------------------------- /nextjs-example/components/background/background.scss: -------------------------------------------------------------------------------- 1 | .background { 2 | display: block; 3 | position: absolute; 4 | top: 0; 5 | left: 0; 6 | width: 100%; 7 | height: 100%; 8 | object-fit: cover; 9 | z-index: 0; 10 | filter: grayscale(100%) opacity(35%); 11 | mix-blend-mode: multiply; 12 | } 13 | -------------------------------------------------------------------------------- /nextjs-example/components/layout/layout.js: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | import "./layout.scss"; 3 | import Nav from "../nav/nav"; 4 | 5 | const Layout = ({ children }) => { 6 | return ( 7 | <> 8 |