Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
some formatting changes, changed build mode
  • Loading branch information
zjf19002 committed Feb 17, 2024
1 parent 01f8815 commit bf30c34
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 15 deletions.
1 change: 1 addition & 0 deletions FrequencyOfRides.geojson

Large diffs are not rendered by default.

10 changes: 6 additions & 4 deletions app/components/information.tsx
Expand Up @@ -10,9 +10,11 @@ import Slider from './Slider'
const information = (): JSX.Element => {
return (
<>
<div className='grid grid-cols-10 gaps-10 shadow-xl bck'>
<img src="uconn.png" className="h-auto w-full col-span-1 relative -top-5 left-1 drop-shadow-md filter grayscale p-7" alt="uconn logo"></img>
<div className='col-span-6 justify-center h-2/3 drop-shadow-md img-txt '>Exploring E-Scooter Trends</div>
<div className="grid grid-cols-10 items-center shadow-xl bck">
<img src="uconn.png" className="h-auto w-full col-span-1 relative left-4 drop-shadow-md filter grayscale p-7" alt="UConn logo" />
<div className="col-span-9 ml-10">
<span className='text-5xl tracking-widest text-uppercase text-slate-950 text-blackv'>Exploring E-Scooter Trends</span>
</div>
</div>
<div className='absolute top-2/3 z-50 right-10 p-9 text-3xl animate-fadein'>
<div className='text-white font-bold'>A deep dive into data behind </div>
Expand All @@ -22,7 +24,7 @@ const information = (): JSX.Element => {
<Background className=''>
<div className='content '>
<img
src="https://s3-prod.crainsnewyork.com/Screen%20Shot%202023-06-16%20at%201.15.42%20PM.png"
src="https://cdn.sanity.io/images/xl8ls2xi/production/73097d2b39bf5fa68fa5fcb169d5151869fbff3b-2000x1156.jpg?q=85&auto=format"
className='z-10 min-h-screen min-w-min '
alt='scooter'>
</img>
Expand Down
11 changes: 3 additions & 8 deletions app/globals.css
Expand Up @@ -79,22 +79,17 @@ html, body {

.img-txt{
position: relative;
justify-content: left;
width: 2vw;
top: 5%;
left: 3%;
transform: translate(-50%);
width: 100vw;
top: 20%;
z-index: 9999;
opacity: 100%;
background-color: var(--whitev);
text-transform: uppercase;
color: var(--blackv);
padding-top: 0.5rem;
padding-left: 0.5rem;
font-size: 1.5vw;
font-size: 2.5vw;
font-weight: bold;
letter-spacing: 15px;
box-shadow: 0px 0px 30px 0px var(--whitev);
}


Expand Down
8 changes: 6 additions & 2 deletions next.config.js
@@ -1,4 +1,8 @@
/** @type {import('next').NextConfig} */
const nextConfig = {}
const nextConfig = {
distDir: 'out', // Specify the output directory
output: 'export'

module.exports = nextConfig
}

module.exports = nextConfig
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -5,6 +5,7 @@
"scripts": {
"dev": "next dev",
"build": "next build",
"export": "next export",
"start": "next start",
"lint": "next lint"
},
Expand Down
4 changes: 3 additions & 1 deletion tsconfig.json
Expand Up @@ -32,7 +32,9 @@
"next-env.d.ts",
".next/types/**/*.ts",
"**/*.ts",
"**/*.tsx"
"**/*.tsx",
".out/types/**/*.ts",
"out/types/**/*.ts"
],
"exclude": [
"node_modules"
Expand Down

0 comments on commit bf30c34

Please sign in to comment.