Skip to content

Commit

Permalink
Merge pull request #6 from DemocraciaEnRed/main
Browse files Browse the repository at this point in the history
Deploy - fixes post reunión 11/1
  • Loading branch information
GerardoDR authored Jan 11, 2024
2 parents 1d2d133 + fba8db3 commit ad40298
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/app/components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const Footer = () => {

<div className="flex flex-row justify-center items-center">
<Link href="mailto:[email protected]" target="_blank">
<p className="font-raleway">contacto@democraciaenred.com</p>
<p className="font-raleway">contacto@democraciaenred.org</p>
</Link>
</div>
</footer>
Expand Down
2 changes: 1 addition & 1 deletion src/app/components/LandingFlourish.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import Image from "next/image"

const LandingFlourish = () => {
return (
<div className="w-[60%] max-lg:w-full">
<div className="w-[60%] max-lg:w-full bg-der-black">
<iframe src='https://flo.uri.sh/story/1969359/embed'
title='Interactive or visual content'
className='flourish-embed-iframe w-full h-[600px]'
Expand Down
3 changes: 2 additions & 1 deletion src/app/components/LandingTopics.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ const Card = ({ backgroundColor, title, description }: { backgroundColor: string

return (
<div
className={`h-[260px] w-[389px] bg-[${backgroundColor}] flex flex-col justify-center items-center rounded-md max-[584px]:min-w-[300px] relative overflow-hidden`}
className={`h-[260px] w-[389px] flex flex-col justify-center items-center rounded-md max-[584px]:min-w-[300px] relative overflow-hidden`}
style={{ backgroundColor }}
onMouseEnter={() => setShowText(false)}
onMouseLeave={() => setShowText(true)}
>
Expand Down
2 changes: 1 addition & 1 deletion src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export default function RootLayout({

return (
<html lang="es">
<body className={`${nippo.variable} ${raleway.variable} ${roboto.variable} ${lexendDeca.variable} ${inter.variable} ${openSans.className} flex flex-col min-h-[100vh]`}>
<body className={`${nippo.variable} ${raleway.variable} ${roboto.variable} ${lexendDeca.variable} ${inter.variable} ${openSans.className} flex flex-col min-h-[100vh] text-white`}>
<NavBar />
{children}
<ScrollTopButton />
Expand Down
9 changes: 5 additions & 4 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,19 @@ import Image from 'next/image'
import SiteMapFooter from "./components/SiteMapFooter"
import LandingFlourish from './components/LandingFlourish'
import Link from 'next/link'
import { flourishImages } from "~/home/index"
import LandingArticles from './components/LandingArticles'
import LandingTopics from './components/LandingTopics'
import { flourishImages } from "~/home/index"
import derAboutImg from "~/home/DER.png"

export default function Home() {


return (
<main>
<main className='bg-der-black'>
<div className="relative text-black">
<video className='w-full' autoPlay loop muted>
<source src="https://democraciaenred.github.io/datosenfuga-next/home/background.mp4" type="video/mp4" className='w-full' />
<source src={`https://democraciaenred.github.io/datosenfuga-next/home/background.mp4`} type="video/mp4" className='w-full' />
</video>
<div className="absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 w-full text-center">
<h1 className="text-6xl font-extrabold mb-4 max-md:text-4xl">#DATOSENFUGA</h1>
Expand Down Expand Up @@ -78,7 +79,7 @@ export default function Home() {
<LandingArticles />
</section>
<div className="flex flex-row bg-[#FAFAFA] text-[#212121] h-[600px] max-lg:flex-col">
<div className="w-1/2 h-full bg-[url('/home/DER.png')] bg-center bg-no-repeat bg-cover max-lg:w-full" >
<div className="w-1/2 h-full bg-center bg-no-repeat bg-cover max-lg:w-full" style={{ backgroundImage: `url(https://democraciaenred.github.io/datosenfuga-next/home/DER.png)`}}>

</div>
<div className="w-full lg:w-[50%] py-2 my-11 px-11 max-lg:w-full">
Expand Down

0 comments on commit ad40298

Please sign in to comment.