Compare commits
2 Commits
83a80dcae8
...
7f7a006a82
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7f7a006a82 | ||
|
|
c2d17c2188 |
4
.envrc
Normal file
4
.envrc
Normal file
@@ -0,0 +1,4 @@
|
||||
eval $(guix shell --search-paths)
|
||||
export GEM_HOME=$PWD/.gems
|
||||
export GEM_PATH=$GEM_HOME/gems
|
||||
export PATH=$GEM_HOME/bin:$PATH
|
||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -10,6 +10,7 @@
|
||||
# Ignore all environment files (except templates).
|
||||
/.env*
|
||||
!/.env*.erb
|
||||
!/.envrc
|
||||
|
||||
# Ignore all logfiles and tempfiles.
|
||||
/log/*
|
||||
|
||||
BIN
app/assets/images/hero.jpg
Normal file
BIN
app/assets/images/hero.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 451 KiB |
@@ -14,11 +14,17 @@
|
||||
*= require_self
|
||||
*/
|
||||
@import url('https://fonts.googleapis.com/css2?family=Fleur+De+Leah&display=swap');
|
||||
/* html, body { */
|
||||
/* margin: 0; */
|
||||
/* padding: 0; */
|
||||
/* height: 100%; */
|
||||
/* } */
|
||||
html, body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
|
||||
.hero-bg {
|
||||
background-image: url("assets/hero.jpg");
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
/* #container { */
|
||||
/* background-color: darkseagreen; */
|
||||
|
||||
@@ -1 +1,45 @@
|
||||
<h1 class="text-3xl font-bold underline">Hello, Rails!</h1>
|
||||
<!-- options: #a99dab #dfebde -->
|
||||
<div class="bg-[#a99dab] w-screen h-screen">
|
||||
|
||||
<!--- HERO START --->
|
||||
<div class="hero-bg h-3/4">
|
||||
<!-- Nav START -->
|
||||
<nav class="flex items-center justify-between flex-wrap">
|
||||
<div id="burger-menu" class="block lg:hidden">
|
||||
<button class="flex items-center px-3 py-2 border rounded hover:text-white hover:border-white">
|
||||
<svg class="fill-current h-3 w-3" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><title>Menu</title><path d="M0 3h20v2H0V3zm0 6h20v2H0V9zm0 6h20v2H0v-2z"/></svg>
|
||||
</button>
|
||||
</div>
|
||||
<div class="w-full block flex-grow lg:hidden">
|
||||
<div id="nav-links" class="text-xl max-md:hidden flex flex-col lg:flex-row lg:mr-4">
|
||||
<a href="#" class="block mt-4 lg:inline-block lg:mt-0 hover:text-white mr-24">Ceremony & Reception</a>
|
||||
<a href="#" class="block mt-4 lg:inline-block lg:mt-0 hover:text-white mr-24">Accommodations</a>
|
||||
<a href="#" class="block mt-4 lg:inline-block lg:mt-0 hover:text-white mr-24">Dress</a>
|
||||
<a href="#" class="block mt-4 lg:inline-block lg:mt-0 hover:text-white mr-24">Registry</a>
|
||||
<a href="#" class="block mt-4 lg:inline-block lg:mt-0 hover:text-white">RSVP</a>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
<!-- Nav END -->
|
||||
|
||||
<div class="w-fit mx-auto py-56 sm:py-24">
|
||||
<h1 class="fleur-de-leah-regular text-darkgreen-600 text-7xl">Jillian & Adam</h1>
|
||||
<div class="mx-auto items-center w-fit">
|
||||
<div class="text-3xl py-4">June 7, 2025</div>
|
||||
</div>
|
||||
<div class="mx-auto items-center w-fit">
|
||||
<div class="text-3xl py-4">207 DAYS TO GO!</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="w-full block flex-grow max-md:hidden lg:flex lg:w-auto lg:justify-center">
|
||||
<div id="nav-links-lg" class="text-xl flex flex-col lg:flex-row lg:mr-4">
|
||||
<a href="#" class="block mt-4 lg:inline-block lg:mt-0 hover:text-white mr-24">Ceremony & Reception</a>
|
||||
<a href="#" class="block mt-4 lg:inline-block lg:mt-0 hover:text-white mr-24">Accommodations</a>
|
||||
<a href="#" class="block mt-4 lg:inline-block lg:mt-0 hover:text-white mr-24">Dress</a>
|
||||
<a href="#" class="block mt-4 lg:inline-block lg:mt-0 hover:text-white mr-24">Registry</a>
|
||||
<a href="#" class="block mt-4 lg:inline-block lg:mt-0 hover:text-white">RSVP</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--- Hero END -->
|
||||
</div>
|
||||
|
||||
@@ -18,25 +18,6 @@
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<nav class="flex items-center justify-between flex-wrap bg-[#8fbc8f]">
|
||||
<div class="text-4xl text-amber-100 fleur-de-leah-regular">
|
||||
Jillian and Adam's Wedding
|
||||
</div>
|
||||
<div id="burger-menu" class="block lg:hidden">
|
||||
<button class="flex items-center px-3 py-2 border rounded text-amber-100 border-amber-100 hover:text-white hover:border-white">
|
||||
<svg class="fill-current h-3 w-3" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><title>Menu</title><path d="M0 3h20v2H0V3zm0 6h20v2H0V9zm0 6h20v2H0v-2z"/></svg>
|
||||
</button>
|
||||
</div>
|
||||
<div class="w-full block flex-grow lg:flex lg:w-auto lg:justify-end">
|
||||
<div id="nav-links" class="text-md max-sm:hidden flex flex-col lg:flex-row lg:mr-4">
|
||||
<a href="#" class="block mt-4 lg:inline-block lg:mt-0 text-amber-100 hover:text-white mr-4">Ceremony & Reception</a>
|
||||
<a href="#" class="block mt-4 lg:inline-block lg:mt-0 text-amber-100 hover:text-white mr-4">Accommodations</a>
|
||||
<a href="#" class="block mt-4 lg:inline-block lg:mt-0 text-amber-100 hover:text-white mr-4">Dress</a>
|
||||
<a href="#" class="block mt-4 lg:inline-block lg:mt-0 text-amber-100 hover:text-white mr-4">Registry</a>
|
||||
<a href="#" class="block mt-4 lg:inline-block lg:mt-0 text-amber-100 hover:text-white">RSVP</a>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
<div id="main-content">
|
||||
<%= yield %>
|
||||
</div>
|
||||
@@ -44,7 +25,7 @@
|
||||
var burgerMenu = document.getElementById('burger-menu');
|
||||
var navLinks = document.getElementById('nav-links');
|
||||
burgerMenu.addEventListener('click', function() {
|
||||
navLinks.classList.toggle("max-sm:hidden");
|
||||
navLinks.classList.toggle("max-md:hidden");
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
33
guix.scm
Normal file
33
guix.scm
Normal file
@@ -0,0 +1,33 @@
|
||||
(use-modules (guix packages)
|
||||
(guix download)
|
||||
(guix build-system gnu)
|
||||
(gnu packages curl)
|
||||
(gnu packages certs)
|
||||
(gnu packages icu4c)
|
||||
(gnu packages ruby)
|
||||
(gnu packages serialization)
|
||||
(gnu packages version-control)
|
||||
(gnu packages tls)
|
||||
(gnu packages web)
|
||||
(gnu packages xml))
|
||||
|
||||
(package
|
||||
(name "wedding-plan")
|
||||
(version "0.0.1-git")
|
||||
(source #f)
|
||||
(build-system gnu-build-system)
|
||||
(inputs
|
||||
(list ruby-3.2
|
||||
git
|
||||
libxml2
|
||||
icu4c
|
||||
jq
|
||||
curl
|
||||
libyaml
|
||||
nss-certs))
|
||||
(synopsis "")
|
||||
(description "")
|
||||
(home-page "")
|
||||
(license #f))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user