Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
crespiramiro committed Nov 4, 2023
1 parent f974595 commit d3aa2fc
Show file tree
Hide file tree
Showing 22 changed files with 98 additions and 135 deletions.
Binary file added public/albumcovers/flesh-gojira.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/albumcovers/fortitude-gojira.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/albumcovers/magma-gojira.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/albumcovers/mars-gojira.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/albumcovers/sauvage-gojira.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/albumcovers/terra-gojira.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion public/next.svg

This file was deleted.

Binary file added public/playlistCovers/classics.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/playlistCovers/essentials.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/playlistCovers/heavy.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/playlistCovers/radio.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/playlistCovers/thisIs.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/playlistCovers/workout.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion public/vercel.svg

This file was deleted.

22 changes: 2 additions & 20 deletions src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,8 @@
@tailwind components;
@tailwind utilities;

:root {
--foreground-rgb: 0, 0, 0;
--background-start-rgb: 214, 219, 220;
--background-end-rgb: 255, 255, 255;
}

@media (prefers-color-scheme: dark) {
:root {
--foreground-rgb: 255, 255, 255;
--background-start-rgb: 0, 0, 0;
--background-end-rgb: 0, 0, 0;
}
}

body {
color: rgb(var(--foreground-rgb));
background: linear-gradient(
to bottom,
transparent,
rgb(var(--background-end-rgb))
)
rgb(var(--background-start-rgb));
background-color: black;
color: whitesmoke;
}
File renamed without changes.
113 changes: 0 additions & 113 deletions src/app/page.js

This file was deleted.

12 changes: 12 additions & 0 deletions src/app/page.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import ContAlbums from "@/components/ContAlbums";
import ContPlaylists from "@/components/ContPlaylists";


export default function Home() {
return (
<div className="min-h-screen pt-28 pl-32 pr-8 " >
<ContAlbums/>
<ContPlaylists />
</div>
)
}
20 changes: 20 additions & 0 deletions src/components/Cards.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import { RiPlayFill } from "react-icons/ri"

function Cards(props) {
return (
<div className="bg-black rounded-lg p-4 mx-2 hover:cursor-pointer hover:bg-[#282828] transition-all group " >
<div className= " mb-4 relative " >
<img src={props.img} alt="Album {props.album} de Gojira" width="200" height="350" className=" drop-shadow-2xl rounded-md shadow-xl mx-auto " />
<button className="p-3 text-xl bg-[#1DB954] rounded-full text-[#101010] absolute right-2 bottom-1 opacity-0 group-hover:opacity-100 transition-all duration-300 translate-y-2 group-hover:translate-y-0 ease-out " >
<RiPlayFill/>
</button>
</div>
<div>
<h3 className="font-medium mb-2 text-lg text-gray-100" >{props.album}</h3>
<p className="text-sm text-gray-400 " >{props.data}</p>
</div>
</div>
);
}

export default Cards;
22 changes: 22 additions & 0 deletions src/components/ContAlbums.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import Cards from "./Cards";

function ContAlbums() {

return (
<div className="mb-8" >
<div className="flex items-center mb-4 justify-between" >
<h2 className="hover:underline hover:cursor-pointer font-bold text-gray-200 text-2xl ">Discography</h2>
</div>
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 xl:grid-cols-6 " >
<Cards img='albumcovers/magma-gojira.jpeg' album='Magma' data='2016 - Album' />
<Cards img='albumcovers/mars-gojira.jpeg' album='From mars to sirius' data='2005 - Album' />
<Cards img='albumcovers/fortitude-gojira.jpeg' album='fortitude' data='2021 - Album' />
<Cards img='albumcovers/sauvage-gojira.jpg' album="L'Enfant Sauvage" data='2012 - Album' />
<Cards img='albumcovers/flesh-gojira.jpeg' album='The way of all flesh' data='2008 - Album' />
<Cards img='albumcovers/terra-gojira.jpeg' album='Terra Incognita' data='2001 - Album' />
</div>
</div>
);
}

export default ContAlbums;
21 changes: 21 additions & 0 deletions src/components/ContPlaylists.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import Playlist from "./Playlist";

function ContPlaylists() {
return (
<div className="mt-2 mb-4" >
<div className="flex items-center mt-2 mb-4 justify-between" >
<h2 className="text-gray-200 font-bold hover:underline hover:cursor-pointer text-2xl " >Featuring Gojira</h2>
</div>
<div className="grid grid-cols-1 md;grid-cols-2 lg:grid-cols-4 xl:grid-cols-6 " >
<Playlist img='playlistCovers/thisIs.jpeg' alt='This is gojira' playlist='This is gojira' data='This is gojira. The essential tracks, all in one playlist.' />
<Playlist img='playlistCovers/radio.jpeg' alt='Gojira radio' playlist='Gojira Radio' data='By Spotify.' />
<Playlist img='playlistCovers/essentials.jpeg' alt='Metal Essentials' playlist='Metal Essentials' data='Want some metal? Better to start with the essentials. Cover: Metallica.' />
<Playlist img='playlistCovers/classics.jpeg' alt='00s Metal Classics' playlist='00s Metal Classics' data='The biggest metal songs of the 2000s. Cover: Slipknot.' />
<Playlist img='playlistCovers/heavy.jpeg' alt='Heavy Metal' playlist='Heavy Metal' data='Heavy Metal forever. Classics to brand new tracks, play it loud. Cover: Judas Priest.' />
<Playlist img='playlistCovers/workout.jpeg' alt='Adrenaline Workout' playlist='Adrenaline Workout' data='If your workout doubles as an outleet for your agression, this is the playlist for you.' />
</div>
</div>
);
}

export default ContPlaylists;
21 changes: 21 additions & 0 deletions src/components/Playlist.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import { RiPlayFill } from "react-icons/ri"

function Playlist(props) {
return (
<div className="bg-black rounded-lg p-4 mx-2 hover:cursor-pointer hover:bg-[#282828] transition-all group" >
<div className="relative mb-4" >
<img src={props.img} alt="{props.data}" width="200" height="350" className=" drop-shadow-2xl rounded-md shadow-xl mx-auto "/>
<button className="p-3 text-xl bg-[#1DB954] rounded-full text-[#101010] absolute right-2 bottom-1 opacity-0 group-hover:opacity-100 transition-all duration-300 translate-y-2 group-hover:translate-y-0 ease-out " >
<RiPlayFill/>
</button>
</div>
<div>
<h3 className="font-md mb-2 text-lg text-gray-100">{props.playlist}</h3>
<p className="text-sm text-gray-400" >{props.data}</p>
</div>
</div>
);
}


export default Playlist;

0 comments on commit d3aa2fc

Please sign in to comment.