-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* initial pass * bump packages * init design to dev transition; remove tailwind; update packages * init design to dev patterns * prototype(svgs): update how SVGs are to be used * Inline SVGs at the top of the page and reference them throughout. * update components to use new SVG method * keep all .svg files together * WIP * all-in-one * update packages * update packages * latest updates * remove yaml file
- Loading branch information
Showing
205 changed files
with
4,073 additions
and
243 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,4 +41,4 @@ next-env.d.ts | |
.vscode | ||
|
||
# git comments & notes | ||
z*.md | ||
z*.* |
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,31 @@ | ||
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app). | ||
|
||
## Getting Started | ||
|
||
First, run the development server: | ||
|
||
```bash | ||
npm run dev | ||
# or | ||
yarn dev | ||
# or | ||
pnpm dev | ||
``` | ||
> pnpm install | ||
|
||
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. | ||
|
||
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file. | ||
> pnpm start | ||
``` | ||
|
||
[http://localhost:3000/api/hello](http://localhost:3000/api/hello) is an endpoint that uses [Route Handlers](https://beta.nextjs.org/docs/routing/route-handlers). This endpoint can be edited in `app/api/hello/route.ts`. | ||
# Resources | ||
## Favicon | ||
1. [Set up](https://evilmartians.com/chronicles/how-to-favicon-in-2021-six-files-that-fit-most-needs) | ||
|
||
This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font. | ||
## CSS | ||
1. [REM vs PX](https://www.joshwcomeau.com/css/surprising-truth-about-pixels-and-accessibility) | ||
|
||
## Learn More | ||
## SVGs | ||
1. [SVGs](https://kurtextrem.de/posts/svg-in-js#performance-vs-time-to-load-to-inline-or-not-to-inline) | ||
|
||
To learn more about Next.js, take a look at the following resources: | ||
## Accessible CSS Tabs | ||
http://web-accessibility.carnegiemuseums.org/code/tabs | ||
|
||
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. | ||
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. | ||
https://medium.com/@andreasmcd/creating-an-accessible-tab-component-with-react-24ed30fde86a | ||
|
||
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome! | ||
https://codepen.io/ItsCrisDiaz/pen/LYQjGpW | ||
|
||
## Deploy on Vercel | ||
# with radio tabs | ||
https://dev.to/joxx/building-a-tab-component-with-pure-css-using-radio-and-label-tags-200b | ||
|
||
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. | ||
https://www.codeinwp.com/snippets/accessible-pure-css-tabs | ||
|
||
Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details. | ||
https://medium.com/allenhwkim/how-to-build-tabs-only-with-css-844718d7de2f |
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,26 @@ | ||
const path = require('path'); | ||
|
||
|
||
const aliasMapping = { | ||
'@Styles': (filename) => path.resolve(__dirname, `src/assets/styles/${filename}`), | ||
'@Images': (filename) => path.resolve(__dirname, `src/assets/images/${filename}`) | ||
}; | ||
|
||
|
||
module.exports = { | ||
plugins: { | ||
'postcss-import': {}, | ||
tailwindcss: {}, | ||
autoprefixer: {} | ||
'postcss-import': { | ||
root: path.resolve(__dirname, 'src'), | ||
path: ['assets'], | ||
skipDuplicates: true, | ||
resolve: (id, basedir, importOptions) => { | ||
const [aliasName, filename] = id.split('/'); | ||
return aliasMapping[aliasName](filename); | ||
} | ||
}, | ||
'postcss-nesting': {}, | ||
'postcss-media-minmax': {}, | ||
'postcss-custom-media': {}, | ||
'autoprefixer': {} | ||
} | ||
}; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
'use client'; | ||
|
||
import styles from './styles.module.css'; | ||
|
||
|
||
function ThankYou() { | ||
return( | ||
<div className={styles['container']}> | ||
<h3>Thank you!</h3> | ||
<p>Thank you for signing up! We will send you reminders about new opportunities to contribute to the PlacesForBikes City Ratings program and related PeopleForBikes updates.</p> | ||
|
||
<button>OK</button> | ||
</div> | ||
); | ||
} | ||
|
||
|
||
export default ThankYou; |
35 changes: 35 additions & 0 deletions
35
src/app/(LandingPage)/AddYourPlace/Thankyou/styles.module.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
.container { | ||
display: flex; | ||
flex-flow: column nowrap; | ||
align-items: center; | ||
gap: 40px; | ||
|
||
& > h3 { | ||
text-transform: uppercase; | ||
} | ||
|
||
& > p { | ||
text-align: center; | ||
} | ||
|
||
& > button { | ||
width: 134px; | ||
height: 56px; | ||
padding: 20px 30px; | ||
|
||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
gap: 10px; | ||
|
||
color: var(--white); | ||
background-color: var(--cyan); | ||
|
||
cursor: pointer; | ||
} | ||
|
||
& > button:active { | ||
background: #2F88C2; | ||
box-shadow: 0px 4px 20px -1px rgba(0, 53, 83, 0.13); | ||
} | ||
} |
Oops, something went wrong.