-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat + fix: web design system set up, fixed lato font
- Loading branch information
1 parent
863bfc5
commit 6c66baa
Showing
5 changed files
with
58 additions
and
6 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -27,19 +27,23 @@ export default function RootLayout({ | |
return ( | ||
<html lang="en"> | ||
<head> | ||
<style> | ||
@import | ||
url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap'); | ||
</style> | ||
<link | ||
rel="stylesheet" | ||
href="https://unpkg.com/[email protected]/dist/leaflet.css" | ||
integrity="sha256-p4NxAoJBhIIN+hmNHrzRCf9tD/miZyoHS5obTRR9BMY=" | ||
crossOrigin="" | ||
/> | ||
<link | ||
{/* <link | ||
href="https://fonts.googleapis.com/css?family=Lato:400,700" | ||
rel="stylesheet" | ||
integrity="sha384-DelNu+PL/74bL4pHGH8gPG8J5Q6wrLpZiiVttBSvpOibBVQf3EOXerhZlmHcnZsI" | ||
type="text/css" | ||
crossOrigin="" | ||
/> | ||
/> */} | ||
<script | ||
src="https://unpkg.com/[email protected]/dist/leaflet.js" | ||
integrity="sha256-20nQCchB9co0qIjJZRGuk2/Z9VM+kNiyxNV1lvTlZBo=" | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// @ts-nocheck | ||
'use client'; | ||
|
||
/* eslint-disable */ | ||
|
||
import React from 'react'; | ||
|
||
export default function Test() { | ||
return <div />; | ||
} |
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
35 changes: 35 additions & 0 deletions
35
src/components/userComponents/VisitorResources/AdmissionButton.tsx
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 @@ | ||
import React from 'react'; | ||
import Link from 'next/link'; | ||
import { MdOutlineCalendarMonth } from 'react-icons/md'; | ||
|
||
/** | ||
* @returns - Button for the user to view the hours and location of the wildlife care center | ||
* This button is part of the Visitor Resources section of the home page | ||
*/ | ||
function AdmissionButton() { | ||
return ( | ||
<Link | ||
className="AdmissionButton bg-ivory w-full py-5 rounded-md shadow | ||
justify-center items-center inline-flex z-10 | ||
px-5 web:px-8 web:py-6" | ||
href="/hoursAdmissionPage" | ||
> | ||
<div | ||
className="GreenCircle w-10 h-10 relative bg-mint-cream | ||
rounded-full flex justify-center items-center" | ||
> | ||
<MdOutlineCalendarMonth className="w-7 h-7 text-scary-forest" /> | ||
</div> | ||
<div | ||
className="flex-col justify-start | ||
items-start gap-0.5 inline-flex" | ||
> | ||
<p className="b1 text-night whitespace-normal web:text-nowrap"> | ||
Hours & Location | ||
</p> | ||
</div> | ||
</Link> | ||
); | ||
} | ||
|
||
export default AdmissionButton; |