├── .babelrc
├── .env.sample
├── .eslintrc.json
├── .github
└── workflows
│ └── codeql-analysis.yml
├── .gitignore
├── .prettierrc.json
├── README.md
├── SECURITY.md
├── components
├── 404
│ ├── index.js
│ └── index.module.css
├── docs
│ ├── index.js
│ └── index.module.css
├── hero
│ ├── index.js
│ └── index.module.css
├── info
│ ├── index.js
│ └── index.module.css
├── layout
│ └── index.js
├── result
│ ├── index.js
│ └── index.module.css
├── seo
│ └── index.js
├── svg
│ ├── index.js
│ └── postman.js
└── video
│ └── index.js
├── constants
└── index.js
├── contexts
└── MailContext.js
├── package-lock.json
├── package.json
├── pages
├── 404.js
├── _app.js
├── _document.js
├── api
│ └── hello.js
├── docs.js
├── index.js
└── result.js
├── postcss.config.js
├── public
├── docs.png
├── spacez.ico
└── vercel.svg
├── styles
└── globals.css
├── tailwind.config.js
└── utils
└── index.js
/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": [["next/babel", {}]],
3 | "plugins": [
4 | [
5 | "module-resolver",
6 | {
7 | "root": ["./"],
8 | "alias": {
9 | "@c": "./components",
10 | "@const": "./constants",
11 | "@s": "./styles",
12 | "@svg": "./components/svg",
13 | "@cx": "./contexts/",
14 | "@utils": "./utils"
15 | }
16 | }
17 | ]
18 | ]
19 | }
20 |
--------------------------------------------------------------------------------
/.env.sample:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fport/spacez-link/7613205110ecc9b29209f382913504de806da1a5/.env.sample
--------------------------------------------------------------------------------
/.eslintrc.json:
--------------------------------------------------------------------------------
1 | {
2 | "env": {
3 | "browser": true,
4 | "es2021": true
5 | },
6 | "extends": [
7 | "eslint:recommended",
8 | "plugin:react/recommended"
9 | ],
10 | "parserOptions": {
11 | "ecmaFeatures": {
12 | "jsx": true
13 | },
14 | "ecmaVersion": 13,
15 | "sourceType": "module"
16 | },
17 | "plugins": [
18 | "react"
19 | ],
20 | "rules": {
21 | "react/no-unescaped-entities": "off",
22 | "@next/next/no-page-custom-font": "off"
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/.github/workflows/codeql-analysis.yml:
--------------------------------------------------------------------------------
1 | # For most projects, this workflow file will not need changing; you simply need
2 | # to commit it to your repository.
3 | #
4 | # You may wish to alter this file to override the set of languages analyzed,
5 | # or to provide custom queries or build logic.
6 | #
7 | # ******** NOTE ********
8 | # We have attempted to detect the languages in your repository. Please check
9 | # the `language` matrix defined below to confirm you have the correct set of
10 | # supported CodeQL languages.
11 | #
12 | name: "CodeQL"
13 |
14 | on:
15 | push:
16 | branches: [ main ]
17 | pull_request:
18 | # The branches below must be a subset of the branches above
19 | branches: [ main ]
20 | schedule:
21 | - cron: '25 19 * * 3'
22 |
23 | jobs:
24 | analyze:
25 | name: Analyze
26 | runs-on: ubuntu-latest
27 | permissions:
28 | actions: read
29 | contents: read
30 | security-events: write
31 |
32 | strategy:
33 | fail-fast: false
34 | matrix:
35 | language: [ 'javascript' ]
36 | # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
37 | # Learn more about CodeQL language support at https://git.io/codeql-language-support
38 |
39 | steps:
40 | - name: Checkout repository
41 | uses: actions/checkout@v2
42 |
43 | # Initializes the CodeQL tools for scanning.
44 | - name: Initialize CodeQL
45 | uses: github/codeql-action/init@v1
46 | with:
47 | languages: ${{ matrix.language }}
48 | # If you wish to specify custom queries, you can do so here or in a config file.
49 | # By default, queries listed here will override any specified in a config file.
50 | # Prefix the list here with "+" to use these queries and those in the config file.
51 | # queries: ./path/to/local/query, your-org/your-repo/queries@main
52 |
53 | # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
54 | # If this step fails, then you should remove it and run the build manually (see below)
55 | - name: Autobuild
56 | uses: github/codeql-action/autobuild@v1
57 |
58 | # ℹ️ Command-line programs to run using the OS shell.
59 | # 📚 https://git.io/JvXDl
60 |
61 | # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
62 | # and modify them (or add more) to build your code if your project
63 | # uses a compiled language
64 |
65 | #- run: |
66 | # make bootstrap
67 | # make release
68 |
69 | - name: Perform CodeQL Analysis
70 | uses: github/codeql-action/analyze@v1
71 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2 |
3 | # dependencies
4 | /node_modules
5 | /.pnp
6 | .pnp.js
7 |
8 | # testing
9 | /coverage
10 |
11 | # next.js
12 | /.next/
13 | /out/
14 |
15 | # production
16 | /build
17 |
18 | # misc
19 | .DS_Store
20 | *.pem
21 |
22 | # debug
23 | npm-debug.log*
24 | yarn-debug.log*
25 | yarn-error.log*
26 |
27 | # local env files
28 | .env.local
29 | .env.development.local
30 | .env.test.local
31 | .env.production.local
32 |
33 | # vercel
34 | .vercel
35 |
--------------------------------------------------------------------------------
/.prettierrc.json:
--------------------------------------------------------------------------------
1 | {
2 | "singleQuote": true,
3 | "trailingComma": "es5",
4 | "print-width": 120,
5 | "tab-width": 4
6 | }
7 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | This is a project that makes easy to integrate email service.
6 |
7 |
8 |
9 | ## Backend Repository
10 | [Click](https://github.com/BijanE/spacez-link-backend) for backend repository.
11 |
12 | ## Figma Design
13 | [Click](https://www.figma.com/file/5rJZnc5YOrMM9zI0zEcgup/spacez-link?node-id=2%3A1494) for design page.
14 |
15 | ## Example Usage
16 | [Click](https://github.com/fport/spacez-link-basic-example) for basic example usage.
17 |
18 |
Preview
19 |
20 |
21 |
22 | 
23 |
24 | 
25 |
26 | 
27 |
28 |
29 |
--------------------------------------------------------------------------------
/SECURITY.md:
--------------------------------------------------------------------------------
1 | # Security Policy
2 |
3 | ## Supported Versions
4 |
5 | Use this section to tell people about which versions of your project are
6 | currently being supported with security updates.
7 |
8 | | Version | Supported |
9 | | ------- | ------------------ |
10 | | 5.1.x | :white_check_mark: |
11 | | 5.0.x | :x: |
12 | | 4.0.x | :white_check_mark: |
13 | | < 4.0 | :x: |
14 |
15 | ## Reporting a Vulnerability
16 |
17 | Use this section to tell people how to report a vulnerability.
18 |
19 | Tell them where to go, how often they can expect to get an update on a
20 | reported vulnerability, what to expect if the vulnerability is accepted or
21 | declined, etc.
22 |
--------------------------------------------------------------------------------
/components/404/index.js:
--------------------------------------------------------------------------------
1 | import React from 'react';
2 | import styles from './index.module.css';
3 | import { useRouter } from 'next/router';
4 |
5 | function ErrorComponent() {
6 | const router = useRouter();
7 |
8 | return (
9 |
15 | This is a application that makes easy to integrate email service. The
16 | application provides an easy method when you want to integrate Email
17 | service.
18 |