Compare commits
No commits in common. "master" and "listings2" have entirely different histories.
5
.github/FUNDING.yml
vendored
|
@ -1,5 +0,0 @@
|
||||||
# These are supported funding model platforms
|
|
||||||
|
|
||||||
github: [batuhan-basoglu]
|
|
||||||
ko_fi: batuhanbasoglu
|
|
||||||
liberapay: batuhan-basoglu
|
|
41
.github/workflows/mirror.yml
vendored
|
@ -1,41 +0,0 @@
|
||||||
name: 🪞 Push to Mirrors
|
|
||||||
|
|
||||||
on: [ push, delete, create ]
|
|
||||||
|
|
||||||
# Ensures that only one mirror task will run at a time.
|
|
||||||
concurrency:
|
|
||||||
group: git-mirror
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
gitlab:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Mirror to GitLab
|
|
||||||
uses: wearerequired/git-mirror-action@v1
|
|
||||||
env:
|
|
||||||
SSH_PRIVATE_KEY: ${{ secrets.ACTIONS_SSH_KEY }}
|
|
||||||
with:
|
|
||||||
source-repo: "git@github.com:batuhan-basoglu/Kene-s-Cribs-Website.git"
|
|
||||||
destination-repo: "git@gitlab.com:batuhan-basoglu/Kene-s-Cribs-Website.git"
|
|
||||||
|
|
||||||
codeberg:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Mirror to Codeberg
|
|
||||||
uses: wearerequired/git-mirror-action@v1
|
|
||||||
env:
|
|
||||||
SSH_PRIVATE_KEY: ${{ secrets.ACTIONS_SSH_KEY }}
|
|
||||||
with:
|
|
||||||
source-repo: "git@github.com:batuhan-basoglu/Kene-s-Cribs-Website.git"
|
|
||||||
destination-repo: "git@codeberg.org:batuhan-basoglu/Kene-s-Cribs-Website.git"
|
|
||||||
|
|
||||||
forgejo:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Mirror to Forgejo
|
|
||||||
uses: wearerequired/git-mirror-action@v1
|
|
||||||
env:
|
|
||||||
SSH_PRIVATE_KEY: ${{ secrets.ACTIONS_SSH_KEY }}
|
|
||||||
with:
|
|
||||||
source-repo: "git@github.com:batuhan-basoglu/Kene-s-Cribs-Website.git"
|
|
||||||
destination-repo: "git@git.batuhan.basoglu.ca:batuhan-basoglu/Kene-s-Cribs-Website.git"
|
|
674
LICENSE.md
|
@ -1,674 +0,0 @@
|
||||||
GNU GENERAL PUBLIC LICENSE
|
|
||||||
Version 3, 29 June 2007
|
|
||||||
|
|
||||||
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
|
||||||
Everyone is permitted to copy and distribute verbatim copies
|
|
||||||
of this license document, but changing it is not allowed.
|
|
||||||
|
|
||||||
Preamble
|
|
||||||
|
|
||||||
The GNU General Public License is a free, copyleft license for
|
|
||||||
software and other kinds of works.
|
|
||||||
|
|
||||||
The licenses for most software and other practical works are designed
|
|
||||||
to take away your freedom to share and change the works. By contrast,
|
|
||||||
the GNU General Public License is intended to guarantee your freedom to
|
|
||||||
share and change all versions of a program--to make sure it remains free
|
|
||||||
software for all its users. We, the Free Software Foundation, use the
|
|
||||||
GNU General Public License for most of our software; it applies also to
|
|
||||||
any other work released this way by its authors. You can apply it to
|
|
||||||
your programs, too.
|
|
||||||
|
|
||||||
When we speak of free software, we are referring to freedom, not
|
|
||||||
price. Our General Public Licenses are designed to make sure that you
|
|
||||||
have the freedom to distribute copies of free software (and charge for
|
|
||||||
them if you wish), that you receive source code or can get it if you
|
|
||||||
want it, that you can change the software or use pieces of it in new
|
|
||||||
free programs, and that you know you can do these things.
|
|
||||||
|
|
||||||
To protect your rights, we need to prevent others from denying you
|
|
||||||
these rights or asking you to surrender the rights. Therefore, you have
|
|
||||||
certain responsibilities if you distribute copies of the software, or if
|
|
||||||
you modify it: responsibilities to respect the freedom of others.
|
|
||||||
|
|
||||||
For example, if you distribute copies of such a program, whether
|
|
||||||
gratis or for a fee, you must pass on to the recipients the same
|
|
||||||
freedoms that you received. You must make sure that they, too, receive
|
|
||||||
or can get the source code. And you must show them these terms so they
|
|
||||||
know their rights.
|
|
||||||
|
|
||||||
Developers that use the GNU GPL protect your rights with two steps:
|
|
||||||
(1) assert copyright on the software, and (2) offer you this License
|
|
||||||
giving you legal permission to copy, distribute and/or modify it.
|
|
||||||
|
|
||||||
For the developers' and authors' protection, the GPL clearly explains
|
|
||||||
that there is no warranty for this free software. For both users' and
|
|
||||||
authors' sake, the GPL requires that modified versions be marked as
|
|
||||||
changed, so that their problems will not be attributed erroneously to
|
|
||||||
authors of previous versions.
|
|
||||||
|
|
||||||
Some devices are designed to deny users access to install or run
|
|
||||||
modified versions of the software inside them, although the manufacturer
|
|
||||||
can do so. This is fundamentally incompatible with the aim of
|
|
||||||
protecting users' freedom to change the software. The systematic
|
|
||||||
pattern of such abuse occurs in the area of products for individuals to
|
|
||||||
use, which is precisely where it is most unacceptable. Therefore, we
|
|
||||||
have designed this version of the GPL to prohibit the practice for those
|
|
||||||
products. If such problems arise substantially in other domains, we
|
|
||||||
stand ready to extend this provision to those domains in future versions
|
|
||||||
of the GPL, as needed to protect the freedom of users.
|
|
||||||
|
|
||||||
Finally, every program is threatened constantly by software patents.
|
|
||||||
States should not allow patents to restrict development and use of
|
|
||||||
software on general-purpose computers, but in those that do, we wish to
|
|
||||||
avoid the special danger that patents applied to a free program could
|
|
||||||
make it effectively proprietary. To prevent this, the GPL assures that
|
|
||||||
patents cannot be used to render the program non-free.
|
|
||||||
|
|
||||||
The precise terms and conditions for copying, distribution and
|
|
||||||
modification follow.
|
|
||||||
|
|
||||||
TERMS AND CONDITIONS
|
|
||||||
|
|
||||||
0. Definitions.
|
|
||||||
|
|
||||||
"This License" refers to version 3 of the GNU General Public License.
|
|
||||||
|
|
||||||
"Copyright" also means copyright-like laws that apply to other kinds of
|
|
||||||
works, such as semiconductor masks.
|
|
||||||
|
|
||||||
"The Program" refers to any copyrightable work licensed under this
|
|
||||||
License. Each licensee is addressed as "you". "Licensees" and
|
|
||||||
"recipients" may be individuals or organizations.
|
|
||||||
|
|
||||||
To "modify" a work means to copy from or adapt all or part of the work
|
|
||||||
in a fashion requiring copyright permission, other than the making of an
|
|
||||||
exact copy. The resulting work is called a "modified version" of the
|
|
||||||
earlier work or a work "based on" the earlier work.
|
|
||||||
|
|
||||||
A "covered work" means either the unmodified Program or a work based
|
|
||||||
on the Program.
|
|
||||||
|
|
||||||
To "propagate" a work means to do anything with it that, without
|
|
||||||
permission, would make you directly or secondarily liable for
|
|
||||||
infringement under applicable copyright law, except executing it on a
|
|
||||||
computer or modifying a private copy. Propagation includes copying,
|
|
||||||
distribution (with or without modification), making available to the
|
|
||||||
public, and in some countries other activities as well.
|
|
||||||
|
|
||||||
To "convey" a work means any kind of propagation that enables other
|
|
||||||
parties to make or receive copies. Mere interaction with a user through
|
|
||||||
a computer network, with no transfer of a copy, is not conveying.
|
|
||||||
|
|
||||||
An interactive user interface displays "Appropriate Legal Notices"
|
|
||||||
to the extent that it includes a convenient and prominently visible
|
|
||||||
feature that (1) displays an appropriate copyright notice, and (2)
|
|
||||||
tells the user that there is no warranty for the work (except to the
|
|
||||||
extent that warranties are provided), that licensees may convey the
|
|
||||||
work under this License, and how to view a copy of this License. If
|
|
||||||
the interface presents a list of user commands or options, such as a
|
|
||||||
menu, a prominent item in the list meets this criterion.
|
|
||||||
|
|
||||||
1. Source Code.
|
|
||||||
|
|
||||||
The "source code" for a work means the preferred form of the work
|
|
||||||
for making modifications to it. "Object code" means any non-source
|
|
||||||
form of a work.
|
|
||||||
|
|
||||||
A "Standard Interface" means an interface that either is an official
|
|
||||||
standard defined by a recognized standards body, or, in the case of
|
|
||||||
interfaces specified for a particular programming language, one that
|
|
||||||
is widely used among developers working in that language.
|
|
||||||
|
|
||||||
The "System Libraries" of an executable work include anything, other
|
|
||||||
than the work as a whole, that (a) is included in the normal form of
|
|
||||||
packaging a Major Component, but which is not part of that Major
|
|
||||||
Component, and (b) serves only to enable use of the work with that
|
|
||||||
Major Component, or to implement a Standard Interface for which an
|
|
||||||
implementation is available to the public in source code form. A
|
|
||||||
"Major Component", in this context, means a major essential component
|
|
||||||
(kernel, window system, and so on) of the specific operating system
|
|
||||||
(if any) on which the executable work runs, or a compiler used to
|
|
||||||
produce the work, or an object code interpreter used to run it.
|
|
||||||
|
|
||||||
The "Corresponding Source" for a work in object code form means all
|
|
||||||
the source code needed to generate, install, and (for an executable
|
|
||||||
work) run the object code and to modify the work, including scripts to
|
|
||||||
control those activities. However, it does not include the work's
|
|
||||||
System Libraries, or general-purpose tools or generally available free
|
|
||||||
programs which are used unmodified in performing those activities but
|
|
||||||
which are not part of the work. For example, Corresponding Source
|
|
||||||
includes interface definition files associated with source files for
|
|
||||||
the work, and the source code for shared libraries and dynamically
|
|
||||||
linked subprograms that the work is specifically designed to require,
|
|
||||||
such as by intimate data communication or control flow between those
|
|
||||||
subprograms and other parts of the work.
|
|
||||||
|
|
||||||
The Corresponding Source need not include anything that users
|
|
||||||
can regenerate automatically from other parts of the Corresponding
|
|
||||||
Source.
|
|
||||||
|
|
||||||
The Corresponding Source for a work in source code form is that
|
|
||||||
same work.
|
|
||||||
|
|
||||||
2. Basic Permissions.
|
|
||||||
|
|
||||||
All rights granted under this License are granted for the term of
|
|
||||||
copyright on the Program, and are irrevocable provided the stated
|
|
||||||
conditions are met. This License explicitly affirms your unlimited
|
|
||||||
permission to run the unmodified Program. The output from running a
|
|
||||||
covered work is covered by this License only if the output, given its
|
|
||||||
content, constitutes a covered work. This License acknowledges your
|
|
||||||
rights of fair use or other equivalent, as provided by copyright law.
|
|
||||||
|
|
||||||
You may make, run and propagate covered works that you do not
|
|
||||||
convey, without conditions so long as your license otherwise remains
|
|
||||||
in force. You may convey covered works to others for the sole purpose
|
|
||||||
of having them make modifications exclusively for you, or provide you
|
|
||||||
with facilities for running those works, provided that you comply with
|
|
||||||
the terms of this License in conveying all material for which you do
|
|
||||||
not control copyright. Those thus making or running the covered works
|
|
||||||
for you must do so exclusively on your behalf, under your direction
|
|
||||||
and control, on terms that prohibit them from making any copies of
|
|
||||||
your copyrighted material outside their relationship with you.
|
|
||||||
|
|
||||||
Conveying under any other circumstances is permitted solely under
|
|
||||||
the conditions stated below. Sublicensing is not allowed; section 10
|
|
||||||
makes it unnecessary.
|
|
||||||
|
|
||||||
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
|
||||||
|
|
||||||
No covered work shall be deemed part of an effective technological
|
|
||||||
measure under any applicable law fulfilling obligations under article
|
|
||||||
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
|
||||||
similar laws prohibiting or restricting circumvention of such
|
|
||||||
measures.
|
|
||||||
|
|
||||||
When you convey a covered work, you waive any legal power to forbid
|
|
||||||
circumvention of technological measures to the extent such circumvention
|
|
||||||
is effected by exercising rights under this License with respect to
|
|
||||||
the covered work, and you disclaim any intention to limit operation or
|
|
||||||
modification of the work as a means of enforcing, against the work's
|
|
||||||
users, your or third parties' legal rights to forbid circumvention of
|
|
||||||
technological measures.
|
|
||||||
|
|
||||||
4. Conveying Verbatim Copies.
|
|
||||||
|
|
||||||
You may convey verbatim copies of the Program's source code as you
|
|
||||||
receive it, in any medium, provided that you conspicuously and
|
|
||||||
appropriately publish on each copy an appropriate copyright notice;
|
|
||||||
keep intact all notices stating that this License and any
|
|
||||||
non-permissive terms added in accord with section 7 apply to the code;
|
|
||||||
keep intact all notices of the absence of any warranty; and give all
|
|
||||||
recipients a copy of this License along with the Program.
|
|
||||||
|
|
||||||
You may charge any price or no price for each copy that you convey,
|
|
||||||
and you may offer support or warranty protection for a fee.
|
|
||||||
|
|
||||||
5. Conveying Modified Source Versions.
|
|
||||||
|
|
||||||
You may convey a work based on the Program, or the modifications to
|
|
||||||
produce it from the Program, in the form of source code under the
|
|
||||||
terms of section 4, provided that you also meet all of these conditions:
|
|
||||||
|
|
||||||
a) The work must carry prominent notices stating that you modified
|
|
||||||
it, and giving a relevant date.
|
|
||||||
|
|
||||||
b) The work must carry prominent notices stating that it is
|
|
||||||
released under this License and any conditions added under section
|
|
||||||
7. This requirement modifies the requirement in section 4 to
|
|
||||||
"keep intact all notices".
|
|
||||||
|
|
||||||
c) You must license the entire work, as a whole, under this
|
|
||||||
License to anyone who comes into possession of a copy. This
|
|
||||||
License will therefore apply, along with any applicable section 7
|
|
||||||
additional terms, to the whole of the work, and all its parts,
|
|
||||||
regardless of how they are packaged. This License gives no
|
|
||||||
permission to license the work in any other way, but it does not
|
|
||||||
invalidate such permission if you have separately received it.
|
|
||||||
|
|
||||||
d) If the work has interactive user interfaces, each must display
|
|
||||||
Appropriate Legal Notices; however, if the Program has interactive
|
|
||||||
interfaces that do not display Appropriate Legal Notices, your
|
|
||||||
work need not make them do so.
|
|
||||||
|
|
||||||
A compilation of a covered work with other separate and independent
|
|
||||||
works, which are not by their nature extensions of the covered work,
|
|
||||||
and which are not combined with it such as to form a larger program,
|
|
||||||
in or on a volume of a storage or distribution medium, is called an
|
|
||||||
"aggregate" if the compilation and its resulting copyright are not
|
|
||||||
used to limit the access or legal rights of the compilation's users
|
|
||||||
beyond what the individual works permit. Inclusion of a covered work
|
|
||||||
in an aggregate does not cause this License to apply to the other
|
|
||||||
parts of the aggregate.
|
|
||||||
|
|
||||||
6. Conveying Non-Source Forms.
|
|
||||||
|
|
||||||
You may convey a covered work in object code form under the terms
|
|
||||||
of sections 4 and 5, provided that you also convey the
|
|
||||||
machine-readable Corresponding Source under the terms of this License,
|
|
||||||
in one of these ways:
|
|
||||||
|
|
||||||
a) Convey the object code in, or embodied in, a physical product
|
|
||||||
(including a physical distribution medium), accompanied by the
|
|
||||||
Corresponding Source fixed on a durable physical medium
|
|
||||||
customarily used for software interchange.
|
|
||||||
|
|
||||||
b) Convey the object code in, or embodied in, a physical product
|
|
||||||
(including a physical distribution medium), accompanied by a
|
|
||||||
written offer, valid for at least three years and valid for as
|
|
||||||
long as you offer spare parts or customer support for that product
|
|
||||||
model, to give anyone who possesses the object code either (1) a
|
|
||||||
copy of the Corresponding Source for all the software in the
|
|
||||||
product that is covered by this License, on a durable physical
|
|
||||||
medium customarily used for software interchange, for a price no
|
|
||||||
more than your reasonable cost of physically performing this
|
|
||||||
conveying of source, or (2) access to copy the
|
|
||||||
Corresponding Source from a network server at no charge.
|
|
||||||
|
|
||||||
c) Convey individual copies of the object code with a copy of the
|
|
||||||
written offer to provide the Corresponding Source. This
|
|
||||||
alternative is allowed only occasionally and noncommercially, and
|
|
||||||
only if you received the object code with such an offer, in accord
|
|
||||||
with subsection 6b.
|
|
||||||
|
|
||||||
d) Convey the object code by offering access from a designated
|
|
||||||
place (gratis or for a charge), and offer equivalent access to the
|
|
||||||
Corresponding Source in the same way through the same place at no
|
|
||||||
further charge. You need not require recipients to copy the
|
|
||||||
Corresponding Source along with the object code. If the place to
|
|
||||||
copy the object code is a network server, the Corresponding Source
|
|
||||||
may be on a different server (operated by you or a third party)
|
|
||||||
that supports equivalent copying facilities, provided you maintain
|
|
||||||
clear directions next to the object code saying where to find the
|
|
||||||
Corresponding Source. Regardless of what server hosts the
|
|
||||||
Corresponding Source, you remain obligated to ensure that it is
|
|
||||||
available for as long as needed to satisfy these requirements.
|
|
||||||
|
|
||||||
e) Convey the object code using peer-to-peer transmission, provided
|
|
||||||
you inform other peers where the object code and Corresponding
|
|
||||||
Source of the work are being offered to the general public at no
|
|
||||||
charge under subsection 6d.
|
|
||||||
|
|
||||||
A separable portion of the object code, whose source code is excluded
|
|
||||||
from the Corresponding Source as a System Library, need not be
|
|
||||||
included in conveying the object code work.
|
|
||||||
|
|
||||||
A "User Product" is either (1) a "consumer product", which means any
|
|
||||||
tangible personal property which is normally used for personal, family,
|
|
||||||
or household purposes, or (2) anything designed or sold for incorporation
|
|
||||||
into a dwelling. In determining whether a product is a consumer product,
|
|
||||||
doubtful cases shall be resolved in favor of coverage. For a particular
|
|
||||||
product received by a particular user, "normally used" refers to a
|
|
||||||
typical or common use of that class of product, regardless of the status
|
|
||||||
of the particular user or of the way in which the particular user
|
|
||||||
actually uses, or expects or is expected to use, the product. A product
|
|
||||||
is a consumer product regardless of whether the product has substantial
|
|
||||||
commercial, industrial or non-consumer uses, unless such uses represent
|
|
||||||
the only significant mode of use of the product.
|
|
||||||
|
|
||||||
"Installation Information" for a User Product means any methods,
|
|
||||||
procedures, authorization keys, or other information required to install
|
|
||||||
and execute modified versions of a covered work in that User Product from
|
|
||||||
a modified version of its Corresponding Source. The information must
|
|
||||||
suffice to ensure that the continued functioning of the modified object
|
|
||||||
code is in no case prevented or interfered with solely because
|
|
||||||
modification has been made.
|
|
||||||
|
|
||||||
If you convey an object code work under this section in, or with, or
|
|
||||||
specifically for use in, a User Product, and the conveying occurs as
|
|
||||||
part of a transaction in which the right of possession and use of the
|
|
||||||
User Product is transferred to the recipient in perpetuity or for a
|
|
||||||
fixed term (regardless of how the transaction is characterized), the
|
|
||||||
Corresponding Source conveyed under this section must be accompanied
|
|
||||||
by the Installation Information. But this requirement does not apply
|
|
||||||
if neither you nor any third party retains the ability to install
|
|
||||||
modified object code on the User Product (for example, the work has
|
|
||||||
been installed in ROM).
|
|
||||||
|
|
||||||
The requirement to provide Installation Information does not include a
|
|
||||||
requirement to continue to provide support service, warranty, or updates
|
|
||||||
for a work that has been modified or installed by the recipient, or for
|
|
||||||
the User Product in which it has been modified or installed. Access to a
|
|
||||||
network may be denied when the modification itself materially and
|
|
||||||
adversely affects the operation of the network or violates the rules and
|
|
||||||
protocols for communication across the network.
|
|
||||||
|
|
||||||
Corresponding Source conveyed, and Installation Information provided,
|
|
||||||
in accord with this section must be in a format that is publicly
|
|
||||||
documented (and with an implementation available to the public in
|
|
||||||
source code form), and must require no special password or key for
|
|
||||||
unpacking, reading or copying.
|
|
||||||
|
|
||||||
7. Additional Terms.
|
|
||||||
|
|
||||||
"Additional permissions" are terms that supplement the terms of this
|
|
||||||
License by making exceptions from one or more of its conditions.
|
|
||||||
Additional permissions that are applicable to the entire Program shall
|
|
||||||
be treated as though they were included in this License, to the extent
|
|
||||||
that they are valid under applicable law. If additional permissions
|
|
||||||
apply only to part of the Program, that part may be used separately
|
|
||||||
under those permissions, but the entire Program remains governed by
|
|
||||||
this License without regard to the additional permissions.
|
|
||||||
|
|
||||||
When you convey a copy of a covered work, you may at your option
|
|
||||||
remove any additional permissions from that copy, or from any part of
|
|
||||||
it. (Additional permissions may be written to require their own
|
|
||||||
removal in certain cases when you modify the work.) You may place
|
|
||||||
additional permissions on material, added by you to a covered work,
|
|
||||||
for which you have or can give appropriate copyright permission.
|
|
||||||
|
|
||||||
Notwithstanding any other provision of this License, for material you
|
|
||||||
add to a covered work, you may (if authorized by the copyright holders of
|
|
||||||
that material) supplement the terms of this License with terms:
|
|
||||||
|
|
||||||
a) Disclaiming warranty or limiting liability differently from the
|
|
||||||
terms of sections 15 and 16 of this License; or
|
|
||||||
|
|
||||||
b) Requiring preservation of specified reasonable legal notices or
|
|
||||||
author attributions in that material or in the Appropriate Legal
|
|
||||||
Notices displayed by works containing it; or
|
|
||||||
|
|
||||||
c) Prohibiting misrepresentation of the origin of that material, or
|
|
||||||
requiring that modified versions of such material be marked in
|
|
||||||
reasonable ways as different from the original version; or
|
|
||||||
|
|
||||||
d) Limiting the use for publicity purposes of names of licensors or
|
|
||||||
authors of the material; or
|
|
||||||
|
|
||||||
e) Declining to grant rights under trademark law for use of some
|
|
||||||
trade names, trademarks, or service marks; or
|
|
||||||
|
|
||||||
f) Requiring indemnification of licensors and authors of that
|
|
||||||
material by anyone who conveys the material (or modified versions of
|
|
||||||
it) with contractual assumptions of liability to the recipient, for
|
|
||||||
any liability that these contractual assumptions directly impose on
|
|
||||||
those licensors and authors.
|
|
||||||
|
|
||||||
All other non-permissive additional terms are considered "further
|
|
||||||
restrictions" within the meaning of section 10. If the Program as you
|
|
||||||
received it, or any part of it, contains a notice stating that it is
|
|
||||||
governed by this License along with a term that is a further
|
|
||||||
restriction, you may remove that term. If a license document contains
|
|
||||||
a further restriction but permits relicensing or conveying under this
|
|
||||||
License, you may add to a covered work material governed by the terms
|
|
||||||
of that license document, provided that the further restriction does
|
|
||||||
not survive such relicensing or conveying.
|
|
||||||
|
|
||||||
If you add terms to a covered work in accord with this section, you
|
|
||||||
must place, in the relevant source files, a statement of the
|
|
||||||
additional terms that apply to those files, or a notice indicating
|
|
||||||
where to find the applicable terms.
|
|
||||||
|
|
||||||
Additional terms, permissive or non-permissive, may be stated in the
|
|
||||||
form of a separately written license, or stated as exceptions;
|
|
||||||
the above requirements apply either way.
|
|
||||||
|
|
||||||
8. Termination.
|
|
||||||
|
|
||||||
You may not propagate or modify a covered work except as expressly
|
|
||||||
provided under this License. Any attempt otherwise to propagate or
|
|
||||||
modify it is void, and will automatically terminate your rights under
|
|
||||||
this License (including any patent licenses granted under the third
|
|
||||||
paragraph of section 11).
|
|
||||||
|
|
||||||
However, if you cease all violation of this License, then your
|
|
||||||
license from a particular copyright holder is reinstated (a)
|
|
||||||
provisionally, unless and until the copyright holder explicitly and
|
|
||||||
finally terminates your license, and (b) permanently, if the copyright
|
|
||||||
holder fails to notify you of the violation by some reasonable means
|
|
||||||
prior to 60 days after the cessation.
|
|
||||||
|
|
||||||
Moreover, your license from a particular copyright holder is
|
|
||||||
reinstated permanently if the copyright holder notifies you of the
|
|
||||||
violation by some reasonable means, this is the first time you have
|
|
||||||
received notice of violation of this License (for any work) from that
|
|
||||||
copyright holder, and you cure the violation prior to 30 days after
|
|
||||||
your receipt of the notice.
|
|
||||||
|
|
||||||
Termination of your rights under this section does not terminate the
|
|
||||||
licenses of parties who have received copies or rights from you under
|
|
||||||
this License. If your rights have been terminated and not permanently
|
|
||||||
reinstated, you do not qualify to receive new licenses for the same
|
|
||||||
material under section 10.
|
|
||||||
|
|
||||||
9. Acceptance Not Required for Having Copies.
|
|
||||||
|
|
||||||
You are not required to accept this License in order to receive or
|
|
||||||
run a copy of the Program. Ancillary propagation of a covered work
|
|
||||||
occurring solely as a consequence of using peer-to-peer transmission
|
|
||||||
to receive a copy likewise does not require acceptance. However,
|
|
||||||
nothing other than this License grants you permission to propagate or
|
|
||||||
modify any covered work. These actions infringe copyright if you do
|
|
||||||
not accept this License. Therefore, by modifying or propagating a
|
|
||||||
covered work, you indicate your acceptance of this License to do so.
|
|
||||||
|
|
||||||
10. Automatic Licensing of Downstream Recipients.
|
|
||||||
|
|
||||||
Each time you convey a covered work, the recipient automatically
|
|
||||||
receives a license from the original licensors, to run, modify and
|
|
||||||
propagate that work, subject to this License. You are not responsible
|
|
||||||
for enforcing compliance by third parties with this License.
|
|
||||||
|
|
||||||
An "entity transaction" is a transaction transferring control of an
|
|
||||||
organization, or substantially all assets of one, or subdividing an
|
|
||||||
organization, or merging organizations. If propagation of a covered
|
|
||||||
work results from an entity transaction, each party to that
|
|
||||||
transaction who receives a copy of the work also receives whatever
|
|
||||||
licenses to the work the party's predecessor in interest had or could
|
|
||||||
give under the previous paragraph, plus a right to possession of the
|
|
||||||
Corresponding Source of the work from the predecessor in interest, if
|
|
||||||
the predecessor has it or can get it with reasonable efforts.
|
|
||||||
|
|
||||||
You may not impose any further restrictions on the exercise of the
|
|
||||||
rights granted or affirmed under this License. For example, you may
|
|
||||||
not impose a license fee, royalty, or other charge for exercise of
|
|
||||||
rights granted under this License, and you may not initiate litigation
|
|
||||||
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
|
||||||
any patent claim is infringed by making, using, selling, offering for
|
|
||||||
sale, or importing the Program or any portion of it.
|
|
||||||
|
|
||||||
11. Patents.
|
|
||||||
|
|
||||||
A "contributor" is a copyright holder who authorizes use under this
|
|
||||||
License of the Program or a work on which the Program is based. The
|
|
||||||
work thus licensed is called the contributor's "contributor version".
|
|
||||||
|
|
||||||
A contributor's "essential patent claims" are all patent claims
|
|
||||||
owned or controlled by the contributor, whether already acquired or
|
|
||||||
hereafter acquired, that would be infringed by some manner, permitted
|
|
||||||
by this License, of making, using, or selling its contributor version,
|
|
||||||
but do not include claims that would be infringed only as a
|
|
||||||
consequence of further modification of the contributor version. For
|
|
||||||
purposes of this definition, "control" includes the right to grant
|
|
||||||
patent sublicenses in a manner consistent with the requirements of
|
|
||||||
this License.
|
|
||||||
|
|
||||||
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
|
||||||
patent license under the contributor's essential patent claims, to
|
|
||||||
make, use, sell, offer for sale, import and otherwise run, modify and
|
|
||||||
propagate the contents of its contributor version.
|
|
||||||
|
|
||||||
In the following three paragraphs, a "patent license" is any express
|
|
||||||
agreement or commitment, however denominated, not to enforce a patent
|
|
||||||
(such as an express permission to practice a patent or covenant not to
|
|
||||||
sue for patent infringement). To "grant" such a patent license to a
|
|
||||||
party means to make such an agreement or commitment not to enforce a
|
|
||||||
patent against the party.
|
|
||||||
|
|
||||||
If you convey a covered work, knowingly relying on a patent license,
|
|
||||||
and the Corresponding Source of the work is not available for anyone
|
|
||||||
to copy, free of charge and under the terms of this License, through a
|
|
||||||
publicly available network server or other readily accessible means,
|
|
||||||
then you must either (1) cause the Corresponding Source to be so
|
|
||||||
available, or (2) arrange to deprive yourself of the benefit of the
|
|
||||||
patent license for this particular work, or (3) arrange, in a manner
|
|
||||||
consistent with the requirements of this License, to extend the patent
|
|
||||||
license to downstream recipients. "Knowingly relying" means you have
|
|
||||||
actual knowledge that, but for the patent license, your conveying the
|
|
||||||
covered work in a country, or your recipient's use of the covered work
|
|
||||||
in a country, would infringe one or more identifiable patents in that
|
|
||||||
country that you have reason to believe are valid.
|
|
||||||
|
|
||||||
If, pursuant to or in connection with a single transaction or
|
|
||||||
arrangement, you convey, or propagate by procuring conveyance of, a
|
|
||||||
covered work, and grant a patent license to some of the parties
|
|
||||||
receiving the covered work authorizing them to use, propagate, modify
|
|
||||||
or convey a specific copy of the covered work, then the patent license
|
|
||||||
you grant is automatically extended to all recipients of the covered
|
|
||||||
work and works based on it.
|
|
||||||
|
|
||||||
A patent license is "discriminatory" if it does not include within
|
|
||||||
the scope of its coverage, prohibits the exercise of, or is
|
|
||||||
conditioned on the non-exercise of one or more of the rights that are
|
|
||||||
specifically granted under this License. You may not convey a covered
|
|
||||||
work if you are a party to an arrangement with a third party that is
|
|
||||||
in the business of distributing software, under which you make payment
|
|
||||||
to the third party based on the extent of your activity of conveying
|
|
||||||
the work, and under which the third party grants, to any of the
|
|
||||||
parties who would receive the covered work from you, a discriminatory
|
|
||||||
patent license (a) in connection with copies of the covered work
|
|
||||||
conveyed by you (or copies made from those copies), or (b) primarily
|
|
||||||
for and in connection with specific products or compilations that
|
|
||||||
contain the covered work, unless you entered into that arrangement,
|
|
||||||
or that patent license was granted, prior to 28 March 2007.
|
|
||||||
|
|
||||||
Nothing in this License shall be construed as excluding or limiting
|
|
||||||
any implied license or other defenses to infringement that may
|
|
||||||
otherwise be available to you under applicable patent law.
|
|
||||||
|
|
||||||
12. No Surrender of Others' Freedom.
|
|
||||||
|
|
||||||
If conditions are imposed on you (whether by court order, agreement or
|
|
||||||
otherwise) that contradict the conditions of this License, they do not
|
|
||||||
excuse you from the conditions of this License. If you cannot convey a
|
|
||||||
covered work so as to satisfy simultaneously your obligations under this
|
|
||||||
License and any other pertinent obligations, then as a consequence you may
|
|
||||||
not convey it at all. For example, if you agree to terms that obligate you
|
|
||||||
to collect a royalty for further conveying from those to whom you convey
|
|
||||||
the Program, the only way you could satisfy both those terms and this
|
|
||||||
License would be to refrain entirely from conveying the Program.
|
|
||||||
|
|
||||||
13. Use with the GNU Affero General Public License.
|
|
||||||
|
|
||||||
Notwithstanding any other provision of this License, you have
|
|
||||||
permission to link or combine any covered work with a work licensed
|
|
||||||
under version 3 of the GNU Affero General Public License into a single
|
|
||||||
combined work, and to convey the resulting work. The terms of this
|
|
||||||
License will continue to apply to the part which is the covered work,
|
|
||||||
but the special requirements of the GNU Affero General Public License,
|
|
||||||
section 13, concerning interaction through a network will apply to the
|
|
||||||
combination as such.
|
|
||||||
|
|
||||||
14. Revised Versions of this License.
|
|
||||||
|
|
||||||
The Free Software Foundation may publish revised and/or new versions of
|
|
||||||
the GNU General Public License from time to time. Such new versions will
|
|
||||||
be similar in spirit to the present version, but may differ in detail to
|
|
||||||
address new problems or concerns.
|
|
||||||
|
|
||||||
Each version is given a distinguishing version number. If the
|
|
||||||
Program specifies that a certain numbered version of the GNU General
|
|
||||||
Public License "or any later version" applies to it, you have the
|
|
||||||
option of following the terms and conditions either of that numbered
|
|
||||||
version or of any later version published by the Free Software
|
|
||||||
Foundation. If the Program does not specify a version number of the
|
|
||||||
GNU General Public License, you may choose any version ever published
|
|
||||||
by the Free Software Foundation.
|
|
||||||
|
|
||||||
If the Program specifies that a proxy can decide which future
|
|
||||||
versions of the GNU General Public License can be used, that proxy's
|
|
||||||
public statement of acceptance of a version permanently authorizes you
|
|
||||||
to choose that version for the Program.
|
|
||||||
|
|
||||||
Later license versions may give you additional or different
|
|
||||||
permissions. However, no additional obligations are imposed on any
|
|
||||||
author or copyright holder as a result of your choosing to follow a
|
|
||||||
later version.
|
|
||||||
|
|
||||||
15. Disclaimer of Warranty.
|
|
||||||
|
|
||||||
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
|
||||||
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
|
||||||
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
|
||||||
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
|
||||||
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
|
||||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
|
||||||
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
|
||||||
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
|
||||||
|
|
||||||
16. Limitation of Liability.
|
|
||||||
|
|
||||||
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
|
||||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
|
||||||
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
|
||||||
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
|
||||||
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
|
||||||
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
|
||||||
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
|
||||||
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
|
||||||
SUCH DAMAGES.
|
|
||||||
|
|
||||||
17. Interpretation of Sections 15 and 16.
|
|
||||||
|
|
||||||
If the disclaimer of warranty and limitation of liability provided
|
|
||||||
above cannot be given local legal effect according to their terms,
|
|
||||||
reviewing courts shall apply local law that most closely approximates
|
|
||||||
an absolute waiver of all civil liability in connection with the
|
|
||||||
Program, unless a warranty or assumption of liability accompanies a
|
|
||||||
copy of the Program in return for a fee.
|
|
||||||
|
|
||||||
END OF TERMS AND CONDITIONS
|
|
||||||
|
|
||||||
How to Apply These Terms to Your New Programs
|
|
||||||
|
|
||||||
If you develop a new program, and you want it to be of the greatest
|
|
||||||
possible use to the public, the best way to achieve this is to make it
|
|
||||||
free software which everyone can redistribute and change under these terms.
|
|
||||||
|
|
||||||
To do so, attach the following notices to the program. It is safest
|
|
||||||
to attach them to the start of each source file to most effectively
|
|
||||||
state the exclusion of warranty; and each file should have at least
|
|
||||||
the "copyright" line and a pointer to where the full notice is found.
|
|
||||||
|
|
||||||
<one line to give the program's name and a brief idea of what it does.>
|
|
||||||
Copyright (C) <year> <name of author>
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU General Public License as published by
|
|
||||||
the Free Software Foundation, either version 3 of the License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
Also add information on how to contact you by electronic and paper mail.
|
|
||||||
|
|
||||||
If the program does terminal interaction, make it output a short
|
|
||||||
notice like this when it starts in an interactive mode:
|
|
||||||
|
|
||||||
<program> Copyright (C) <year> <name of author>
|
|
||||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
|
||||||
This is free software, and you are welcome to redistribute it
|
|
||||||
under certain conditions; type `show c' for details.
|
|
||||||
|
|
||||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
|
||||||
parts of the General Public License. Of course, your program's commands
|
|
||||||
might be different; for a GUI interface, you would use an "about box".
|
|
||||||
|
|
||||||
You should also get your employer (if you work as a programmer) or school,
|
|
||||||
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
|
||||||
For more information on this, and how to apply and follow the GNU GPL, see
|
|
||||||
<https://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
The GNU General Public License does not permit incorporating your program
|
|
||||||
into proprietary programs. If your program is a subroutine library, you
|
|
||||||
may consider it more useful to permit linking proprietary applications with
|
|
||||||
the library. If this is what you want to do, use the GNU Lesser General
|
|
||||||
Public License instead of this License. But first, please read
|
|
||||||
<https://www.gnu.org/licenses/why-not-lgpl.html>.
|
|
|
@ -1,13 +1,13 @@
|
||||||
# Kene's Cribs Website
|
# SEG3125-LAB8
|
||||||
|
|
||||||
The Real Estate Website using React made by Ruchira Perrera, Sam Oyediran, Batuhan Berk Başoğlu, and Kene Ojukwu.
|
The Real Estate Website using React made by Ruchira Perrera, Sam Oyediran, Batuhan Basoglu, and Kene Ojukwu.
|
||||||
|
|
||||||
|
|
||||||
After npm start execute the command "node src/shared-components/contact-us/index.js" in order to set up the backend of the contact form. (Optional)
|
After npm start execute the command "node src/shared-components/contact-us/index.js" in order to set up the backend of the contact form.
|
||||||
|
|
||||||
# Authors
|
# Authors
|
||||||
|
|
||||||
- Batuhan Berk Başoğlu, 300001274 - batuhan-basoglu
|
- Batuhan Basoglu, 300001274 - ArcticHawk1
|
||||||
- Ruchira Perera, 8714992 - ruchirawp
|
- Ruchira Perera, 8714992 - ruchirawp
|
||||||
- Sam Oyediran, 300016349 - soyed
|
- Sam Oyediran, 300016349 - soyed
|
||||||
- Kene Ojukwu, 300027974 - kene17
|
- Kene Ojukwu, 300027974 - kene17
|
||||||
|
|
46018
package-lock.json
generated
57
package.json
|
@ -3,45 +3,40 @@
|
||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@reach/combobox": "^0.10.5",
|
"@testing-library/jest-dom": "^5.11.10",
|
||||||
"@react-google-maps/api": "^2.19.2",
|
"@testing-library/react": "^11.2.5",
|
||||||
"@testing-library/jest-dom": "^6.1.5",
|
"@testing-library/user-event": "^12.8.3",
|
||||||
"@testing-library/react": "^14.1.2",
|
"axios": "^0.21.1",
|
||||||
"@testing-library/user-event": "^14.5.2",
|
"bootstrap": "^4.6.0",
|
||||||
"axios": "^1.6.3",
|
|
||||||
"bootstrap": "^5.3.2",
|
|
||||||
"cors": "^2.8.5",
|
"cors": "^2.8.5",
|
||||||
"date-fns": "^3.0.6",
|
|
||||||
"email-validator": "^2.0.4",
|
"email-validator": "^2.0.4",
|
||||||
"express": "^4.17.1",
|
"express": "^4.17.1",
|
||||||
"flag-icon-css": "^4.1.7",
|
"flag-icon-css": "^3.5.0",
|
||||||
"formik": "^2.4.5",
|
"formik": "^2.2.6",
|
||||||
"i18next": "^23.7.13",
|
"i18next-browser-languagedetector": "^6.1.0",
|
||||||
"i18next-browser-languagedetector": "^7.2.0",
|
"i18next-http-backend": "^1.2.1",
|
||||||
"i18next-http-backend": "^2.4.2",
|
|
||||||
"joi-browser": "^13.4.0",
|
"joi-browser": "^13.4.0",
|
||||||
"js-cookie": "^3.0.5",
|
"js-cookie": "^2.2.1",
|
||||||
"nodemailer": "^6.9.9",
|
"nodemailer": "^6.5.0",
|
||||||
"react": "^18.2.0",
|
"react": "^17.0.2",
|
||||||
"react-alert": "^7.0.3",
|
"react-alert": "^7.0.2",
|
||||||
"react-alert-template-basic": "^1.0.2",
|
"react-alert-template-basic": "^1.0.0",
|
||||||
"react-bootstrap": "^2.9.2",
|
"react-bootstrap": "^1.5.2",
|
||||||
"react-bootstrap-carousel": "^4.1.1",
|
"react-bootstrap-carousel": "^4.1.1",
|
||||||
"react-dom": "^18.2.0",
|
"react-dom": "^17.0.2",
|
||||||
"react-fa": "^5.0.0",
|
"react-fa": "^5.0.0",
|
||||||
"react-form-with-constraints": "^0.16.1",
|
"react-form-with-constraints": "^0.16.0",
|
||||||
"react-form-with-constraints-bootstrap4": "^0.16.1",
|
"react-form-with-constraints-bootstrap4": "^0.16.0",
|
||||||
"react-google-maps": "^9.4.5",
|
"react-google-maps": "^9.4.5",
|
||||||
"react-hook-form": "^7.49.2",
|
"react-hook-form": "^7.0.0",
|
||||||
"react-i18next": "^14.0.0",
|
"react-i18next": "^11.8.12",
|
||||||
"react-router-dom": "^6.21.1",
|
"react-router-dom": "^5.2.0",
|
||||||
"react-scripts": "5.0.1",
|
"react-scripts": "4.0.3",
|
||||||
"react-select": "^5.8.0",
|
"react-select": "^4.3.0",
|
||||||
"reactstrap": "^9.2.1",
|
"reactstrap": "^8.9.0",
|
||||||
"spectre.css": "^0.5.9",
|
"spectre.css": "^0.5.9",
|
||||||
"use-places-autocomplete": "^4.0.1",
|
"web-vitals": "^1.1.1",
|
||||||
"web-vitals": "^3.5.1",
|
"yup": "^0.32.9"
|
||||||
"yup": "^1.3.3"
|
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "react-scripts start",
|
"start": "react-scripts start",
|
||||||
|
|
|
@ -22,64 +22,6 @@
|
||||||
"Nav_Agents": "Agents",
|
"Nav_Agents": "Agents",
|
||||||
"Nav_Contact_Us": "Contact Us",
|
"Nav_Contact_Us": "Contact Us",
|
||||||
"Nav_listing_page": "listing-page",
|
"Nav_listing_page": "listing-page",
|
||||||
"Nav_Login": "Login",
|
"Nav_Login": "Login"
|
||||||
"View_Button": "BOOK",
|
|
||||||
"MeetTeam": "Meet the Team",
|
|
||||||
"Sales_Ass": "sales assistant",
|
|
||||||
"Mike.Title": "Head Sales Assistant",
|
|
||||||
"Mike.Word": "Michael has a genuine passion for helping others and for giving back to the community.",
|
|
||||||
"Slogan_1": "YOU ARE NOT BUYING A HOUSE, ",
|
|
||||||
"Slogan_2": "YOU ARE BUYING A LIFESTYLE. ",
|
|
||||||
"Info": "Click for Details",
|
|
||||||
"Home1": "Welcome to Kene's Cribs. Kene's Cribs is a real estator company which provides the clients with the houses.",
|
|
||||||
"Home2": "The houses limited to the clients are only limited to the clients' dreams. In order to further navigate the",
|
|
||||||
"Home3": "website, use the navigation bar to switch between pages. Listings page is for browsing houses, Agents page",
|
|
||||||
"Home4": "is for browsing the estators, the Contact Us page is for the contacting us and the login page is for our",
|
|
||||||
"Home5": "members who want to benefit from our deals. Above are some houses which can interest you. Feel free to",
|
|
||||||
"Home6": "click the buttons above to explore the houses you want.",
|
|
||||||
"Desc": "Description",
|
|
||||||
"Rooms": "2 Bedroom, 3 Bathroom",
|
|
||||||
"Rooms1": "1 Bedroom, 1 Bathroom",
|
|
||||||
"Rooms2": "3 Bedroom, 3 Bathroom",
|
|
||||||
"Rooms3": "3 Bedroom, 3 Bathroom",
|
|
||||||
"Danger1": "Message could not send.",
|
|
||||||
"Danger2": "There are some errors in your contact form.",
|
|
||||||
"Success1": "The message is successfully sent.",
|
|
||||||
"Success2": "You contact form will be delivered to our support team.",
|
|
||||||
"Contact-Title": "Contact Us",
|
|
||||||
"Contact-Agent": "Select an Agent",
|
|
||||||
"Contact-House": "Select a House",
|
|
||||||
"No-Pref": "No preference",
|
|
||||||
"Contact-First": "First Name",
|
|
||||||
"Contact-Last": "Last Name",
|
|
||||||
"Contact-Mail": "Email Address",
|
|
||||||
"Contact-Message": "Message",
|
|
||||||
"Contact-Submit": "Submit",
|
|
||||||
"Contact-Error1": "Please select an item in the list.",
|
|
||||||
"Contact-Error2": "Please fill out this field.",
|
|
||||||
"Contact-Error3": "Invalid email address.",
|
|
||||||
"Search-Bar": "Search your location",
|
|
||||||
"Budget": "Select Budget",
|
|
||||||
"Beds": "Number of Beds",
|
|
||||||
"Baths": "Number of Baths",
|
|
||||||
"Any": "Any",
|
|
||||||
"Listing-Button": "Show Listing",
|
|
||||||
"listing_desc": "{{desc}}",
|
|
||||||
"listing_address": "{{address}}",
|
|
||||||
"Listing1-address": "8720 Russell Road",
|
|
||||||
"Listing2-address": "1490 Youville Drive",
|
|
||||||
"Listing3-address": "100 Charlie Rogers Place",
|
|
||||||
"Listing4-address": "2785 8th Line Road",
|
|
||||||
"Listing1-description": "RUN DON'T WALK to this beautiful former Jayman show home. This home has every feature and convenience you could want in a home. When you enter you will be greeted with a large entry way, open concept main floor with a very spacious chef-like kitchen, the big eat in dinning area is an entertainers dream and plenty of room in the living room as to cozy up to the fireplace. When you head upstairs the owner 's suite will impress with a gorgeous ensuite consisting of a large soaker tub, oversized shower, separate vanities, in-floor heating and 2 separate closest. You will also find a nice sized flex room, spacious laundry room up stairs, 4 piece main bathroom and 2 more bedrooms. Then head downstairs where you will find another bedroom, bathroom and Theatre room with wet bar and beverage station that is perfect for any movie lover. Must not forget that this home is air conditioned, has front and back irrigation outside and speakers throughout the house. All of this can be yours in the lake community of Auburn Bay close to all amenities and year round lake access just a short distance away",
|
|
||||||
"Listing2-description": "Nature at its Finest The Shores of Toney Bay are located at the mouth of River Phillip where it meets the Northumberland Straight with direct access to the incredible recreational waterways of River Phillip and nature rich Toney Bay. This nature lovers paradise boasts a plethora of migratory bird life and the rich fish stock of River Philip. The warm waters of the Northumberland Straight are swimmable from your shorefront, easy access to year-around activities and close proximity to the quaint community of Pugwash make this an ideal spot for a permeant residence or cottage. There are also ocean view / deeded access lots available. Large lots with unobstructed views and well away from highway noise. Swim in the warm waters at beautiful Heather's Beach just 4km away, fly fishing in the spring on River Phillip, book at tee time at Northumberland links, 16km away or enjoy a day at the Luxury Fox Harb'r Resort and Spa less then 30 mins away, and in winter enjoy skiing at Ski Wentworth a short 30 minutes drive. Lots are flat, cleared and ready for your dream home. All septic and building lot approvals are in place, good roads, and power to the lot line are included. Please take a few minutes to watch the video of the stunning Shores at Toney Bay",
|
|
||||||
"Listing3-description": "Custom, Hi-Ranch home located in sought after neighborhood in the Heart of Petawawa. This home features 2+1 bedrooms and 4 bathrooms. Main level features spacious foyer, hardwood staircase, gleaming hardwood floors and open concept living. Large windows provide lots of natural light, vaulted ceilings in living room, a spectacular spacious kitchen with stainless steel appliances and large island. Master bedroom with walk through closet and 3 piece en-suite with custom tile shower and heated tile floor. Lower level features a finished rec room with cozy gas fireplace, bedroom and 3 piece bathroom. Patio door in foyer leads to large private backyard with no rear neighbours, spacious wood deck and hot tub. Double attached garage completes the package. Pack your backs and move right in! No Conveyances of offers until Friday April 9th at 3PM however the seller has the right to view and may accept pre-emptive offers",
|
|
||||||
"Listing4-description": "Nestled in a quiet cul-de-sac in the family-friendly Ski Club/Widdifield neighbourhood, is 62 Riddle Court, a hidden gem that has everything you've been searching for - inside and out! Look up and take in the picturesque views of the escarpment, take a short walk or drive to the Laurentian Ski Hill with the family, or simply savour your very own property by having dinner on the patio, a glass of wine on the deck/balcony, and admire the breathtaking landscape (designed by an award-winning landscape artist) that wraps around your home. Lush perennials, tall grasses, interlocking brick pathways, in-ground sprinkler system and outdoor lighting make this property standout from the rest! Step inside to relish in all of the updated features this home has to offer - gleaming maple hardwood floors & stairs, updated maple kitchen cabinets, ceramic tile with in-floor radiant heat in bathrooms and office, built-in entertainment units, finished laundry room, low-maintenance composite deck off dining area, recessed lighting, updated windows, doors, insulation... the list goes on! Working from home these days? Enter the private & professional home office right off the recreation room through french doors. Enjoy the under-cabinet lighting, as well as the natural light beaming through the window with views of the backyard. Pride of ownership is obvious. Nothing left to do, but move-in! Pre-inspected for your peace of mind.",
|
|
||||||
"Listing-booking-btn": "Book Showing",
|
|
||||||
"Listing-description-header": "Description",
|
|
||||||
"Regular": "Sales Assistant",
|
|
||||||
"Agent2.W": "I have a passion for assisting clients with various real estate needs.",
|
|
||||||
"Agent3.W": "Anita looks forward to servicing you to her fullest potential, building long-lasting relationships and making your real estate experience a smooth and memorable one.",
|
|
||||||
"Agent4.W": "Since getting licensed in 2010 Alex has consistently been a top producing agent in the GTA.",
|
|
||||||
"Agent5.W": "Xuan grew up in the GTA, and he explored many different neighborhoods in and surrounding Toronto.",
|
|
||||||
"Agent6.W": "Walter Henry has always been one to follow his passion. At 13 years old, he started his career as a competitive gymnast."
|
|
||||||
}
|
}
|
|
@ -22,64 +22,5 @@
|
||||||
"Nav_Agents": "Agents",
|
"Nav_Agents": "Agents",
|
||||||
"Nav_Contact_Us": "Nous contacter",
|
"Nav_Contact_Us": "Nous contacter",
|
||||||
"Nav_listing_page": "page de liste",
|
"Nav_listing_page": "page de liste",
|
||||||
"Nav_Login": "Connexion",
|
"Nav_Login": "Connexion"
|
||||||
"View_Button": "LIVRE",
|
|
||||||
"MeetTeam": "Rencontrer l'équipe",
|
|
||||||
"Sales_Ass": "assistant des ventes",
|
|
||||||
"Mike.Title": "Assistant commercial en chef",
|
|
||||||
"Mike.Word": "Michael a une véritable passion pour aider les autres et pour redonner à la communauté.",
|
|
||||||
"Regular": "Assistant des ventes",
|
|
||||||
"Agent2.W": "J'ai une passion pour aider les clients avec divers besoins immobiliers.",
|
|
||||||
"Agent3.W": "Anita a hâte de vous servir à son plein potentiel, de bâtir des relations durables et de faire de votre expérience immobilière une expérience agréable et mémorable.",
|
|
||||||
"Agent4.W": "Depuis l'obtention de sa licence en 2010, Alex a toujours été l'un des meilleurs agents de production dans la région du Grand Toronto.",
|
|
||||||
"Agent5.W": "Xuan a grandi dans la région du Grand Toronto et a exploré de nombreux quartiers différents de Toronto et des environs.",
|
|
||||||
"Agent6.W": "Walter Henry a toujours été du genre à suivre sa passion. À 13 ans, il a commencé sa carrière en tant que gymnaste de compétition.",
|
|
||||||
"Slogan_1": "VOUS N'ACHETEZ PAS UNE MAISON, ",
|
|
||||||
"Slogan_2": "VOUS ACHETEZ UN STYLE DE VIE. ",
|
|
||||||
"Info": "Cliquer pour les détails",
|
|
||||||
"Home1": "Bienvenue chez Kene's Cribs. Kene's Cribs est une véritable société d'estateur qui fournit les maisons aux clients.",
|
|
||||||
"Home2": "Les maisons limitées aux clients ne se limitent qu'aux rêves des clients. Afin de mieux naviguer dans site Web, utilisez",
|
|
||||||
"Home3": "la barre de navigation pour basculer entre les pages. La page des listes sert à parcourir les maisons, la page Agents",
|
|
||||||
"Home4": "est pour parcourir les estators, la page Contactez-nous est pour nous contacter et la page de connexion est pour notre",
|
|
||||||
"Home5": "membres qui souhaitent bénéficier de nos offres. Ci-dessus, quelques maisons qui peuvent vous intéresser. N'hésitez",
|
|
||||||
"Home6": "pas à cliquez sur les boutons ci-dessus pour explorer les maisons que vous souhaitez.",
|
|
||||||
"Desc": "La Description",
|
|
||||||
"Rooms": "2 chambre, 3 salles de bains",
|
|
||||||
"Rooms1": "1 chambre, 1 salles de bains",
|
|
||||||
"Rooms2": "3 chambre, 3 salles de bains",
|
|
||||||
"Rooms3": "3 chambre, 3 salles de bains",
|
|
||||||
"Danger1": "Le message n'a pas pu être envoyé.",
|
|
||||||
"Danger2": "Il y a des erreurs dans votre formulaire de contact.",
|
|
||||||
"Success1": "Le message a été envoyé avec succès.",
|
|
||||||
"Success2": "Votre formulaire de contact sera envoyé à notre équipe d'assistance.",
|
|
||||||
"Contact-Title": "Contactez-Nous",
|
|
||||||
"Contact-Agent": "Sélectionnez un Agent",
|
|
||||||
"Contact-House": "Sélectionnez une Maison",
|
|
||||||
"No-Pref": "Aucune préférence",
|
|
||||||
"Contact-First": "Prénom",
|
|
||||||
"Contact-Last": "Nom de Famille",
|
|
||||||
"Contact-Mail": "Adresse E-mail",
|
|
||||||
"Contact-Message": "Le Message",
|
|
||||||
"Contact-Submit": "Soumettre",
|
|
||||||
"Contact-Error1": "Veuillez sélectionner un élément dans la liste.",
|
|
||||||
"Contact-Error2": "Veuillez remplir ce champ.",
|
|
||||||
"Contact-Error3": "Adresse e-mail invalide.",
|
|
||||||
"Search-Bar": "Rechercher",
|
|
||||||
"Budget": "Sélectionnez Budget",
|
|
||||||
"Beds": "Nombre de lits",
|
|
||||||
"Baths": "Nombre de bains",
|
|
||||||
"Any": "quelconque",
|
|
||||||
"Listing-Button": "Afficher la liste",
|
|
||||||
"listing_desc": "{{desc}}",
|
|
||||||
"listing_address": "{{address}}",
|
|
||||||
"Listing1-address": "8720, chemin Russell",
|
|
||||||
"Listing2-address": "1490, promenade Youville",
|
|
||||||
"Listing3-address": "100, place Charlie Rogers",
|
|
||||||
"Listing4-address": "2785, chemin 8th Line",
|
|
||||||
"Listing1-description": "RUN NE PAS MARCHE à cette belle ancienne maison d'exposition Jayman. Cette maison a toutes les caractéristiques et commodités que vous pourriez souhaiter dans une maison. Lorsque vous entrez, vous serez accueilli par une grande entrée, un rez-de-chaussée à aire ouverte avec une cuisine très spacieuse de type chef, le grand coin repas est un rêve pour les artistes et beaucoup d'espace dans le salon cheminée. Lorsque vous montez à l 'étage, la suite du propriétaire vous impressionnera par une magnifique salle de bains comprenant une grande baignoire, une douche surdimensionnée, des vanités séparées, le chauffage au sol et 2 chambres séparées les plus proches. Vous trouverez également une chambre flexible de bonne taille, une buanderie spacieuse en haut des escaliers, une salle de bain principale de 4 pièces et 2 autres chambres. Ensuite, dirigez-vous vers le bas où vous trouverez une autre chambre, une salle de bains et une salle de théâtre avec un bar et une station de boissons, parfait pour tout amateur de cinéma. Il ne faut pas oublier que cette maison est climatisée, dispose d'irrigation avant et arrière à l'extérieur et de haut-parleurs dans toute la maison. Tout cela peut être le vôtre dans la communauté lacustre d'Auburn Bay, à proximité de toutes les commodités et d'un accès au lac toute l'année à une courte distance",
|
|
||||||
"Listing2-description": "La nature à son meilleur Les rives de Toney Bay sont situées à l'embouchure de la rivière Phillip, à la rencontre du détroit de Northumberland, avec un accès direct aux incroyables voies navigables récréatives de la rivière Phillip et à la riche nature de Toney Bay. Ce paradis des amoureux de la nature possède une pléthore d'oiseaux migrateurs et le riche stock de poissons de la rivière Philip. Les eaux chaudes du détroit de Northumberland sont baignables depuis votre rivage, un accès facile aux activités toute l'année et la proximité de la pittoresque communauté de Pugwash en font un endroit idéal pour une résidence permanente ou un chalet. Il y a aussi des lots avec vue sur l'océan / accès notarié disponibles. Grands terrains avec vue dégagée et bien loin du bruit de l'autoroute. Nagez dans les eaux chaudes de la magnifique plage de Heather à seulement 4 km, pêchez à la mouche au printemps sur la rivière Phillip, réservez à l'heure du départ à Northumberland links, à 16 km ou profitez d'une journée au Luxury Fox Harb'r Resort and Spa à moins de 30 minutes loin, et en hiver, profitez du ski à Ski Wentworth à 30 minutes en voiture. Les lots sont plats, dégagés et prêts pour la maison de vos rêves. Toutes les approbations de terrains septiques et à bâtir sont en place, de bonnes routes et l'alimentation électrique de la ligne de lot sont incluses. Veuillez prendre quelques minutes pour regarder la vidéo des superbes Shores à Toney Bay",
|
|
||||||
"Listing3-description": "Maison personnalisée Hi-Ranch située dans un quartier recherché au coeur de Petawawa. Cette maison comprend 2 + 1 chambres et 4 salles de bains. Le niveau principal comprend un hall d'entrée spacieux, un escalier en bois franc, des planchers de bois franc étincelants et un salon à aire ouverte. De grandes fenêtres offrent beaucoup de lumière naturelle, des plafonds voûtés dans le salon, une cuisine spacieuse spectaculaire avec des appareils en acier inoxydable et un grand îlot. Chambre des maîtres avec dressing et salle de bains 3 pièces avec douche carrelée sur mesure et plancher chauffant. Le niveau inférieur comprend une salle de jeux avec foyer au gaz confortable, une chambre et une salle de bains 3 pièces. La porte-patio du foyer mène à une grande cour arrière privée sans voisin arrière, une terrasse en bois spacieuse et un bain à remous. Un garage double attenant complète l'ensemble. Préparez-vous et entrez directement! Pas de transfert d'offres jusqu'au vendredi 9 avril à 15h00, mais le vendeur a le droit de consulter et peut accepter les offres de préemption",
|
|
||||||
"Listing4-description": "Niché dans une impasse tranquille dans le quartier familial de Ski Club / Widdifield, se trouve le 62 Riddle Court, un joyau caché qui a tout ce que vous recherchez - à l'intérieur comme à l'extérieur! Levez les yeux et admirez la vue pittoresque sur l'escarpement, faites une courte promenade ou en voiture jusqu'à la station de ski des Laurentides en famille, ou savourez simplement votre propriété en dînant sur la terrasse, un verre de vin sur la terrasse / balcon et admirez le paysage à couper le souffle (conçu par un paysagiste primé) qui entoure votre maison. Des plantes vivaces luxuriantes, de hautes herbes, des allées de briques imbriquées, un système d'arrosage dans le sol et un éclairage extérieur font de cette propriété une propriété hors du commun! Entrez pour profiter de toutes les fonctionnalités mises à jour que cette maison a à offrir - planchers et escaliers de bois franc en érable étincelant, armoires de cuisine en érable mises à jour, carreaux de céramique avec chauffage par rayonnement dans le plancher dans les salles de bains et le bureau, unités de divertissement intégrées, salle de lavage terminée , terrasse en composite à faible entretien de la salle à manger, éclairage encastré, fenêtres, portes, isolation ... la liste est longue! Travailler à domicile ces jours-ci? Entrez dans le bureau à domicile privé et professionnel juste à côté de la salle de loisirs par des portes françaises. Profitez de l'éclairage sous l'armoire, ainsi que de la lumière naturelle rayonnant à travers la fenêtre avec vue sur la cour arrière. La fierté de la propriété est évidente. Il ne reste plus rien à faire, mais emménage! Pré-inspecté pour votre tranquillité d'esprit.",
|
|
||||||
"Listing-booking-btn": "Présentation du livre",
|
|
||||||
"Listing-description-header": "La description"
|
|
||||||
}
|
}
|
72
src/App.js
|
@ -1,31 +1,85 @@
|
||||||
import React from "react";
|
import React, { useEffect } from "react";
|
||||||
import Footer from "./shared-components/footer-component/Footer";
|
import Footer from "./shared-components/footer-component/Footer";
|
||||||
import Navbar from "./shared-components/navbar-component/Navbar";
|
import Navbar from "./shared-components/navbar-component/Navbar";
|
||||||
import { BrowserRouter, Route, Switch } from "react-router-dom";
|
import { BrowserRouter, Route, Switch } from "react-router-dom";
|
||||||
|
import i18next from "i18next";
|
||||||
|
import { useTranslation } from "react-i18next";
|
||||||
|
import Cookies from "js-cookie";
|
||||||
import HomePage from "./homePage/Homepage";
|
import HomePage from "./homePage/Homepage";
|
||||||
import ListingsPage from "./listings-page/ListingsPage";
|
import ListingsPage from "./listings-page/ListingsPage";
|
||||||
import AgentPage from "./agent-page/AgentPage";
|
import AgentPage from "./agent-page/AgentPage";
|
||||||
import ListingPage1 from "./listings-page/single-listing-1/listing-page-1";
|
import ListingPage from "./listings-page/single-listing/listing-page";
|
||||||
import ListingPage2 from "./listings-page/single-listing-2/listing-page-2";
|
|
||||||
import ListingPage3 from "./listings-page/single-listing-3/listing-page-3";
|
|
||||||
import ListingPage4 from "./listings-page/single-listing-4/listing-page-4";
|
|
||||||
import Login from "./login-page/Login";
|
import Login from "./login-page/Login";
|
||||||
import Account from "./login-page/account/Account";
|
import Account from "./login-page/account/Account";
|
||||||
import ContactUs from "./shared-components/contact-us/contact-us";
|
import ContactUs from "./shared-components/contact-us/contact-us";
|
||||||
|
|
||||||
|
const langauges = [
|
||||||
|
{
|
||||||
|
code: "fr",
|
||||||
|
name: "Français",
|
||||||
|
country_code: "fr",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
code: "en",
|
||||||
|
name: "English",
|
||||||
|
country_code: "gb",
|
||||||
|
},
|
||||||
|
];
|
||||||
|
|
||||||
function App() {
|
function App() {
|
||||||
|
const currentLanguageCode = Cookies.get("i18next") || "en";
|
||||||
|
const currentLanguage = langauges.find(
|
||||||
|
(lang) => lang.code === currentLanguageCode
|
||||||
|
);
|
||||||
|
const { t } = useTranslation();
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
|
document.body.dir = currentLanguage.dir || "ltr";
|
||||||
|
}, [currentLanguage]);
|
||||||
return (
|
return (
|
||||||
<div className="App">
|
<div className="App">
|
||||||
|
{/* create the translations button */}
|
||||||
|
<div className="container">
|
||||||
|
<div className="d-flex justify-content-end">
|
||||||
|
{/* <!-- Example single danger button --> */}
|
||||||
|
<div class="btn-group">
|
||||||
|
<button
|
||||||
|
type="button"
|
||||||
|
class="btn btn-link dropdown-toggle"
|
||||||
|
data-toggle="dropdown"
|
||||||
|
aria-haspopup="true"
|
||||||
|
aria-expanded="false"
|
||||||
|
>
|
||||||
|
<i class="fas fa-globe"></i>
|
||||||
|
</button>
|
||||||
|
<div class="dropdown-menu">
|
||||||
|
{langauges.map(({ code, name, country_code }) => (
|
||||||
|
<button
|
||||||
|
class="dropdown-item"
|
||||||
|
key={code}
|
||||||
|
onClick={() => i18next.changeLanguage(code)}
|
||||||
|
disabled={code === currentLanguageCode}
|
||||||
|
>
|
||||||
|
<span
|
||||||
|
className={`flag-icon flag-icon-${country_code} mx-2`}
|
||||||
|
></span>
|
||||||
|
{name}
|
||||||
|
</button>
|
||||||
|
))}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div className="d-flex flex-column align-items-start">
|
||||||
|
{t("Welcome_to_React")}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<BrowserRouter>
|
<BrowserRouter>
|
||||||
<Navbar></Navbar>
|
<Navbar></Navbar>
|
||||||
<Switch>
|
<Switch>
|
||||||
<Route exact path="/" component={HomePage}></Route>
|
<Route exact path="/" component={HomePage}></Route>
|
||||||
<Route path="/listings" component={ListingsPage}></Route>
|
<Route path="/listings" component={ListingsPage}></Route>
|
||||||
<Route path="/agents" component={AgentPage}></Route>
|
<Route path="/agents" component={AgentPage}></Route>
|
||||||
<Route path="/listing-page-1" component={ListingPage1}></Route>
|
<Route path="/listing-page" component={ListingPage}></Route>
|
||||||
<Route path="/listing-page-2" component={ListingPage2}></Route>
|
|
||||||
<Route path="/listing-page-3" component={ListingPage3}></Route>
|
|
||||||
<Route path="/listing-page-4" component={ListingPage4}></Route>
|
|
||||||
<Route path="/login" component={Login}></Route>
|
<Route path="/login" component={Login}></Route>
|
||||||
<Route path="/contact-us" component={ContactUs}></Route>
|
<Route path="/contact-us" component={ContactUs}></Route>
|
||||||
<Route path="/account" component={Account}></Route>
|
<Route path="/account" component={Account}></Route>
|
||||||
|
|
|
@ -7,8 +7,6 @@ import Agent3 from "../images/Agent3.jpg";
|
||||||
import Agent4 from "../images/Agent4.jpg";
|
import Agent4 from "../images/Agent4.jpg";
|
||||||
import Agent5 from "../images/Agent5.jpg";
|
import Agent5 from "../images/Agent5.jpg";
|
||||||
import Agent6 from "../images/Agent6.jpg";
|
import Agent6 from "../images/Agent6.jpg";
|
||||||
import { withTranslation } from "react-i18next";
|
|
||||||
|
|
||||||
class AgentPage extends Component {
|
class AgentPage extends Component {
|
||||||
state = {
|
state = {
|
||||||
agents: [
|
agents: [
|
||||||
|
@ -18,21 +16,16 @@ class AgentPage extends Component {
|
||||||
{ title: 'sales assistant', name: 'Anita', src: Agent3, word: 'Anita looks forward to servicing you to her fullest potential, building long-lasting relationships and making your real estate experience a smooth and memorable one.', id: 3 },
|
{ title: 'sales assistant', name: 'Anita', src: Agent3, word: 'Anita looks forward to servicing you to her fullest potential, building long-lasting relationships and making your real estate experience a smooth and memorable one.', id: 3 },
|
||||||
{ title: 'sales assistant', name: 'Alex', src: Agent4, word: 'Since getting licensed in 2010 Alex has consistently been a top producing agent in the GTA', id: 4 },
|
{ title: 'sales assistant', name: 'Alex', src: Agent4, word: 'Since getting licensed in 2010 Alex has consistently been a top producing agent in the GTA', id: 4 },
|
||||||
{ title: 'sales assistant', name: 'Xuan', src: Agent5, word: 'Xuan grew up in the GTA, and he explored many different neighborhoods in and surrounding Toronto.', id: 5 },
|
{ title: 'sales assistant', name: 'Xuan', src: Agent5, word: 'Xuan grew up in the GTA, and he explored many different neighborhoods in and surrounding Toronto.', id: 5 },
|
||||||
{ title: 'sales assistant', name: 'Walter', src: Agent6, word: 'Walter Henry has always been one to follow his passion. At 13 years old, he started his career as a competitive gymnast.', id: 6 },
|
{ title: 'sales assistant', name: 'Walter', src: Agent6, word: 'Walter Henry has always been one to follow his passion. At 13 years old, he started his career as a competitive gymnast.Walter will be certain that you feel informed and at ease throughout the entire process.', id: 6 },
|
||||||
|
|
||||||
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
render() {
|
render() {
|
||||||
const { t } = this.props;
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<div className="center blue-text text-darken-4">
|
<div className="center blue-text text-darken-4">
|
||||||
|
<h1 style={{ fontFamily: "Georgia" }} >Meet the Team</h1>
|
||||||
<h1 style={{ fontFamily: "Georgia" }} >{t("MeetTeam")}</h1>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="container">
|
<div className="container">
|
||||||
|
@ -48,5 +41,4 @@ class AgentPage extends Component {
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
/* export default AgentPage; */
|
export default AgentPage;
|
||||||
export default withTranslation()(AgentPage);
|
|
||||||
|
|
|
@ -1,149 +1,31 @@
|
||||||
import React from "react";
|
import React from "react";
|
||||||
/* import {Link} from 'react-router-dom' */
|
/* import {Link} from 'react-router-dom' */
|
||||||
import Card from "react-bootstrap/Card";
|
import Card from "react-bootstrap/Card";
|
||||||
import {Link} from 'react-router-dom'
|
import Button from "react-bootstrap/Button";
|
||||||
/* import Button from "react-bootstrap/Button"; */
|
|
||||||
import { useTranslation } from 'react-i18next';
|
|
||||||
import './agent-page.css';
|
|
||||||
import Agent1 from "../images/Agent1.jpg";
|
|
||||||
import Agent2 from "../images/Agent2.jpg";
|
|
||||||
import Agent3 from "../images/Agent3.jpg";
|
|
||||||
import Agent4 from "../images/Agent4.jpg";
|
|
||||||
import Agent5 from "../images/Agent5.jpg";
|
|
||||||
import Agent6 from "../images/Agent6.jpg";
|
|
||||||
import { withTranslation } from "react-i18next";
|
|
||||||
import { Container, Row, Col } from 'reactstrap';
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
const Agents = ({ agents }) => {
|
const Agents = ({ agents }) => {
|
||||||
const { t } = useTranslation();
|
const agentlist = agents.map((agent) => {
|
||||||
/* const agentlist = agents.map((agent) => { */
|
|
||||||
return (
|
return (
|
||||||
<div >
|
<div className="agent" key={agent.id}>
|
||||||
{}
|
{}
|
||||||
<Row>
|
|
||||||
<Card style={{ width: "22rem", height: "42rem" }}>
|
<Card style={{ width: "22rem", height: "42rem" }}>
|
||||||
<Card.Img variant="top" style={{ height: "22rem" }} src={Agent1} />
|
<Card.Img variant="top" style={{ height: "22rem" }} src={agent.src} />
|
||||||
<Card.Body>
|
<Card.Body>
|
||||||
<Card.Title>{t("Mike.Title")}</Card.Title>
|
<Card.Title>{agent.title}</Card.Title>
|
||||||
<Card.Text>Michael</Card.Text>
|
<Card.Text>{agent.name}</Card.Text>
|
||||||
<Card.Text style={{ height: "7rem" }}>
|
<Card.Text style={{ height: "7rem" }}>
|
||||||
{t("Mike.Word")}
|
{agent.word}
|
||||||
</Card.Text>
|
</Card.Text>
|
||||||
<Link to={"/contact-us/"}>
|
<div className="buttonfriend">
|
||||||
<button type="view" className="btn-small">
|
|
||||||
{t("View_Button")}
|
|
||||||
</button>
|
|
||||||
</Link>
|
|
||||||
{/* <div className="buttonfriend">
|
|
||||||
<Button variant="primary">VIEW</Button>
|
<Button variant="primary">VIEW</Button>
|
||||||
</div> */}
|
</div>
|
||||||
</Card.Body>
|
</Card.Body>
|
||||||
</Card>
|
</Card>
|
||||||
<Card style={{ width: "22rem", height: "42rem" }}>
|
|
||||||
<Card.Img variant="top" style={{ height: "22rem" }} src={Agent2} />
|
|
||||||
<Card.Body>
|
|
||||||
<Card.Title>{t("Regular")}</Card.Title>
|
|
||||||
<Card.Text>Jin</Card.Text>
|
|
||||||
<Card.Text style={{ height: "7rem" }}>
|
|
||||||
{t("Agent2.W")}
|
|
||||||
</Card.Text>
|
|
||||||
<Link to={"/contact-us/"}>
|
|
||||||
<button type="view" className="btn-small">
|
|
||||||
{t("View_Button")}
|
|
||||||
</button>
|
|
||||||
</Link>
|
|
||||||
{/* <div className="buttonfriend">
|
|
||||||
<Button variant="primary">VIEW</Button>
|
|
||||||
</div> */}
|
|
||||||
</Card.Body>
|
|
||||||
</Card>
|
|
||||||
|
|
||||||
|
|
||||||
<Card style={{ width: "22rem", height: "42rem" }}>
|
|
||||||
<Card.Img variant="top" style={{ height: "22rem" }} src={Agent3} />
|
|
||||||
<Card.Body>
|
|
||||||
<Card.Title>{t("Regular")}</Card.Title>
|
|
||||||
<Card.Text>Anita</Card.Text>
|
|
||||||
<Card.Text style={{ height: "7rem" }}>
|
|
||||||
{t("Agent3.W")}
|
|
||||||
</Card.Text>
|
|
||||||
<Link to={"/contact-us/"}>
|
|
||||||
<button type="view" className="btn-small">
|
|
||||||
{t("View_Button")}
|
|
||||||
</button>
|
|
||||||
</Link>
|
|
||||||
{/* <div className="buttonfriend">
|
|
||||||
<Button variant="primary">VIEW</Button>
|
|
||||||
</div> */}
|
|
||||||
</Card.Body>
|
|
||||||
</Card>
|
|
||||||
</Row>
|
|
||||||
<Row>
|
|
||||||
<Card style={{ width: "22rem", height: "42rem" }}>
|
|
||||||
<Card.Img variant="top" style={{ height: "22rem" }} src={Agent4} />
|
|
||||||
<Card.Body>
|
|
||||||
<Card.Title>{t("Regular")}</Card.Title>
|
|
||||||
<Card.Text>Alex</Card.Text>
|
|
||||||
<Card.Text style={{ height: "7rem" }}>
|
|
||||||
{t("Agent4.W")}
|
|
||||||
</Card.Text>
|
|
||||||
<Link to={"/contact-us/"}>
|
|
||||||
<button type="view" className="btn-small">
|
|
||||||
{t("View_Button")}
|
|
||||||
</button>
|
|
||||||
</Link>
|
|
||||||
{/* <div className="buttonfriend">
|
|
||||||
<Button variant="primary">VIEW</Button>
|
|
||||||
</div> */}
|
|
||||||
</Card.Body>
|
|
||||||
</Card>
|
|
||||||
|
|
||||||
<Card style={{ width: "22rem", height: "42rem" }}>
|
|
||||||
<Card.Img variant="top" style={{ height: "22rem" }} src={Agent5} />
|
|
||||||
<Card.Body>
|
|
||||||
<Card.Title>{t("Regular")}</Card.Title>
|
|
||||||
<Card.Text>Xuan</Card.Text>
|
|
||||||
<Card.Text style={{ height: "7rem" }}>
|
|
||||||
{t("Agent5.W")}
|
|
||||||
</Card.Text>
|
|
||||||
<Link to={"/contact-us/"}>
|
|
||||||
<button type="view" className="btn-small">
|
|
||||||
{t("View_Button")}
|
|
||||||
</button>
|
|
||||||
</Link>
|
|
||||||
{/* <div className="buttonfriend">
|
|
||||||
<Button variant="primary">VIEW</Button>
|
|
||||||
</div> */}
|
|
||||||
</Card.Body>
|
|
||||||
</Card>
|
|
||||||
<Card style={{ width: "22rem", height: "42rem" }}>
|
|
||||||
<Card.Img variant="top" style={{ height: "22rem" }} src={Agent6} />
|
|
||||||
<Card.Body>
|
|
||||||
<Card.Title>{t("Regular")}</Card.Title>
|
|
||||||
<Card.Text>Walter</Card.Text>
|
|
||||||
<Card.Text style={{ height: "7rem" }}>
|
|
||||||
{t("Agent6.W")}
|
|
||||||
</Card.Text>
|
|
||||||
<Link to={"/contact-us/"}>
|
|
||||||
<button type="view" className="btn-small">
|
|
||||||
{t("View_Button")}
|
|
||||||
</button>
|
|
||||||
</Link>
|
|
||||||
{/* <div className="buttonfriend">
|
|
||||||
<Button variant="primary">VIEW</Button>
|
|
||||||
</div> */}
|
|
||||||
</Card.Body>
|
|
||||||
</Card>
|
|
||||||
</Row>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
/* }); */
|
});
|
||||||
/* console.log(agentlist); */
|
console.log(agentlist);
|
||||||
/* return (
|
return (
|
||||||
<div className="agent-list">
|
<div className="agent-list">
|
||||||
<div className="row">
|
<div className="row">
|
||||||
<div className="col m4">{agentlist[0]}</div>
|
<div className="col m4">{agentlist[0]}</div>
|
||||||
|
@ -154,6 +36,6 @@ const Agents = ({ agents }) => {
|
||||||
<div className="col m4">{agentlist[5]}</div>
|
<div className="col m4">{agentlist[5]}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
); */
|
);
|
||||||
};
|
};
|
||||||
export default Agents;
|
export default Agents;
|
||||||
|
|
|
@ -1,11 +1,7 @@
|
||||||
.big-heading{
|
.colored-section {
|
||||||
font-family: 'Source Sans Pro',sans-serif!important;
|
background-color: #e7dec8;
|
||||||
font-weight: bold;
|
color: #000000;
|
||||||
font-size: 40px;
|
white-space: nowrap;
|
||||||
text-shadow: rgb(0 0 0 / 10%) 0 5px 10px;
|
|
||||||
text-align: center;
|
|
||||||
color:rgb(53, 53, 53);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,6 @@ import house3 from "../images/house3.jpg";
|
||||||
import house4 from "../images/house4.jpg";
|
import house4 from "../images/house4.jpg";
|
||||||
import Carousel from "react-bootstrap/Carousel";
|
import Carousel from "react-bootstrap/Carousel";
|
||||||
import Button from "react-bootstrap/Button";
|
import Button from "react-bootstrap/Button";
|
||||||
import { withTranslation } from "react-i18next";
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -20,7 +19,6 @@ class Homepage extends Component {
|
||||||
}
|
}
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
const { t } = this.props;
|
|
||||||
const { nextIcon, prevIcon } = this.state;
|
const { nextIcon, prevIcon } = this.state;
|
||||||
return (
|
return (
|
||||||
<div className="homePage">
|
<div className="homePage">
|
||||||
|
@ -28,8 +26,8 @@ class Homepage extends Component {
|
||||||
<div className="container-fluid">
|
<div className="container-fluid">
|
||||||
<div className="row">
|
<div className="row">
|
||||||
<div className="col-12">
|
<div className="col-12">
|
||||||
<h1 className="big-heading">{t("Slogan_1")}</h1>
|
<h1 className="big-heading">YOU ARE NOT BUYING A HOUSE, </h1>
|
||||||
<h1 className="big-heading">{t("Slogan_2")}</h1>
|
<h1 className="big-heading">YOU ARE BUYING A LIFESTYLE. </h1>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -41,9 +39,9 @@ class Homepage extends Component {
|
||||||
<img className="headerImg" src={house1} alt="First House" />
|
<img className="headerImg" src={house1} alt="First House" />
|
||||||
<Carousel.Caption>
|
<Carousel.Caption>
|
||||||
<h3 style={{ fontSize: "250%", textShadow: "-2px 0 black, 0 2px black, 2px 0 black, 0 -2px black" }}>100 Charlie Rogers, Kanata, ON K2V 1A7</h3>
|
<h3 style={{ fontSize: "250%", textShadow: "-2px 0 black, 0 2px black, 2px 0 black, 0 -2px black" }}>100 Charlie Rogers, Kanata, ON K2V 1A7</h3>
|
||||||
<h2 style={{ fontSize: "150%", textShadow: "-2px 0 black, 0 2px black, 2px 0 black, 0 -2px black" }}>{t("Rooms")}</h2>
|
<h2 style={{ fontSize: "150%", textShadow: "-2px 0 black, 0 2px black, 2px 0 black, 0 -2px black" }}>1 Bedroom, 2 Bathroom</h2>
|
||||||
<div className="buttonka">
|
<div className="buttonka">
|
||||||
<Button href="/listing-page-3" variant="info">{t("Info")}</Button>
|
<Button href="/listings" variant="info">Click for Details</Button>
|
||||||
</div>
|
</div>
|
||||||
</Carousel.Caption>
|
</Carousel.Caption>
|
||||||
</Carousel.Item>
|
</Carousel.Item>
|
||||||
|
@ -51,9 +49,9 @@ class Homepage extends Component {
|
||||||
<img className="headerImg" src={house2} alt="Second House" />
|
<img className="headerImg" src={house2} alt="Second House" />
|
||||||
<Carousel.Caption>
|
<Carousel.Caption>
|
||||||
<h3 style={{ fontSize: "250%", textShadow: "-2px 0 black, 0 2px black, 2px 0 black, 0 -2px black" }}>1490 Youville Drive, Orléans, ON K1C 2X8</h3>
|
<h3 style={{ fontSize: "250%", textShadow: "-2px 0 black, 0 2px black, 2px 0 black, 0 -2px black" }}>1490 Youville Drive, Orléans, ON K1C 2X8</h3>
|
||||||
<h2 style={{ fontSize: "150%", textShadow: "-2px 0 black, 0 2px black, 2px 0 black, 0 -2px black" }}>{t("Rooms1")}</h2>
|
<h2 style={{ fontSize: "150%", textShadow: "-2px 0 black, 0 2px black, 2px 0 black, 0 -2px black" }}>1 Bedroom, 2 Bathroom</h2>
|
||||||
<div className="buttonka">
|
<div className="buttonka">
|
||||||
<Button href="/listing-page-2" variant="info">{t("Info")}</Button>
|
<Button href="/listings" variant="info">Click for Details</Button>
|
||||||
</div>
|
</div>
|
||||||
</Carousel.Caption>
|
</Carousel.Caption>
|
||||||
</Carousel.Item>
|
</Carousel.Item>
|
||||||
|
@ -61,9 +59,9 @@ class Homepage extends Component {
|
||||||
<img className="headerImg" src={house3} alt="Third House" />
|
<img className="headerImg" src={house3} alt="Third House" />
|
||||||
<Carousel.Caption>
|
<Carousel.Caption>
|
||||||
<h3 style={{ fontSize: "250%", textShadow: "-2px 0 black, 0 2px black, 2px 0 black, 0 -2px black" }}>8720 Russell Road, Navan, ON K4B 1J1</h3>
|
<h3 style={{ fontSize: "250%", textShadow: "-2px 0 black, 0 2px black, 2px 0 black, 0 -2px black" }}>8720 Russell Road, Navan, ON K4B 1J1</h3>
|
||||||
<h2 style={{ fontSize: "150%", textShadow: "-2px 0 black, 0 2px black, 2px 0 black, 0 -2px black" }}>{t("Rooms2")}</h2>
|
<h2 style={{ fontSize: "150%", textShadow: "-2px 0 black, 0 2px black, 2px 0 black, 0 -2px black" }}>1 Bedroom, 2 Bathroom</h2>
|
||||||
<div className="buttonka">
|
<div className="buttonka">
|
||||||
<Button href="/listing-page-1" variant="info">{t("Info")}</Button>
|
<Button href="/listings" variant="info">Click for Details</Button>
|
||||||
</div>
|
</div>
|
||||||
</Carousel.Caption>
|
</Carousel.Caption>
|
||||||
</Carousel.Item>
|
</Carousel.Item>
|
||||||
|
@ -71,9 +69,9 @@ class Homepage extends Component {
|
||||||
<img className="headerImg" src={house4} alt="Fourth House" />
|
<img className="headerImg" src={house4} alt="Fourth House" />
|
||||||
<Carousel.Caption>
|
<Carousel.Caption>
|
||||||
<h3 style={{ fontSize: "250%", textShadow: "-2px 0 black, 0 2px black, 2px 0 black, 0 -2px black" }}>2785 8th Line Road, Metcalfe, ON K0A 2P0</h3>
|
<h3 style={{ fontSize: "250%", textShadow: "-2px 0 black, 0 2px black, 2px 0 black, 0 -2px black" }}>2785 8th Line Road, Metcalfe, ON K0A 2P0</h3>
|
||||||
<h2 style={{ fontSize: "150%", textShadow: "-2px 0 black, 0 2px black, 2px 0 black, 0 -2px black" }}>{t("Rooms3")}</h2>
|
<h2 style={{ fontSize: "150%", textShadow: "-2px 0 black, 0 2px black, 2px 0 black, 0 -2px black" }}>1 Bedroom, 2 Bathroom</h2>
|
||||||
<div className="buttonka">
|
<div className="buttonka">
|
||||||
<Button href="/listing-page-4" variant="info">{t("Info")}</Button>
|
<Button href="/listings" variant="info">Click for Details</Button>
|
||||||
</div>
|
</div>
|
||||||
</Carousel.Caption>
|
</Carousel.Caption>
|
||||||
</Carousel.Item>
|
</Carousel.Item>
|
||||||
|
@ -82,13 +80,13 @@ class Homepage extends Component {
|
||||||
<div className="container-fluid">
|
<div className="container-fluid">
|
||||||
<div className="row">
|
<div className="row">
|
||||||
<div className="col-12">
|
<div className="col-12">
|
||||||
<h2 style={{ paddingLeft: "22rem", paddingBottom: "1rem", fontFamily: "Trebuchet MS" }}>{t("Desc")}</h2>
|
<h2 style={{ paddingLeft: "22rem", paddingBottom: "1rem", fontFamily: "Trebuchet MS" }}>Description </h2>
|
||||||
<p style={{ fontSize: "110%" }}>{t("Home1")}<br></br>
|
<p style={{ fontSize: "110%" }}> Welcome to Kene's Cribs. Kene's Cribs is a real estator company which provides the clients with the houses. <br></br>
|
||||||
{t("Home2")}<br></br>
|
The houses limited to the clients are only limited to the clients' dreams. In order to further navigate the<br></br>
|
||||||
{t("Home3")}<br></br>
|
website, use the navigation bar to switch between pages. Listings page is for browsing houses, Agents page<br></br>
|
||||||
{t("Home4")}<br></br>
|
is for browsing the estators, the Contact Us page is for the contacting us and the login page is for our<br></br>
|
||||||
{t("Home5")}<br></br>
|
members who want to benefit from our deals. Above are some houses which can interest you. Feel free to<br></br>
|
||||||
{t("Home6")}</p>
|
click the buttons above to explore the houses you want. </p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -100,4 +98,4 @@ class Homepage extends Component {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export default withTranslation()(Homepage);
|
export default Homepage;
|
||||||
|
|
Before Width: | Height: | Size: 307 KiB After Width: | Height: | Size: 4.1 KiB |
Before Width: | Height: | Size: 389 KiB After Width: | Height: | Size: 42 KiB |
Before Width: | Height: | Size: 82 KiB After Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 74 KiB After Width: | Height: | Size: 485 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 1.1 MiB |
Before Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 25 KiB |
Before Width: | Height: | Size: 8.7 KiB |
Before Width: | Height: | Size: 714 KiB After Width: | Height: | Size: 714 KiB |
Before Width: | Height: | Size: 96 KiB |
Before Width: | Height: | Size: 191 KiB |
Before Width: | Height: | Size: 8.8 KiB |
|
@ -1,9 +1,3 @@
|
||||||
body{
|
|
||||||
/*background-image: url("../images/bg1.jpg");
|
|
||||||
background-position: 0px 60px;
|
|
||||||
*/
|
|
||||||
}
|
|
||||||
|
|
||||||
.booking_button{
|
.booking_button{
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
@ -12,33 +6,4 @@ body{
|
||||||
font-size: 40px;
|
font-size: 40px;
|
||||||
font-weight:bolder;
|
font-weight:bolder;
|
||||||
padding-right: 5%;
|
padding-right: 5%;
|
||||||
}
|
};
|
||||||
|
|
||||||
.search{
|
|
||||||
display:inline-block;
|
|
||||||
margin:3% 0%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.compass{
|
|
||||||
height:25px;
|
|
||||||
width:25px;
|
|
||||||
}
|
|
||||||
.buttonImg{
|
|
||||||
background-color: transparent;
|
|
||||||
border: none !important;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
.main_borders{
|
|
||||||
padding:0% 10% 4% 10%;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
.map_style{
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.filters{
|
|
||||||
margin: 2% 0%
|
|
||||||
}
|
|
||||||
|
|
|
@ -2,369 +2,198 @@
|
||||||
import React, { useState, useEffect, Component } from "react";
|
import React, { useState, useEffect, Component } from "react";
|
||||||
import {
|
import {
|
||||||
GoogleMap,
|
GoogleMap,
|
||||||
useLoadScript,
|
withScriptjs,
|
||||||
|
withGoogleMap,
|
||||||
Marker,
|
Marker,
|
||||||
InfoWindow,
|
InfoWindow
|
||||||
} from "@react-google-maps/api";
|
} from "react-google-maps";
|
||||||
import usePlacesAutocomplete, {
|
|
||||||
getGeocode,
|
|
||||||
getLatLng,
|
|
||||||
} from "use-places-autocomplete";
|
|
||||||
import {
|
|
||||||
Combobox,
|
|
||||||
ComboboxInput,
|
|
||||||
ComboboxPopover,
|
|
||||||
ComboboxList,
|
|
||||||
ComboboxOption,
|
|
||||||
} from "@reach/combobox";
|
|
||||||
//import { formatRelative } from "date-fns";
|
|
||||||
import Select from "react-select";
|
|
||||||
|
|
||||||
import "@reach/combobox/styles.css";
|
|
||||||
import mapStyles from "./mapStyles";
|
|
||||||
import * as listingData from "./data/property-data.json";
|
import * as listingData from "./data/property-data.json";
|
||||||
|
import mapStyles from "./mapStyles";
|
||||||
import "./ListingsPage.css";
|
import "./ListingsPage.css";
|
||||||
|
|
||||||
import compassImg from "./compass.svg";
|
function Map() {
|
||||||
import { useTranslation } from "react-i18next";
|
|
||||||
import Cookies from "js-cookie";
|
|
||||||
import i18next from "i18next";
|
|
||||||
|
|
||||||
const libraries = ["places"];
|
const [selectedProperty, setSelectedProperty] = useState(null);
|
||||||
|
|
||||||
const mapContainerStyle = {
|
|
||||||
height: "700px",
|
|
||||||
width: "100vm",
|
|
||||||
};
|
|
||||||
|
|
||||||
const options = {
|
|
||||||
styles: mapStyles,
|
|
||||||
disableDefaultUI: true,
|
|
||||||
zoomControl: true,
|
|
||||||
};
|
|
||||||
const center = {
|
|
||||||
lat: 45.4231,
|
|
||||||
lng: -75.6931,
|
|
||||||
};
|
|
||||||
|
|
||||||
export default function ListingsPage() {
|
|
||||||
const {t} = useTranslation();
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
const price_filter = [
|
|
||||||
{
|
|
||||||
value: null,
|
|
||||||
label: "Any",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 100000,
|
|
||||||
label: "$100000",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 200000,
|
|
||||||
label: "$200000",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 300000,
|
|
||||||
label: "$300000",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 400000,
|
|
||||||
label: "$400000",
|
|
||||||
}
|
|
||||||
];
|
|
||||||
|
|
||||||
const bed_filter = [
|
|
||||||
{
|
|
||||||
value: null,
|
|
||||||
label: "Any",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 1,
|
|
||||||
label: "1",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 2,
|
|
||||||
label: "2",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 3,
|
|
||||||
label: "3",
|
|
||||||
}
|
|
||||||
|
|
||||||
];
|
|
||||||
|
|
||||||
const bath_filter = [
|
|
||||||
{
|
|
||||||
value: null,
|
|
||||||
label: "Any",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 1,
|
|
||||||
label: "1",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 2,
|
|
||||||
label: "2",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
value: 3,
|
|
||||||
label: "3",
|
|
||||||
}
|
|
||||||
];
|
|
||||||
|
|
||||||
//console.log(data1[0]);
|
|
||||||
|
|
||||||
|
|
||||||
const { isLoaded, loadError } = useLoadScript({
|
|
||||||
googleMapsApiKey: `https://maps.googleapis.com/maps/api/js?v=3.exp&libraries=geometry,drawing,places&key=
|
|
||||||
AIzaSyC5TiZoTEwEcB_HUZRhe_rXrcSWW1Z5x8I`,
|
|
||||||
libraries,
|
|
||||||
});
|
|
||||||
|
|
||||||
const [selectedBudget, setSelectedBudget] = useState(null);
|
|
||||||
const [selectedBeds, setSelectedBeds] = useState(null);
|
|
||||||
const [selectedBaths, setSelectedBaths] = useState(null);
|
|
||||||
|
|
||||||
//const [markers, setMarkers] = React.useState([]);
|
|
||||||
const [selected, setSelected] = React.useState(null);
|
|
||||||
|
|
||||||
const [budget, setBudget] = useState(null);
|
|
||||||
const [bed, setBed] = useState(null);
|
|
||||||
const [bath, setBath] = useState(null);
|
|
||||||
|
|
||||||
const mapRef = React.useRef();
|
|
||||||
const onMapLoad = React.useCallback((map) => {
|
|
||||||
mapRef.current = map;
|
|
||||||
//console.log(current);
|
|
||||||
}, []);
|
|
||||||
|
|
||||||
const panTo = React.useCallback(({ lat, lng }) => {
|
|
||||||
mapRef.current.panTo({ lat, lng });
|
|
||||||
mapRef.current.setZoom(10);
|
|
||||||
}, []);
|
|
||||||
|
|
||||||
if (loadError) return "Error";
|
|
||||||
if (!isLoaded) return "Loading...";
|
|
||||||
|
|
||||||
// handle onChange event of the dropdown
|
|
||||||
const handleBudgetChange = (e) => {
|
|
||||||
setSelectedBudget(e);
|
|
||||||
setBudget(e.value);
|
|
||||||
|
|
||||||
//https://stackoverflow.com/questions/54150783/react-hooks-usestate-with-object
|
|
||||||
//https://stackoverflow.com/questions/57341541/removing-object-from-array-using-hooks-usestate/57341724
|
|
||||||
};
|
|
||||||
const handleBedChange = (e) => {
|
|
||||||
setSelectedBeds(e);
|
|
||||||
setBed(e.value);
|
|
||||||
};
|
|
||||||
const handleBathChange = (e) => {
|
|
||||||
setSelectedBaths(e);
|
|
||||||
setBath(e.value);
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|
||||||
<div className="main_borders">
|
|
||||||
|
|
||||||
<div class="filters">
|
|
||||||
<Search class="search" panTo={panTo} />
|
|
||||||
<Locate class="search" panTo={panTo} />
|
|
||||||
|
|
||||||
<Select
|
|
||||||
class="search"
|
|
||||||
placeholder={t("Budget")}
|
|
||||||
value={selectedBudget} // set selected value
|
|
||||||
options={price_filter} // set list of the data
|
|
||||||
onChange={handleBudgetChange} // assign onChange function
|
|
||||||
/>
|
|
||||||
|
|
||||||
<Select
|
|
||||||
class="search"
|
|
||||||
placeholder={t("Beds")}
|
|
||||||
value={selectedBeds} // set selected value
|
|
||||||
options={bed_filter} // set list of the data
|
|
||||||
onChange={handleBedChange} // assign onChange function
|
|
||||||
/>
|
|
||||||
|
|
||||||
<Select
|
|
||||||
class="search"
|
|
||||||
placeholder={t("Baths")}
|
|
||||||
value={selectedBaths} // set selected value
|
|
||||||
options={bath_filter} // set list of the data
|
|
||||||
onChange={handleBathChange} // assign onChange function
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div >
|
|
||||||
<GoogleMap
|
<GoogleMap
|
||||||
id="map"
|
defaultZoom={10}
|
||||||
mapContainerStyle={mapContainerStyle}
|
defaultCenter={{ lat: 45.4231, lng: -75.6931 }}
|
||||||
zoom={10}
|
//https://snazzymaps.com/explore
|
||||||
center={center}
|
defaultOptions={{ styles: mapStyles }}
|
||||||
options={options}
|
|
||||||
onLoad={onMapLoad}
|
|
||||||
>
|
>
|
||||||
{listingData.Properties.map((house) =>
|
|
||||||
(budget >= house.PRICE || !budget) &&
|
|
||||||
(bed === house.BEDS || !bed) &&
|
|
||||||
(bath === house.BATHS || !bath) ? (
|
|
||||||
<Marker
|
|
||||||
key={house.LISTING_ID}
|
|
||||||
position={{
|
|
||||||
lat: house.coordinates[1],
|
|
||||||
lng: house.coordinates[0],
|
|
||||||
}}
|
|
||||||
onClick={() => {
|
|
||||||
setSelected(house);
|
|
||||||
}}
|
|
||||||
icon={{
|
|
||||||
url: "homes-3.svg",
|
|
||||||
scaledSize: new window.google.maps.Size(50, 50),
|
|
||||||
}}
|
|
||||||
visible={true}
|
|
||||||
/>
|
|
||||||
) : (
|
|
||||||
<Marker
|
|
||||||
key={house.LISTING_ID}
|
|
||||||
position={{
|
|
||||||
lat: house.coordinates[1],
|
|
||||||
lng: house.coordinates[0],
|
|
||||||
}}
|
|
||||||
onClick={() => {
|
|
||||||
setSelected(house);
|
|
||||||
}}
|
|
||||||
icon={{
|
|
||||||
url: "homes-3.svg",
|
|
||||||
scaledSize: new window.google.maps.Size(50, 50),
|
|
||||||
}}
|
|
||||||
visible={false}
|
|
||||||
/>
|
|
||||||
)
|
|
||||||
)}
|
|
||||||
|
|
||||||
{selected ? (
|
{listingData.Properties.map(house => (
|
||||||
|
|
||||||
|
<Marker
|
||||||
|
key={house.LISTING_ID}
|
||||||
|
position={{
|
||||||
|
lat: house.coordinates[1],
|
||||||
|
lng: house.coordinates[0]
|
||||||
|
|
||||||
|
}}
|
||||||
|
|
||||||
|
onClick={() => {
|
||||||
|
setSelectedProperty(house)
|
||||||
|
}}
|
||||||
|
|
||||||
|
icon={{
|
||||||
|
url: "homes-3.svg",
|
||||||
|
scaledSize: new window.google.maps.Size(50, 50)
|
||||||
|
}}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
))}
|
||||||
|
|
||||||
|
|
||||||
|
{selectedProperty && (
|
||||||
|
|
||||||
<InfoWindow
|
<InfoWindow
|
||||||
position={{
|
position={{
|
||||||
lat: selected.coordinates[1],
|
lat: selectedProperty.coordinates[1],
|
||||||
lng: selected.coordinates[0],
|
lng: selectedProperty.coordinates[0]
|
||||||
|
|
||||||
}}
|
}}
|
||||||
onCloseClick={() => {
|
onCloseClick={() => {
|
||||||
setSelected(null);
|
setSelectedProperty(null);
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<div>
|
<div>
|
||||||
<h2>{Cookies.get("i18next") === "en"? i18next.t("listing_address", {address:selected.ADDRESS_ENG}): i18next.t("listing_address", {address:selected.ADDRESS_FR})}</h2>
|
<h2>{selectedProperty.ADDRESS}</h2>
|
||||||
|
<p> {selectedProperty.DESC}</p>
|
||||||
|
|
||||||
<p> {Cookies.get("i18next") === "en"? i18next.t("listing_desc", {desc:selected.DESCRIPTION_ENG}): i18next.t("listing_desc", {desc:selected.DESCRIPTION_FR})}</p>
|
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
||||||
<div className="col-6">
|
<div className="col-6">
|
||||||
<i class="fas fa-bed fa-3x"></i>{" "}
|
<i class="fas fa-bed fa-3x"></i> <span class="popup_nums"> 1 </span>
|
||||||
<span class="popup_nums"> {selected.BEDS} </span>
|
<i class="fas fa-bath fa-3x"></i> <span class="popup_nums"> 2</span>
|
||||||
<i class="fas fa-bath fa-3x"></i>{" "}
|
|
||||||
<span class="popup_nums"> {selected.BATHS}</span>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="col-6 booking_button">
|
<div className="col-6 booking_button">
|
||||||
<button type="button" class="btn btn-outline-primary" onClick={() => { window.location.href='/listing-page-'+selected.LISTING_ID
|
<button>Show Listing</button>
|
||||||
}}>{t("Listing-Button")}</button>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</InfoWindow>
|
</InfoWindow>
|
||||||
) : null}
|
|
||||||
|
)}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</GoogleMap>
|
</GoogleMap>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
);
|
);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function Locate({ panTo }) {
|
const MapWrapped = withScriptjs(withGoogleMap(Map))
|
||||||
|
|
||||||
|
|
||||||
|
class ListingsPage extends Component {
|
||||||
|
render() {
|
||||||
return (
|
return (
|
||||||
<button
|
|
||||||
data-toggle="tooltip"
|
<div className="listings">
|
||||||
data-placement="right"
|
|
||||||
title="Go to my current location"
|
<section class="colored-section2" id="cta">
|
||||||
class="buttonImg"
|
|
||||||
onClick={() => {
|
|
||||||
navigator.geolocation.getCurrentPosition(
|
{/*
|
||||||
(position) => {
|
|
||||||
panTo({
|
|
||||||
lat: position.coords.latitude,
|
|
||||||
lng: position.coords.longitude,
|
<div class="row">
|
||||||
});
|
|
||||||
},
|
|
||||||
() => null
|
<div class="col-12">
|
||||||
);
|
|
||||||
}}
|
<div class="dropdown">
|
||||||
>
|
<button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenuButton1" data-bs-toggle="dropdown" aria-expanded="false">
|
||||||
<img src={compassImg} class="compass" alt="my location" />
|
Dropdown button
|
||||||
</button>
|
</button>
|
||||||
);
|
<ul class="dropdown-menu" aria-labelledby="dropdownMenuButton1">
|
||||||
}
|
<li><a class="dropdown-item" href="#">Action</a></li>
|
||||||
|
<li><a class="dropdown-item" href="#">Another action</a></li>
|
||||||
function Search({ panTo }) {
|
<li><a class="dropdown-item" href="#">Something else here</a></li>
|
||||||
const {
|
</ul>
|
||||||
ready,
|
|
||||||
value,
|
|
||||||
suggestions: { status, data },
|
|
||||||
setValue,
|
|
||||||
clearSuggestions,
|
|
||||||
} = usePlacesAutocomplete({
|
|
||||||
requestOptions: {
|
|
||||||
location: { lat: () => 43.6532, lng: () => -79.3832 },
|
|
||||||
radius: 100 * 1000,
|
|
||||||
},
|
|
||||||
});
|
|
||||||
|
|
||||||
// https://developers.google.com/maps/documentation/javascript/reference/places-autocomplete-service#AutocompletionRequest
|
|
||||||
|
|
||||||
const handleInput = (e) => {
|
|
||||||
setValue(e.target.value);
|
|
||||||
};
|
|
||||||
|
|
||||||
const handleSelect = async (address) => {
|
|
||||||
setValue(address, false);
|
|
||||||
clearSuggestions();
|
|
||||||
|
|
||||||
try {
|
|
||||||
const results = await getGeocode({ address });
|
|
||||||
const { lat, lng } = await getLatLng(results[0]);
|
|
||||||
panTo({ lat, lng });
|
|
||||||
} catch (error) {
|
|
||||||
console.log("😱 Error: ", error);
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
const {t} = useTranslation()
|
|
||||||
|
|
||||||
return (
|
|
||||||
<div className="search">
|
|
||||||
<Combobox onSelect={handleSelect}>
|
|
||||||
<ComboboxInput
|
|
||||||
value={value}
|
|
||||||
onChange={handleInput}
|
|
||||||
disabled={!ready}
|
|
||||||
placeholder= {t("Search-Bar")}
|
|
||||||
/>
|
|
||||||
<ComboboxPopover>
|
|
||||||
<ComboboxList>
|
|
||||||
{status === "OK" &&
|
|
||||||
data.map(({ id, description }) => (
|
|
||||||
<ComboboxOption key={id} value={description} />
|
|
||||||
))}
|
|
||||||
</ComboboxList>
|
|
||||||
</ComboboxPopover>
|
|
||||||
</Combobox>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="dropdown">
|
||||||
|
<button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenuButton1" data-bs-toggle="dropdown" aria-expanded="false">
|
||||||
|
Dropdown button
|
||||||
|
</button>
|
||||||
|
<ul class="dropdown-menu" aria-labelledby="dropdownMenuButton1">
|
||||||
|
<li><a class="dropdown-item" href="#">Action</a></li>
|
||||||
|
<li><a class="dropdown-item" href="#">Another action</a></li>
|
||||||
|
<li><a class="dropdown-item" href="#">Something else here</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
*/}
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
|
||||||
|
<div class="col-12">
|
||||||
|
|
||||||
|
<section className="colored-section" id="features">
|
||||||
|
<div className="container-fluid">
|
||||||
|
<h2> Map </h2>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<div style={{ width: "100vm", height: "800px" }}>
|
||||||
|
<MapWrapped
|
||||||
|
googleMapURL={`https://maps.googleapis.com/maps/api/js?v=3.exp&libraries=geometry,drawing,places&key=
|
||||||
|
AIzaSyC5TiZoTEwEcB_HUZRhe_rXrcSWW1Z5x8I`}
|
||||||
|
loadingElement={<div style={{ height: `100%` }} />}
|
||||||
|
containerElement={<div style={{ height: `100%` }} />}
|
||||||
|
mapElement={<div style={{ height: `100%` }} />}
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
export default ListingsPage;
|
||||||
|
|
|
@ -1,78 +0,0 @@
|
||||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
||||||
<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
||||||
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="25px" y="25px"
|
|
||||||
viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
|
|
||||||
<circle style="fill:#2C5871;" cx="256" cy="256" r="256"/>
|
|
||||||
<path style="fill:#1C4754;" d="M256,0c-7.933,0-15.777,0.38-23.526,1.086C362.829,12.966,464.948,122.548,464.948,256
|
|
||||||
S362.829,499.034,232.474,510.914C240.223,511.62,248.067,512,256,512c141.385,0,256-114.615,256-256S397.385,0,256,0z"/>
|
|
||||||
<circle style="fill:#E6F1FF;" cx="256" cy="256" r="221.06"/>
|
|
||||||
<path style="fill:#BFCFD6;" d="M256,34.939c-7.948,0-15.795,0.429-23.526,1.247C343.5,47.932,430.009,141.859,430.009,256
|
|
||||||
S343.5,464.068,232.474,475.814c7.731,0.818,15.578,1.247,23.526,1.247c122.089,0,221.061-98.972,221.061-221.061
|
|
||||||
S378.089,34.939,256,34.939z"/>
|
|
||||||
<path style="fill:#66C1FF;" d="M159.806,163.214L233.29,278.71l115.5,73.487c2.226,1.417,4.823-1.18,3.406-3.406l-73.487-115.5
|
|
||||||
l-115.496-73.484C160.986,158.389,158.389,160.986,159.806,163.214z"/>
|
|
||||||
<path style="fill:#FF4C4C;" d="M159.807,163.215L233.29,278.71l45.419-45.419l-115.494-73.483
|
|
||||||
C160.988,158.39,158.39,160.988,159.807,163.215z"/>
|
|
||||||
<circle style="fill:#555A66;" cx="256" cy="256" r="33.03"/>
|
|
||||||
<g>
|
|
||||||
<path style="fill:#2C5871;" d="M377.166,142.576c-1.981,0-3.963-0.756-5.474-2.268c-3.024-3.023-3.024-7.925,0-10.949
|
|
||||||
l12.408-12.408c3.023-3.023,7.925-3.023,10.949,0c3.024,3.023,3.024,7.925,0,10.949l-12.408,12.408
|
|
||||||
C381.129,141.82,379.148,142.576,377.166,142.576z"/>
|
|
||||||
<path style="fill:#2C5871;" d="M122.425,397.317c-1.981,0-3.963-0.756-5.474-2.268c-3.024-3.023-3.024-7.925,0-10.949
|
|
||||||
l12.408-12.408c3.023-3.023,7.925-3.023,10.949,0s3.024,7.925,0,10.949L127.9,395.049
|
|
||||||
C126.388,396.56,124.407,397.317,122.425,397.317z"/>
|
|
||||||
<path style="fill:#2C5871;" d="M389.575,397.317c-1.981,0-3.963-0.756-5.474-2.268l-12.408-12.408
|
|
||||||
c-3.024-3.023-3.024-7.925,0-10.949c3.023-3.023,7.925-3.023,10.949,0L395.05,384.1c3.024,3.023,3.024,7.925,0,10.949
|
|
||||||
C393.537,396.56,391.556,397.317,389.575,397.317z"/>
|
|
||||||
<path style="fill:#2C5871;" d="M134.834,142.576c-1.981,0-3.963-0.756-5.474-2.268L116.951,127.9
|
|
||||||
c-3.024-3.023-3.024-7.925,0-10.949c3.023-3.023,7.925-3.023,10.949,0l12.408,12.408c3.024,3.023,3.024,7.925,0,10.949
|
|
||||||
C138.796,141.82,136.815,142.576,134.834,142.576z"/>
|
|
||||||
<path style="fill:#2C5871;" d="M114.668,275.577c-0.709,2.126-3.331,3.118-6.023,3.118c-2.622,0-5.386-0.992-5.882-3.118
|
|
||||||
l-4.535-19.133l-4.606,19.133c-0.496,2.126-3.26,3.118-5.882,3.118c-2.693,0-5.386-0.992-6.024-3.118l-14.031-44.573
|
|
||||||
c-0.071-0.213-0.142-0.567-0.142-0.85c0-2.055,3.26-3.685,5.882-3.685c1.417,0,2.693,0.496,3.047,1.842l11.197,38.408l6.023-24.66
|
|
||||||
c0.425-1.772,2.48-2.551,4.535-2.551c1.984,0,4.039,0.78,4.465,2.551l6.023,24.66l11.197-38.408
|
|
||||||
c0.354-1.346,1.63-1.842,3.047-1.842c2.622,0,5.882,1.63,5.882,3.685c0,0.283-0.071,0.638-0.142,0.85L114.668,275.577z"/>
|
|
||||||
<path style="fill:#2C5871;" d="M420.998,248.72h10.771c1.842,0,2.905,1.772,2.905,3.685c0,1.63-0.921,3.543-2.905,3.543h-10.771
|
|
||||||
v14.243h20.054c1.842,0,2.905,1.913,2.905,4.11c0,1.913-0.921,3.968-2.905,3.968h-25.228c-2.055,0-4.039-0.992-4.039-2.905v-45.991
|
|
||||||
c0-1.913,1.984-2.905,4.039-2.905h25.228c1.984,0,2.905,2.055,2.905,3.968c0,2.197-1.063,4.11-2.905,4.11h-20.054V248.72z"/>
|
|
||||||
<path style="fill:#2C5871;" d="M263.262,108.382l-15.235-28.487v28.487c0,1.913-2.339,2.905-4.606,2.905
|
|
||||||
c-2.338,0-4.606-0.992-4.606-2.905V62.391c0-1.984,2.268-2.905,4.606-2.905c3.331,0,4.677,0.709,6.874,4.89l13.676,26.432V62.321
|
|
||||||
c0-1.984,2.268-2.835,4.606-2.835c2.268,0,4.606,0.85,4.606,2.835v46.061c0,1.913-2.339,2.905-4.606,2.905
|
|
||||||
C266.381,111.287,264.467,110.579,263.262,108.382z"/>
|
|
||||||
<path style="fill:#2C5871;" d="M263.228,431.434c0-10.63-22.747-7.37-22.747-24.164c0-10.559,9.071-14.173,17.22-14.173
|
|
||||||
c4.181,0,13.464,0.992,13.464,5.669c0,1.63-1.134,4.89-3.685,4.89c-2.197,0-3.827-2.693-9.779-2.693
|
|
||||||
c-5.102,0-8.008,2.055-8.008,5.457c0,8.787,22.747,5.74,22.747,24.093c0,10.134-7.087,15.378-16.866,15.378
|
|
||||||
c-9.283,0-16.369-4.677-16.369-8.787c0-1.984,1.843-4.961,4.039-4.961c2.905,0,4.819,5.457,12.047,5.457
|
|
||||||
C259.543,437.599,263.228,435.686,263.228,431.434z"/>
|
|
||||||
</g>
|
|
||||||
<g>
|
|
||||||
</g>
|
|
||||||
<g>
|
|
||||||
</g>
|
|
||||||
<g>
|
|
||||||
</g>
|
|
||||||
<g>
|
|
||||||
</g>
|
|
||||||
<g>
|
|
||||||
</g>
|
|
||||||
<g>
|
|
||||||
</g>
|
|
||||||
<g>
|
|
||||||
</g>
|
|
||||||
<g>
|
|
||||||
</g>
|
|
||||||
<g>
|
|
||||||
</g>
|
|
||||||
<g>
|
|
||||||
</g>
|
|
||||||
<g>
|
|
||||||
</g>
|
|
||||||
<g>
|
|
||||||
</g>
|
|
||||||
<g>
|
|
||||||
</g>
|
|
||||||
<g>
|
|
||||||
</g>
|
|
||||||
<g>
|
|
||||||
</g>
|
|
||||||
</svg>
|
|
Before Width: | Height: | Size: 4.3 KiB |
|
@ -4,11 +4,8 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
"LISTING_ID": 1,
|
"LISTING_ID": 1,
|
||||||
"ADDRESS_ENG": "8720 Russell Road",
|
"ADDRESS": "8720 Russell Road",
|
||||||
"ADDRESS_FR":"8720, Chemin Russell",
|
"PRICE": "$500000",
|
||||||
"PRICE": 400000,
|
|
||||||
"BEDS":3,
|
|
||||||
"BATHS":3,
|
|
||||||
"IMAGES":[
|
"IMAGES":[
|
||||||
|
|
||||||
],
|
],
|
||||||
|
@ -17,8 +14,6 @@
|
||||||
],
|
],
|
||||||
"DESC":"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui.",
|
"DESC":"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui.",
|
||||||
"FULL_DESCRIPTION": "RUN DON'T WALK to this beautiful former Jayman show home. This home has every feature and convenience you could want in a home. When you enter you will be greeted with a large entry way, open concept main floor with a very spacious chef-like kitchen, the big eat in dinning area is an entertainers dream and plenty of room in the living room as to cozy up to the fireplace. When you head upstairs the owner 's suite will impress with a gorgeous ensuite consisting of a large soaker tub, oversized shower, separate vanities, in-floor heating and 2 separate closest. You will also find a nice sized flex room, spacious laundry room up stairs, 4 piece main bathroom and 2 more bedrooms. Then head downstairs where you will find another bedroom, bathroom and Theatre room with wet bar and beverage station that is perfect for any movie lover. Must not forget that this home is air conditioned, has front and back irrigation outside and speakers throughout the house. All of this can be yours in the lake community of Auburn Bay close to all amenities and year round lake access just a short distance away",
|
"FULL_DESCRIPTION": "RUN DON'T WALK to this beautiful former Jayman show home. This home has every feature and convenience you could want in a home. When you enter you will be greeted with a large entry way, open concept main floor with a very spacious chef-like kitchen, the big eat in dinning area is an entertainers dream and plenty of room in the living room as to cozy up to the fireplace. When you head upstairs the owner 's suite will impress with a gorgeous ensuite consisting of a large soaker tub, oversized shower, separate vanities, in-floor heating and 2 separate closest. You will also find a nice sized flex room, spacious laundry room up stairs, 4 piece main bathroom and 2 more bedrooms. Then head downstairs where you will find another bedroom, bathroom and Theatre room with wet bar and beverage station that is perfect for any movie lover. Must not forget that this home is air conditioned, has front and back irrigation outside and speakers throughout the house. All of this can be yours in the lake community of Auburn Bay close to all amenities and year round lake access just a short distance away",
|
||||||
"DESCRIPTION_ENG": "This home has every feature and convenience you could want in a home. When you head upstairs the owners suite will impress with a gorgeous ensuite consisting of a large soaker tub, oversized shower, separate vanities, in-floor heating and 2 separate closest. ",
|
|
||||||
"DESCRIPTION_FR": "Cette maison a toutes les caractéristiques et commodités que vous pourriez souhaiter dans une maison. Lorsque vous montez à l'étage, la suite des propriétaires impressionnera avec une magnifique salle de bains comprenant une grande baignoire, une douche surdimensionnée, des vanités séparées, le chauffage au sol et 2 séparés plus proches.",
|
|
||||||
"FOR_SALE": true,
|
"FOR_SALE": true,
|
||||||
"coordinates": [-75.3372987731628, 45.383321536272049],
|
"coordinates": [-75.3372987731628, 45.383321536272049],
|
||||||
"BEDROOM": "2",
|
"BEDROOM": "2",
|
||||||
|
@ -30,11 +25,8 @@
|
||||||
{
|
{
|
||||||
|
|
||||||
"LISTING_ID": 2,
|
"LISTING_ID": 2,
|
||||||
"ADDRESS_ENG": "1490 Youville Drive",
|
"ADDRESS": "1490 Youville Drive",
|
||||||
"ADDRESS_FR":"1490, Promenade Youville",
|
"PRICE": "$500000",
|
||||||
"PRICE": 100000,
|
|
||||||
"BEDS":1,
|
|
||||||
"BATHS":1,
|
|
||||||
"IMAGES":[
|
"IMAGES":[
|
||||||
|
|
||||||
],
|
],
|
||||||
|
@ -43,8 +35,6 @@
|
||||||
],
|
],
|
||||||
"DESC":"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui.",
|
"DESC":"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui.",
|
||||||
"FULL_DESCRIPTION": "Nature at its Finest The Shores of Toney Bay are located at the mouth of River Phillip where it meets the Northumberland Straight with direct access to the incredible recreational waterways of River Phillip and nature rich Toney Bay. This nature lovers paradise boasts a plethora of migratory bird life and the rich fish stock of River Philip. The warm waters of the Northumberland Straight are swimmable from your shorefront, easy access to year-around activities and close proximity to the quaint community of Pugwash make this an ideal spot for a permeant residence or cottage. There are also ocean view / deeded access lots available. Large lots with unobstructed views and well away from highway noise. Swim in the warm waters at beautiful Heather's Beach just 4km away, fly fishing in the spring on River Phillip, book at tee time at Northumberland links, 16km away or enjoy a day at the Luxury Fox Harb'r Resort and Spa less then 30 mins away, and in winter enjoy skiing at Ski Wentworth a short 30 minutes drive. Lots are flat, cleared and ready for your dream home. All septic and building lot approvals are in place, good roads, and power to the lot line are included. Please take a few minutes to watch the video of the stunning Shores at Toney Bay",
|
"FULL_DESCRIPTION": "Nature at its Finest The Shores of Toney Bay are located at the mouth of River Phillip where it meets the Northumberland Straight with direct access to the incredible recreational waterways of River Phillip and nature rich Toney Bay. This nature lovers paradise boasts a plethora of migratory bird life and the rich fish stock of River Philip. The warm waters of the Northumberland Straight are swimmable from your shorefront, easy access to year-around activities and close proximity to the quaint community of Pugwash make this an ideal spot for a permeant residence or cottage. There are also ocean view / deeded access lots available. Large lots with unobstructed views and well away from highway noise. Swim in the warm waters at beautiful Heather's Beach just 4km away, fly fishing in the spring on River Phillip, book at tee time at Northumberland links, 16km away or enjoy a day at the Luxury Fox Harb'r Resort and Spa less then 30 mins away, and in winter enjoy skiing at Ski Wentworth a short 30 minutes drive. Lots are flat, cleared and ready for your dream home. All septic and building lot approvals are in place, good roads, and power to the lot line are included. Please take a few minutes to watch the video of the stunning Shores at Toney Bay",
|
||||||
"DESCRIPTION_ENG": "This nature lovers paradise boasts a plethora of migratory bird life and the rich fish stock of River Philip. Swim in the warm waters at beautiful Heather's Beach just 4km away, fly fishing in the spring on River Phillip, book at tee time at Northumberland links, 16km away or enjoy a day at the Luxury Fox Harb'r Resort and Spa less then 30 mins away, and in winter enjoy skiing at Ski Wentworth a short 30 minutes drive.",
|
|
||||||
"DESCRIPTION_FR": "Ce paradis des amoureux de la nature possède une pléthore d'oiseaux migrateurs et le riche stock de poissons de la rivière Philip. Nagez dans les eaux chaudes de la magnifique plage de Heather à seulement 4 km, pêchez à la mouche au printemps sur la rivière Phillip, réservez à l'heure du départ à Northumberland links, à 16 km ou profitez d'une journée au Luxury Fox Harb'r Resort and Spa à moins de 30 minutes loin, et en hiver, profitez du ski à Ski Wentworth à 30 minutes en voiture.",
|
|
||||||
"FOR_SALE": true,
|
"FOR_SALE": true,
|
||||||
"coordinates": [-75.546518086577947, 45.467134581917357],
|
"coordinates": [-75.546518086577947, 45.467134581917357],
|
||||||
"BEDROOM": "7",
|
"BEDROOM": "7",
|
||||||
|
@ -58,12 +48,8 @@
|
||||||
{
|
{
|
||||||
|
|
||||||
"LISTING_ID": 3,
|
"LISTING_ID": 3,
|
||||||
"ADDRESS_ENG": "100 Charlie Rogers Place",
|
"ADDRESS": "100 Charlie Rogers Place",
|
||||||
"ADDRESS_FR":"100, Place Charlie Rogers",
|
"PRICE": "$500000",
|
||||||
|
|
||||||
"PRICE": 200000,
|
|
||||||
"BEDS":2,
|
|
||||||
"BATHS":3,
|
|
||||||
"IMAGES":[
|
"IMAGES":[
|
||||||
|
|
||||||
],
|
],
|
||||||
|
@ -72,8 +58,6 @@
|
||||||
],
|
],
|
||||||
"DESC":"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui.",
|
"DESC":"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui.",
|
||||||
"FULL_DESCRIPTION": "Custom, Hi-Ranch home located in sought after neighborhood in the Heart of Petawawa. This home features 2+1 bedrooms and 4 bathrooms. Main level features spacious foyer, hardwood staircase, gleaming hardwood floors and open concept living. Large windows provide lots of natural light, vaulted ceilings in living room, a spectacular spacious kitchen with stainless steel appliances and large island. Master bedroom with walk through closet and 3 piece en-suite with custom tile shower and heated tile floor. Lower level features a finished rec room with cozy gas fireplace, bedroom and 3 piece bathroom. Patio door in foyer leads to large private backyard with no rear neighbours, spacious wood deck and hot tub. Double attached garage completes the package. Pack your backs and move right in! No Conveyances of offers until Friday April 9th at 3PM however the seller has the right to view and may accept pre-emptive offers",
|
"FULL_DESCRIPTION": "Custom, Hi-Ranch home located in sought after neighborhood in the Heart of Petawawa. This home features 2+1 bedrooms and 4 bathrooms. Main level features spacious foyer, hardwood staircase, gleaming hardwood floors and open concept living. Large windows provide lots of natural light, vaulted ceilings in living room, a spectacular spacious kitchen with stainless steel appliances and large island. Master bedroom with walk through closet and 3 piece en-suite with custom tile shower and heated tile floor. Lower level features a finished rec room with cozy gas fireplace, bedroom and 3 piece bathroom. Patio door in foyer leads to large private backyard with no rear neighbours, spacious wood deck and hot tub. Double attached garage completes the package. Pack your backs and move right in! No Conveyances of offers until Friday April 9th at 3PM however the seller has the right to view and may accept pre-emptive offers",
|
||||||
"DESCRIPTION_ENG": "Main level features spacious foyer, hardwood staircase, gleaming hardwood floors and open concept living. ",
|
|
||||||
"DESCRIPTION_FR": "Le niveau principal comprend un hall d'entrée spacieux, un escalier en bois franc, des planchers de bois franc étincelants et un salon à aire ouverte.",
|
|
||||||
"FOR_SALE": true,
|
"FOR_SALE": true,
|
||||||
"coordinates": [-75.898610599532319, 45.295014379864874],
|
"coordinates": [-75.898610599532319, 45.295014379864874],
|
||||||
"BEDROOM": "2",
|
"BEDROOM": "2",
|
||||||
|
@ -87,11 +71,8 @@
|
||||||
{
|
{
|
||||||
|
|
||||||
"LISTING_ID": 4,
|
"LISTING_ID": 4,
|
||||||
"ADDRESS_ENG": "2785 8th Line Road",
|
"ADDRESS": "2785 8th Line Road",
|
||||||
"ADDRESS_FR": "2785, Chemin 8th Line",
|
"PRICE": "$500000",
|
||||||
"PRICE": 300000,
|
|
||||||
"BEDS":3,
|
|
||||||
"BATHS":3,
|
|
||||||
"IMAGES":[
|
"IMAGES":[
|
||||||
|
|
||||||
],
|
],
|
||||||
|
@ -100,8 +81,6 @@
|
||||||
],
|
],
|
||||||
"DESC":"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui.",
|
"DESC":"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui.",
|
||||||
"FULL_DESCRIPTION": "Nestled in a quiet cul-de-sac in the family-friendly Ski Club/Widdifield neighbourhood, is 62 Riddle Court, a hidden gem that has everything you've been searching for - inside and out! Look up and take in the picturesque views of the escarpment, take a short walk or drive to the Laurentian Ski Hill with the family, or simply savour your very own property by having dinner on the patio, a glass of wine on the deck/balcony, and admire the breathtaking landscape (designed by an award-winning landscape artist) that wraps around your home. Lush perennials, tall grasses, interlocking brick pathways, in-ground sprinkler system and outdoor lighting make this property standout from the rest! Step inside to relish in all of the updated features this home has to offer - gleaming maple hardwood floors & stairs, updated maple kitchen cabinets, ceramic tile with in-floor radiant heat in bathrooms and office, built-in entertainment units, finished laundry room, low-maintenance composite deck off dining area, recessed lighting, updated windows, doors, insulation... the list goes on! Working from home these days? Enter the private & professional home office right off the recreation room through french doors. Enjoy the under-cabinet lighting, as well as the natural light beaming through the window with views of the backyard. Pride of ownership is obvious. Nothing left to do, but move-in! Pre-inspected for your peace of mind.",
|
"FULL_DESCRIPTION": "Nestled in a quiet cul-de-sac in the family-friendly Ski Club/Widdifield neighbourhood, is 62 Riddle Court, a hidden gem that has everything you've been searching for - inside and out! Look up and take in the picturesque views of the escarpment, take a short walk or drive to the Laurentian Ski Hill with the family, or simply savour your very own property by having dinner on the patio, a glass of wine on the deck/balcony, and admire the breathtaking landscape (designed by an award-winning landscape artist) that wraps around your home. Lush perennials, tall grasses, interlocking brick pathways, in-ground sprinkler system and outdoor lighting make this property standout from the rest! Step inside to relish in all of the updated features this home has to offer - gleaming maple hardwood floors & stairs, updated maple kitchen cabinets, ceramic tile with in-floor radiant heat in bathrooms and office, built-in entertainment units, finished laundry room, low-maintenance composite deck off dining area, recessed lighting, updated windows, doors, insulation... the list goes on! Working from home these days? Enter the private & professional home office right off the recreation room through french doors. Enjoy the under-cabinet lighting, as well as the natural light beaming through the window with views of the backyard. Pride of ownership is obvious. Nothing left to do, but move-in! Pre-inspected for your peace of mind.",
|
||||||
"DESCRIPTION_ENG": "A hidden gem that has everything you've been searching for - inside and out! Look up and take in the picturesque views of the escarpment, take a short walk or drive to the Laurentian Ski Hill with the family, or simply savour your very own property by having dinner on the patio.",
|
|
||||||
"DESCRIPTION_FR": "Un joyau caché qui a tout ce que vous cherchiez - à l'intérieur comme à l'extérieur! Levez les yeux et admirez les vues pittoresques de l'escarpement, faites une courte promenade ou conduisez jusqu'à la station de ski des Laurentides en famille, ou savourez simplement votre propriété en dînant sur la terrasse.",
|
|
||||||
"FOR_SALE": true,
|
"FOR_SALE": true,
|
||||||
"coordinates": [-75.468561642270757, 45.23032561834377],
|
"coordinates": [-75.468561642270757, 45.23032561834377],
|
||||||
"BEDROOM": "4",
|
"BEDROOM": "4",
|
||||||
|
|
789
src/listings-page/data/testing_stuff.json
Normal file
|
@ -0,0 +1,789 @@
|
||||||
|
{
|
||||||
|
"type": "FeatureCollection",
|
||||||
|
"crs": {
|
||||||
|
"type": "name",
|
||||||
|
"properties": {"name": "urn: ogc: def: crs: OGC: 1.3: CRS84"}
|
||||||
|
},
|
||||||
|
"features": [
|
||||||
|
{
|
||||||
|
"type": "Feature",
|
||||||
|
"properties": {
|
||||||
|
"PARK_ID": 960,
|
||||||
|
"FACILITYID": 28014,
|
||||||
|
"NAME": "Bearbrook Skateboard Park",
|
||||||
|
"NAME_FR": "Bearbrook skate park",
|
||||||
|
"ADDRESS": "8720 Russell Road",
|
||||||
|
"ADDRESS_FR": "8720, chemin Russell",
|
||||||
|
"FACILITY_T": "flat",
|
||||||
|
"FACILITY_1": "flat",
|
||||||
|
"ACCESSCTRL": "no / non",
|
||||||
|
"ACCESSIBLE": "no / non",
|
||||||
|
"OPEN": null,
|
||||||
|
"NOTES": "Outdoor",
|
||||||
|
"MODIFIED_D": "2018/01/18",
|
||||||
|
"CREATED_DA": null,
|
||||||
|
"FACILITY": "Neighborhood: smaller size facility to service population of 10,000 or less",
|
||||||
|
"FACILITY_F": "Neighborhood: small facility providing services to 10,000 residents or less.",
|
||||||
|
"DESCRIPTIO": "Flat asphalt surface, 5 components",
|
||||||
|
"DESCRIPT_1": "Flat asphalt surface, 5 modules",
|
||||||
|
"PICTURE_LI": null,
|
||||||
|
"PICTURE_DE": null,
|
||||||
|
"PICTURE__1": null
|
||||||
|
},
|
||||||
|
"geometry": {
|
||||||
|
"type": "Point",
|
||||||
|
"coordinates": [-75.3372987731628, 45.383321536272049]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Feature",
|
||||||
|
"properties": {
|
||||||
|
"PARK_ID": 1219,
|
||||||
|
"FACILITYID": 28001,
|
||||||
|
"NAME": "Bob MacQuarrie Skateboard Park (SK8 Extreme Park)",
|
||||||
|
"NAME_FR": "Bob-MacQuarrie Skate Park (SK8 Extreme Park)",
|
||||||
|
"ADDRESS": "1490 Youville Drive",
|
||||||
|
"ADDRESS_FR": "1490, promenade Youville",
|
||||||
|
"FACILITY_T": "other",
|
||||||
|
"FACILITY_1": "other",
|
||||||
|
"ACCESSCTRL": "no / non",
|
||||||
|
"ACCESSIBLE": "no / non",
|
||||||
|
"OPEN": null,
|
||||||
|
"NOTES": "Outdoor",
|
||||||
|
"MODIFIED_D": "2018/01/18",
|
||||||
|
"CREATED_DA": null,
|
||||||
|
"FACILITY": "Community: mid size facility to service population of 40,000 plus",
|
||||||
|
"FACILITY_F": "Community: medium-sized facility providing services to 40,000 residents or more.",
|
||||||
|
"DESCRIPTIO": "Flat asphalt surface, 10 components, City run learn to skateboard programs, City run skateboard camps in summer",
|
||||||
|
"DESCRIPT_1": "Flat asphalt surface, 10 modules, programs and summer skateboard camps managed by the City",
|
||||||
|
"PICTURE_LI": null,
|
||||||
|
"PICTURE_DE": null,
|
||||||
|
"PICTURE__1": null
|
||||||
|
},
|
||||||
|
"geometry": {
|
||||||
|
"type": "Point",
|
||||||
|
"coordinates": [-75.546518086577947, 45.467134581917357]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Feature",
|
||||||
|
"properties": {
|
||||||
|
"PARK_ID": 1157,
|
||||||
|
"FACILITYID": 28002,
|
||||||
|
"NAME": "Walter Baker Skateboard Park",
|
||||||
|
"NAME_FR": "Walter-Baker skate park",
|
||||||
|
"ADDRESS": "100 Charlie Rogers Place",
|
||||||
|
"ADDRESS_FR": "100, place Charlie Rogers",
|
||||||
|
"FACILITY_T": "bowl",
|
||||||
|
"FACILITY_1": "bowl",
|
||||||
|
"ACCESSCTRL": "no / non",
|
||||||
|
"ACCESSIBLE": "no / non",
|
||||||
|
"OPEN": null,
|
||||||
|
"NOTES": "Outdoor",
|
||||||
|
"MODIFIED_D": "2018/01/18",
|
||||||
|
"CREATED_DA": null,
|
||||||
|
"FACILITY": "Community: mid size facility to service population of 40,000 plus",
|
||||||
|
"FACILITY_F": "Community: medium-sized facility providing services to 40,000 residents or more.",
|
||||||
|
"DESCRIPTIO": "Concrete bowl, 7,000 sq ft",
|
||||||
|
"DESCRIPT_1": "Concrete bowl, 7,000 sq. Ft.",
|
||||||
|
"PICTURE_LI": null,
|
||||||
|
"PICTURE_DE": null,
|
||||||
|
"PICTURE__1": null
|
||||||
|
},
|
||||||
|
"geometry": {
|
||||||
|
"type": "Point",
|
||||||
|
"coordinates": [-75.898610599532319, 45.295014379864874]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Feature",
|
||||||
|
"properties": {
|
||||||
|
"PARK_ID": 9,
|
||||||
|
"FACILITYID": 28006,
|
||||||
|
"NAME": "Roving Skateboard Park Location",
|
||||||
|
"NAME_FR": "Location of an itinerant skate park",
|
||||||
|
"ADDRESS": "2785 8th Line Road",
|
||||||
|
"ADDRESS_FR": "2785, chemin 8th Line",
|
||||||
|
"FACILITY_T": "other",
|
||||||
|
"FACILITY_1": "other",
|
||||||
|
"ACCESSCTRL": "no / non",
|
||||||
|
"ACCESSIBLE": "no / non",
|
||||||
|
"OPEN": null,
|
||||||
|
"NOTES": "Outdoor - Mobile",
|
||||||
|
"MODIFIED_D": "2018/01/18",
|
||||||
|
"CREATED_DA": null,
|
||||||
|
"FACILITY": "Metcalfe Community Center - Roving Skateboard Park Location",
|
||||||
|
"FACILITY_F": "Metcalfe Community Center - Itinerant skate park site",
|
||||||
|
"DESCRIPTIO": "Flat surface, 5 components",
|
||||||
|
"DESCRIPT_1": "Flat surface, 5 modules",
|
||||||
|
"PICTURE_LI": null,
|
||||||
|
"PICTURE_DE": null,
|
||||||
|
"PICTURE__1": null
|
||||||
|
},
|
||||||
|
"geometry": {
|
||||||
|
"type": "Point",
|
||||||
|
"coordinates": [-75.468561642270757, 45.23032561834377]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Feature",
|
||||||
|
"properties": {
|
||||||
|
"PARK_ID": 1160,
|
||||||
|
"FACILITYID": 28007,
|
||||||
|
"NAME": "Roving Skateboard Park Location",
|
||||||
|
"NAME_FR": "Location of an itinerant skate park",
|
||||||
|
"ADDRESS": "10 Warner Colpitts Lane",
|
||||||
|
"ADDRESS_FR": "10, ruelle Warner Colpitts",
|
||||||
|
"FACILITY_T": "flat",
|
||||||
|
"FACILITY_1": "flat",
|
||||||
|
"ACCESSCTRL": "yes / oui",
|
||||||
|
"ACCESSIBLE": "no / non",
|
||||||
|
"OPEN": null,
|
||||||
|
"NOTES": "Indoor - Summer",
|
||||||
|
"MODIFIED_D": "2018/03/07",
|
||||||
|
"CREATED_DA": null,
|
||||||
|
"FACILITY": "Johnny Leroux Stittsville Community Arena - Roving Skateboard Park Location",
|
||||||
|
"FACILITY_F": "Stittsville Johnny-Leroux community arena - Itinerant skate park site",
|
||||||
|
"DESCRIPTIO": "Flat surface, 5 components",
|
||||||
|
"DESCRIPT_1": "Flat surface, 5 modules",
|
||||||
|
"PICTURE_LI": null,
|
||||||
|
"PICTURE_DE": null,
|
||||||
|
"PICTURE__1": null
|
||||||
|
},
|
||||||
|
"geometry": {
|
||||||
|
"type": "Point",
|
||||||
|
"coordinates": [-75.926651366520872, 45.260659774950561]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Feature",
|
||||||
|
"properties": {
|
||||||
|
"PARK_ID": 1693,
|
||||||
|
"FACILITYID": 28016,
|
||||||
|
"NAME": "Legacy Skateboard Park",
|
||||||
|
"NAME_FR": "Skatepark Legacy",
|
||||||
|
"ADDRESS": "101 Centrepointe Drive",
|
||||||
|
"ADDRESS_FR": "101, promenade Centrepointe",
|
||||||
|
"FACILITY_T": "bowl",
|
||||||
|
"FACILITY_1": "bowl",
|
||||||
|
"ACCESSCTRL": "no / non",
|
||||||
|
"ACCESSIBLE": "no / non",
|
||||||
|
"OPEN": null,
|
||||||
|
"NOTES": "Outdoor",
|
||||||
|
"MODIFIED_D": "2018/01/18",
|
||||||
|
"CREATED_DA": null,
|
||||||
|
"FACILITY": "District: larger facility to service population of 100,000 plus",
|
||||||
|
"FACILITY_F": "District: large facility providing services to 100,000 or more residents.",
|
||||||
|
"DESCRIPTIO": "Large concrete bowl, many street and vertical components, 17,000 sq ft",
|
||||||
|
"DESCRIPT_1": "Large concrete bowl, street modules and vertical modules, 17,000 ft2",
|
||||||
|
"PICTURE_LI": null,
|
||||||
|
"PICTURE_DE": null,
|
||||||
|
"PICTURE__1": null
|
||||||
|
},
|
||||||
|
"geometry": {
|
||||||
|
"type": "Point",
|
||||||
|
"coordinates": [-75.760933332842754, 45.345566668964558]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Feature",
|
||||||
|
"properties": {
|
||||||
|
"PARK_ID": 1717,
|
||||||
|
"FACILITYID": 28018,
|
||||||
|
"NAME": "Greenboro Skateboard Park",
|
||||||
|
"NAME_FR": "Greenboro skate park",
|
||||||
|
"ADDRESS": "3142 Conroy Road",
|
||||||
|
"ADDRESS_FR": "3142, chemin Conroy",
|
||||||
|
"FACILITY_T": "flat",
|
||||||
|
"FACILITY_1": "flat",
|
||||||
|
"ACCESSCTRL": "no / non",
|
||||||
|
"ACCESSIBLE": "no / non",
|
||||||
|
"OPEN": null,
|
||||||
|
"NOTES": "Outdoor",
|
||||||
|
"MODIFIED_D": "2018/01/18",
|
||||||
|
"CREATED_DA": null,
|
||||||
|
"FACILITY": "Neighborhood: smaller size facility to service population of 10,000 or less",
|
||||||
|
"FACILITY_F": "Neighborhood: small facility providing services to 10,000 residents or less.",
|
||||||
|
"DESCRIPTIO": "Flat asphalt surface, 5 components",
|
||||||
|
"DESCRIPT_1": "Flat asphalt surface, 5 modules",
|
||||||
|
"PICTURE_LI": null,
|
||||||
|
"PICTURE_DE": null,
|
||||||
|
"PICTURE__1": null
|
||||||
|
},
|
||||||
|
"geometry": {
|
||||||
|
"type": "Point",
|
||||||
|
"coordinates": [-75.625996131485707, 45.375401587496128]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Feature",
|
||||||
|
"properties": {
|
||||||
|
"PARK_ID": 137,
|
||||||
|
"FACILITYID": 28019,
|
||||||
|
"NAME": "Bridlewood Skateboard Park",
|
||||||
|
"NAME_FR": "Bridlewood skate park",
|
||||||
|
"ADDRESS": "65 Stonehaven Drive",
|
||||||
|
"ADDRESS_FR": "65 Stonehaven Drive",
|
||||||
|
"FACILITY_T": "flat",
|
||||||
|
"FACILITY_1": "flat",
|
||||||
|
"ACCESSCTRL": "no / non",
|
||||||
|
"ACCESSIBLE": "no / non",
|
||||||
|
"OPEN": null,
|
||||||
|
"NOTES": "Outdoor",
|
||||||
|
"MODIFIED_D": "2018/01/18",
|
||||||
|
"CREATED_DA": null,
|
||||||
|
"FACILITY": "Neighborhood: smaller size facility to service population of 10,000 or less",
|
||||||
|
"FACILITY_F": "Neighborhood: small facility providing services to 10,000 residents or less.",
|
||||||
|
"DESCRIPTIO": "Flat asphalt surface, 5 components",
|
||||||
|
"DESCRIPT_1": "Flat asphalt surface, 5 modules",
|
||||||
|
"PICTURE_LI": null,
|
||||||
|
"PICTURE_DE": null,
|
||||||
|
"PICTURE__1": null
|
||||||
|
},
|
||||||
|
"geometry": {
|
||||||
|
"type": "Point",
|
||||||
|
"coordinates": [-75.857009812435976, 45.290758029776626]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Feature",
|
||||||
|
"properties": {
|
||||||
|
"PARK_ID": 1133,
|
||||||
|
"FACILITYID": 28020,
|
||||||
|
"NAME": "Roving Skateboard Park Location",
|
||||||
|
"NAME_FR": "Location of an itinerant skate park",
|
||||||
|
"ADDRESS": "100 Clifford Campbell Street",
|
||||||
|
"ADDRESS_FR": "100, rue Clifford-Campbell",
|
||||||
|
"FACILITY_T": "flat",
|
||||||
|
"FACILITY_1": "flat",
|
||||||
|
"ACCESSCTRL": "no / non",
|
||||||
|
"ACCESSIBLE": "no / non",
|
||||||
|
"OPEN": null,
|
||||||
|
"NOTES": "Outdoor",
|
||||||
|
"MODIFIED_D": "2018/01/18",
|
||||||
|
"CREATED_DA": null,
|
||||||
|
"FACILITY": "Fitzroy Harbor Community Center - Roving Skateboard Park Location",
|
||||||
|
"FACILITY_F": "Fitzroy Harbor Community Center - Itinerant skate park site",
|
||||||
|
"DESCRIPTIO": "Flat surface, 5 components",
|
||||||
|
"DESCRIPT_1": "Flat surface, 5 modules",
|
||||||
|
"PICTURE_LI": null,
|
||||||
|
"PICTURE_DE": null,
|
||||||
|
"PICTURE__1": null
|
||||||
|
},
|
||||||
|
"geometry": {
|
||||||
|
"type": "Point",
|
||||||
|
"coordinates": [-76.206087708136721, 45.470459866077654]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Feature",
|
||||||
|
"properties": {
|
||||||
|
"PARK_ID": 657,
|
||||||
|
"FACILITYID": 28000,
|
||||||
|
"NAME": "Roving Skateboard Park Location",
|
||||||
|
"NAME_FR": "Location of an itinerant skate park",
|
||||||
|
"ADDRESS": "110 Malvern Drive",
|
||||||
|
"ADDRESS_FR": "110, promenade Malvern",
|
||||||
|
"FACILITY_T": "flat",
|
||||||
|
"FACILITY_1": "flat",
|
||||||
|
"ACCESSCTRL": "no / non",
|
||||||
|
"ACCESSIBLE": "no / non",
|
||||||
|
"OPEN": null,
|
||||||
|
"NOTES": "Outdoor",
|
||||||
|
"MODIFIED_D": "2018/01/18",
|
||||||
|
"CREATED_DA": null,
|
||||||
|
"FACILITY": "Walter Baker Sports Center - Roving Skateboard Park Location",
|
||||||
|
"FACILITY_F": "Walter-Baker Sports Center - Itinerant skate park site",
|
||||||
|
"DESCRIPTIO": "Flat surface, 5 components",
|
||||||
|
"DESCRIPT_1": "Flat surface, 5 modules",
|
||||||
|
"PICTURE_LI": null,
|
||||||
|
"PICTURE_DE": null,
|
||||||
|
"PICTURE__1": null
|
||||||
|
},
|
||||||
|
"geometry": {
|
||||||
|
"type": "Point",
|
||||||
|
"coordinates": [-75.760235255689508, 45.280622216516925]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Feature",
|
||||||
|
"properties": {
|
||||||
|
"PARK_ID": 653,
|
||||||
|
"FACILITYID": 28008,
|
||||||
|
"NAME": "Roving Skateboard Park Location",
|
||||||
|
"NAME_FR": "Location of an itinerant skate park",
|
||||||
|
"ADDRESS": "5660 Osgoode Main Street",
|
||||||
|
"ADDRESS_FR": "5660, rue Osgoode Main",
|
||||||
|
"FACILITY_T": "other",
|
||||||
|
"FACILITY_1": "other",
|
||||||
|
"ACCESSCTRL": "no / non",
|
||||||
|
"ACCESSIBLE": "no / non",
|
||||||
|
"OPEN": null,
|
||||||
|
"NOTES": "Outdoor - Mobile",
|
||||||
|
"MODIFIED_D": "2018/01/18",
|
||||||
|
"CREATED_DA": null,
|
||||||
|
"FACILITY": "Osgoode Community Center - Roving Skateboard Park Location",
|
||||||
|
"FACILITY_F": "Osgoode Community Center - Itinerant skate park site",
|
||||||
|
"DESCRIPTIO": "Flat surface, 5 components",
|
||||||
|
"DESCRIPT_1": "Flat surface, 5 modules",
|
||||||
|
"PICTURE_LI": null,
|
||||||
|
"PICTURE_DE": null,
|
||||||
|
"PICTURE__1": null
|
||||||
|
},
|
||||||
|
"geometry": {
|
||||||
|
"type": "Point",
|
||||||
|
"coordinates": [-75.60118478829267, 45.147641950106689]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Feature",
|
||||||
|
"properties": {
|
||||||
|
"PARK_ID": 812,
|
||||||
|
"FACILITYID": 35050,
|
||||||
|
"NAME": "Charlie Bowins Skateboard Park",
|
||||||
|
"NAME_FR": "Charlie-Bowins skate park",
|
||||||
|
"ADDRESS": "435 Bronson Avenue",
|
||||||
|
"ADDRESS_FR": "435, avenue Bronson",
|
||||||
|
"FACILITY_T": "bowl",
|
||||||
|
"FACILITY_1": "bowl",
|
||||||
|
"ACCESSCTRL": "no / non",
|
||||||
|
"ACCESSIBLE": "no / non",
|
||||||
|
"OPEN": null,
|
||||||
|
"NOTES": "Outdoor (Commemoratively named Charlie Bowins Skateboard Park on June 10, 2015)",
|
||||||
|
"MODIFIED_D": "2018/01/18",
|
||||||
|
"CREATED_DA": "2015/05/20",
|
||||||
|
"FACILITY": "District: larger facility to service population of 100,000 plus",
|
||||||
|
"FACILITY_F": "District: large facility providing services to 100,000 or more residents.",
|
||||||
|
"DESCRIPTIO": "Flat concrete surface, 10 plus components (large half pipe), City run learn to skateboard programs, City run skateboard camps in summer",
|
||||||
|
"DESCRIPT_1": "Flat concrete surface, 10 or more modules (large halfpipe), summer skateboard programs and camps managed by the City",
|
||||||
|
"PICTURE_LI": null,
|
||||||
|
"PICTURE_DE": null,
|
||||||
|
"PICTURE__1": null
|
||||||
|
},
|
||||||
|
"geometry": {
|
||||||
|
"type": "Point",
|
||||||
|
"coordinates": [-75.703622500360268, 45.408488357092367]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Feature",
|
||||||
|
"properties": {
|
||||||
|
"PARK_ID": 2457,
|
||||||
|
"FACILITYID": 35637,
|
||||||
|
"NAME": "Diamond Jubilee Skateboard Park",
|
||||||
|
"NAME_FR": "Diamond Jubilee Skate Park",
|
||||||
|
"ADDRESS": "2810 Findlay Creek Drive",
|
||||||
|
"ADDRESS_FR": "2810 Findlay Creek Drive",
|
||||||
|
"FACILITY_T": "flat",
|
||||||
|
"FACILITY_1": "flat",
|
||||||
|
"ACCESSCTRL": "no / non",
|
||||||
|
"ACCESSIBLE": "yes / oui",
|
||||||
|
"OPEN": null,
|
||||||
|
"NOTES": "Outdoor",
|
||||||
|
"MODIFIED_D": "2017/07/11",
|
||||||
|
"CREATED_DA": "2016/06/22",
|
||||||
|
"FACILITY": "Neighborhood: smaller size facility to service population of 10,000 or less",
|
||||||
|
"FACILITY_F": "Neighborhood: small facility providing services to 10,000 residents or less.",
|
||||||
|
"DESCRIPTIO": "Flat asphalt surface, 5 components",
|
||||||
|
"DESCRIPT_1": "Flat asphalt surface, 5 modules",
|
||||||
|
"PICTURE_LI": null,
|
||||||
|
"PICTURE_DE": null,
|
||||||
|
"PICTURE__1": null
|
||||||
|
},
|
||||||
|
"geometry": {
|
||||||
|
"type": "Point",
|
||||||
|
"coordinates": [-75.609516309730921, 45.314086718258636]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Feature",
|
||||||
|
"properties": {
|
||||||
|
"PARK_ID": 430,
|
||||||
|
"FACILITYID": 28005,
|
||||||
|
"NAME": "Blackburn Skateboard Park",
|
||||||
|
"NAME_FR": "Blackburn skate park",
|
||||||
|
"ADDRESS": "190 Glen Park Drive",
|
||||||
|
"ADDRESS_FR": "190 Glen Park Drive",
|
||||||
|
"FACILITY_T": "flat",
|
||||||
|
"FACILITY_1": "flat",
|
||||||
|
"ACCESSCTRL": "no / non",
|
||||||
|
"ACCESSIBLE": "no / non",
|
||||||
|
"OPEN": null,
|
||||||
|
"NOTES": "Outdoor",
|
||||||
|
"MODIFIED_D": "2018/01/18",
|
||||||
|
"CREATED_DA": null,
|
||||||
|
"FACILITY": "Neighborhood: smaller size facility to service population of 10,000 or less",
|
||||||
|
"FACILITY_F": "Neighborhood: small facility providing services to 10,000 residents or less.",
|
||||||
|
"DESCRIPTIO": "Flat asphalt surface, 5 components",
|
||||||
|
"DESCRIPT_1": "Flat asphalt surface, 5 modules",
|
||||||
|
"PICTURE_LI": null,
|
||||||
|
"PICTURE_DE": null,
|
||||||
|
"PICTURE__1": null
|
||||||
|
},
|
||||||
|
"geometry": {
|
||||||
|
"type": "Point",
|
||||||
|
"coordinates": [-75.562796920677627, 45.429643413219814]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Feature",
|
||||||
|
"properties": {
|
||||||
|
"PARK_ID": 989,
|
||||||
|
"FACILITYID": 28017,
|
||||||
|
"NAME": "Goulbourn Skateboard Park",
|
||||||
|
"NAME_FR": "Planchodrome Goulbourn",
|
||||||
|
"ADDRESS": "1500 Shea Road",
|
||||||
|
"ADDRESS_FR": "1500, chemin Shea",
|
||||||
|
"FACILITY_T": "flat",
|
||||||
|
"FACILITY_1": "flat",
|
||||||
|
"ACCESSCTRL": "no / non",
|
||||||
|
"ACCESSIBLE": "no / non",
|
||||||
|
"OPEN": null,
|
||||||
|
"NOTES": "Outdoor",
|
||||||
|
"MODIFIED_D": "2018/01/18",
|
||||||
|
"CREATED_DA": null,
|
||||||
|
"FACILITY": "Neighborhood: smaller size facility to service population of 10,000 or less",
|
||||||
|
"FACILITY_F": "Neighborhood: small facility providing services to 10,000 residents or less.",
|
||||||
|
"DESCRIPTIO": "Flat asphalt surface, 6 components",
|
||||||
|
"DESCRIPT_1": "Flat asphalt surface, 6 modules",
|
||||||
|
"PICTURE_LI": null,
|
||||||
|
"PICTURE_DE": null,
|
||||||
|
"PICTURE__1": null
|
||||||
|
},
|
||||||
|
"geometry": {
|
||||||
|
"type": "Point",
|
||||||
|
"coordinates": [-75.907108695123526, 45.26222860981953]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Feature",
|
||||||
|
"properties": {
|
||||||
|
"PARK_ID": 1334,
|
||||||
|
"FACILITYID": 28011,
|
||||||
|
"NAME": "Constance Bay Skateboard Park",
|
||||||
|
"NAME_FR": "Constance Bay skate park",
|
||||||
|
"ADDRESS": "262 Len Purcell Drive",
|
||||||
|
"ADDRESS_FR": "262, Len-Purcell promenade",
|
||||||
|
"FACILITY_T": "other",
|
||||||
|
"FACILITY_1": "other",
|
||||||
|
"ACCESSCTRL": "no / non",
|
||||||
|
"ACCESSIBLE": "no / non",
|
||||||
|
"OPEN": null,
|
||||||
|
"NOTES": "Outdoor",
|
||||||
|
"MODIFIED_D": "2018/01/18",
|
||||||
|
"CREATED_DA": null,
|
||||||
|
"FACILITY": "Neighborhood: smaller size facility to service population of 10,000 or less",
|
||||||
|
"FACILITY_F": "Neighborhood: small facility providing services to 10,000 residents or less.",
|
||||||
|
"DESCRIPTIO": "Flat asphalt surface, 5 components",
|
||||||
|
"DESCRIPT_1": "Flat asphalt surface, 5 modules",
|
||||||
|
"PICTURE_LI": null,
|
||||||
|
"PICTURE_DE": null,
|
||||||
|
"PICTURE__1": null
|
||||||
|
},
|
||||||
|
"geometry": {
|
||||||
|
"type": "Point",
|
||||||
|
"coordinates": [-76.09244957349965, 45.499050061534312]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Feature",
|
||||||
|
"properties": {
|
||||||
|
"PARK_ID": 923,
|
||||||
|
"FACILITYID": 28013,
|
||||||
|
"NAME": "Roving Skateboard Park Location",
|
||||||
|
"NAME_FR": "Location of an itinerant skate park",
|
||||||
|
"ADDRESS": "334 River Road",
|
||||||
|
"ADDRESS_FR": "334, chemin River",
|
||||||
|
"FACILITY_T": "flat",
|
||||||
|
"FACILITY_1": "flat",
|
||||||
|
"ACCESSCTRL": "no / non",
|
||||||
|
"ACCESSIBLE": "no / non",
|
||||||
|
"OPEN": null,
|
||||||
|
"NOTES": "Outdoor",
|
||||||
|
"MODIFIED_D": "2018/01/18",
|
||||||
|
"CREATED_DA": null,
|
||||||
|
"FACILITY": "Eccolands Park - Roving Skateboard Park Location",
|
||||||
|
"FACILITY_F": "Parc Eccolands - Location of an itinerant skate park",
|
||||||
|
"DESCRIPTIO": "Flat surface, 5 components",
|
||||||
|
"DESCRIPT_1": "Flat surface, 5 modules",
|
||||||
|
"PICTURE_LI": null,
|
||||||
|
"PICTURE_DE": null,
|
||||||
|
"PICTURE__1": null
|
||||||
|
},
|
||||||
|
"geometry": {
|
||||||
|
"type": "Point",
|
||||||
|
"coordinates": [-75.695392300925718, 45.315355581248873]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Feature",
|
||||||
|
"properties": {
|
||||||
|
"PARK_ID": 762,
|
||||||
|
"FACILITYID": 28004,
|
||||||
|
"NAME": "Trillium Park Skateboard Park",
|
||||||
|
"NAME_FR": "Park Trillium skate park",
|
||||||
|
"ADDRESS": "2030 Ogilvie Road",
|
||||||
|
"ADDRESS_FR": "2030, chemin Ogilvie",
|
||||||
|
"FACILITY_T": "flat",
|
||||||
|
"FACILITY_1": "flat",
|
||||||
|
"ACCESSCTRL": "no / non",
|
||||||
|
"ACCESSIBLE": "no / non",
|
||||||
|
"OPEN": null,
|
||||||
|
"NOTES": "Outdoor",
|
||||||
|
"MODIFIED_D": "2018/01/18",
|
||||||
|
"CREATED_DA": null,
|
||||||
|
"FACILITY": "Neighborhood: smaller size facility to service population of 10,000 or less",
|
||||||
|
"FACILITY_F": "Neighborhood: small facility providing services to 10,000 residents or less.",
|
||||||
|
"DESCRIPTIO": "Flat asphalt surface, 5 components",
|
||||||
|
"DESCRIPT_1": "Flat asphalt surface, 5 modules",
|
||||||
|
"PICTURE_LI": null,
|
||||||
|
"PICTURE_DE": null,
|
||||||
|
"PICTURE__1": null
|
||||||
|
},
|
||||||
|
"geometry": {
|
||||||
|
"type": "Point",
|
||||||
|
"coordinates": [-75.601158413850058, 45.436441777242031]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Feature",
|
||||||
|
"properties": {
|
||||||
|
"PARK_ID": 52,
|
||||||
|
"FACILITYID": 35120,
|
||||||
|
"NAME": "Lansdowne Skateboard Park",
|
||||||
|
"NAME_FR": "Lansdowne Skate Park",
|
||||||
|
"ADDRESS": "450 Queen Elizabeth Driveway",
|
||||||
|
"ADDRESS_FR": "450 Queen Elizabeth Drive",
|
||||||
|
"FACILITY_T": "flat",
|
||||||
|
"FACILITY_1": "flat",
|
||||||
|
"ACCESSCTRL": "no / non",
|
||||||
|
"ACCESSIBLE": "yes / oui",
|
||||||
|
"OPEN": null,
|
||||||
|
"NOTES": "Outdoor",
|
||||||
|
"MODIFIED_D": "2017/07/11",
|
||||||
|
"CREATED_DA": "2015/09/23",
|
||||||
|
"FACILITY": "A series of skateboard ramps ideally suited to beginners.",
|
||||||
|
"FACILITY_F": "A series of ramps suitable for beginners.",
|
||||||
|
"DESCRIPTIO": "Flat asphalt surface",
|
||||||
|
"DESCRIPT_1": "Flat asphalt surface",
|
||||||
|
"PICTURE_LI": null,
|
||||||
|
"PICTURE_DE": null,
|
||||||
|
"PICTURE__1": null
|
||||||
|
},
|
||||||
|
"geometry": {
|
||||||
|
"type": "Point",
|
||||||
|
"coordinates": [-75.681193500335723, 45.400372622455215]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Feature",
|
||||||
|
"properties": {
|
||||||
|
"PARK_ID": 2488,
|
||||||
|
"FACILITYID": 35815,
|
||||||
|
"NAME": "Greely Village Skateboard Park",
|
||||||
|
"NAME_FR": "Planchodrome Greely Village",
|
||||||
|
"ADDRESS": "7292 Parkway Road",
|
||||||
|
"ADDRESS_FR": "7292, chemin Parkway",
|
||||||
|
"FACILITY_T": "other",
|
||||||
|
"FACILITY_1": "other",
|
||||||
|
"ACCESSCTRL": "no / non",
|
||||||
|
"ACCESSIBLE": "yes / oui",
|
||||||
|
"OPEN": null,
|
||||||
|
"NOTES": "Outdoor",
|
||||||
|
"MODIFIED_D": "2018/01/04",
|
||||||
|
"CREATED_DA": "2017/04/28",
|
||||||
|
"FACILITY": "Neighborhood: smaller size facility to service population of 10,000 or less",
|
||||||
|
"FACILITY_F": "Neighborhood: small facility providing services to 10,000 residents or less.",
|
||||||
|
"DESCRIPTIO": "Flat concrete surface, 5 components",
|
||||||
|
"DESCRIPT_1": "Flat concrete surface, 5 modules",
|
||||||
|
"PICTURE_LI": null,
|
||||||
|
"PICTURE_DE": null,
|
||||||
|
"PICTURE__1": null
|
||||||
|
},
|
||||||
|
"geometry": {
|
||||||
|
"type": "Point",
|
||||||
|
"coordinates": [-75.553065849890629, 45.265433081236672]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Feature",
|
||||||
|
"properties": {
|
||||||
|
"PARK_ID": 330,
|
||||||
|
"FACILITYID": 28003,
|
||||||
|
"NAME": "Manotick Skateboard Park",
|
||||||
|
"NAME_FR": "Planchodrome Manotick",
|
||||||
|
"ADDRESS": "5572 Doctor Leach Drive",
|
||||||
|
"ADDRESS_FR": "5572, Doctor-Leach promenade",
|
||||||
|
"FACILITY_T": "flat",
|
||||||
|
"FACILITY_1": "flat",
|
||||||
|
"ACCESSCTRL": "yes / oui",
|
||||||
|
"ACCESSIBLE": "no / non",
|
||||||
|
"OPEN": null,
|
||||||
|
"NOTES": "Outdoor - Joined with basketball",
|
||||||
|
"MODIFIED_D": "2018/01/18",
|
||||||
|
"CREATED_DA": null,
|
||||||
|
"FACILITY": "Community: mid size facility to service population of 40,000 plus",
|
||||||
|
"FACILITY_F": "Community: medium-sized facility providing services to 40,000 residents or more.",
|
||||||
|
"DESCRIPTIO": "Flat asphalt surface, 8 components",
|
||||||
|
"DESCRIPT_1": "Flat asphalt surface, 8 modules",
|
||||||
|
"PICTURE_LI": null,
|
||||||
|
"PICTURE_DE": null,
|
||||||
|
"PICTURE__1": null
|
||||||
|
},
|
||||||
|
"geometry": {
|
||||||
|
"type": "Point",
|
||||||
|
"coordinates": [-75.686746214582783, 45.22266136322127]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Feature",
|
||||||
|
"properties": {
|
||||||
|
"PARK_ID": 693,
|
||||||
|
"FACILITYID": 28010,
|
||||||
|
"NAME": "Roving Skateboard Park Location",
|
||||||
|
"NAME_FR": "Location of an itinerant skate park",
|
||||||
|
"ADDRESS": "1448 Meadow Drive",
|
||||||
|
"ADDRESS_FR": "1448 Meadow Drive",
|
||||||
|
"FACILITY_T": "other",
|
||||||
|
"FACILITY_1": "other",
|
||||||
|
"ACCESSCTRL": "no / non",
|
||||||
|
"ACCESSIBLE": "no / non",
|
||||||
|
"OPEN": null,
|
||||||
|
"NOTES": "Outdoor - Mobile",
|
||||||
|
"MODIFIED_D": "2018/01/18",
|
||||||
|
"CREATED_DA": null,
|
||||||
|
"FACILITY": "Andy Shields Park - Roving Skateboard Park Location",
|
||||||
|
"FACILITY_F": "Andy-Shields Park - Location of an itinerant skate park",
|
||||||
|
"DESCRIPTIO": "Flat surface, 5 components",
|
||||||
|
"DESCRIPT_1": "Flat surface, 5 modules",
|
||||||
|
"PICTURE_LI": null,
|
||||||
|
"PICTURE_DE": null,
|
||||||
|
"PICTURE__1": null
|
||||||
|
},
|
||||||
|
"geometry": {
|
||||||
|
"type": "Point",
|
||||||
|
"coordinates": [-75.556978502821494, 45.261353985880973]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Feature",
|
||||||
|
"properties": {
|
||||||
|
"PARK_ID": 2544,
|
||||||
|
"FACILITYID": 35667,
|
||||||
|
"NAME": "Berrigan Skateboard Park",
|
||||||
|
"NAME_FR": "Planchodrome Berrigan",
|
||||||
|
"ADDRESS": "51 Berrigan Drive",
|
||||||
|
"ADDRESS_FR": "51, promenade Berrigan",
|
||||||
|
"FACILITY_T": "flat",
|
||||||
|
"FACILITY_1": "flat",
|
||||||
|
"ACCESSCTRL": "no / non",
|
||||||
|
"ACCESSIBLE": "no / non",
|
||||||
|
"OPEN": null,
|
||||||
|
"NOTES": "Outdoor",
|
||||||
|
"MODIFIED_D": "2018/02/27",
|
||||||
|
"CREATED_DA": "2016/06/27",
|
||||||
|
"FACILITY": "Community: mid size facility to service population of 40,000 plus",
|
||||||
|
"FACILITY_F": "Community: medium-sized facility providing services to 40,000 residents or more.",
|
||||||
|
"DESCRIPTIO": "Flat concrete surface, 10 plus components",
|
||||||
|
"DESCRIPT_1": "Flat concrete surface, 10 or more modules",
|
||||||
|
"PICTURE_LI": null,
|
||||||
|
"PICTURE_DE": null,
|
||||||
|
"PICTURE__1": null
|
||||||
|
},
|
||||||
|
"geometry": {
|
||||||
|
"type": "Point",
|
||||||
|
"coordinates": [-75.747348794023239, 45.275696004260205]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Feature",
|
||||||
|
"properties": {
|
||||||
|
"PARK_ID": 2599,
|
||||||
|
"FACILITYID": 49251,
|
||||||
|
"NAME": "Eugène Martineau Skateboard Park",
|
||||||
|
"NAME_FR": "Planchodrome Eugène-Martineau",
|
||||||
|
"ADDRESS": "710 Mikinak Road",
|
||||||
|
"ADDRESS_FR": "710, chemin Mikinak",
|
||||||
|
"FACILITY_T": "flat",
|
||||||
|
"FACILITY_1": "flat",
|
||||||
|
"ACCESSCTRL": "no / non",
|
||||||
|
"ACCESSIBLE": "yes / oui",
|
||||||
|
"OPEN": null,
|
||||||
|
"NOTES": "Outdoor",
|
||||||
|
"MODIFIED_D": "2018/11/29",
|
||||||
|
"CREATED_DA": "2018/11/29",
|
||||||
|
"FACILITY": "Neighborhood: smaller size facility to service population of 10,000 or less",
|
||||||
|
"FACILITY_F": "Neighborhood: small facility providing services to 10,000 residents or less.",
|
||||||
|
"DESCRIPTIO": "Flat surface, 5 components",
|
||||||
|
"DESCRIPT_1": "Flat surface, 5 modules",
|
||||||
|
"PICTURE_LI": null,
|
||||||
|
"PICTURE_DE": null,
|
||||||
|
"PICTURE__1": null
|
||||||
|
},
|
||||||
|
"geometry": {
|
||||||
|
"type": "Point",
|
||||||
|
"coordinates": [-75.632030968141081, 45.450696284941976]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Feature",
|
||||||
|
"properties": {
|
||||||
|
"PARK_ID": 2278,
|
||||||
|
"FACILITYID": 49211,
|
||||||
|
"NAME": "Vista Skateboard Park",
|
||||||
|
"NAME_FR": "Planchodrome Vista",
|
||||||
|
"ADDRESS": "720 Vistapark Drive",
|
||||||
|
"ADDRESS_FR": "720, Vistapark promenade",
|
||||||
|
"FACILITY_T": "flat",
|
||||||
|
"FACILITY_1": "flat",
|
||||||
|
"ACCESSCTRL": "no / non",
|
||||||
|
"ACCESSIBLE": "yes / oui",
|
||||||
|
"OPEN": null,
|
||||||
|
"NOTES": "Outdoor",
|
||||||
|
"MODIFIED_D": "2018/11/29",
|
||||||
|
"CREATED_DA": "2018/06/22",
|
||||||
|
"FACILITY": "Neighborhood: smaller size facility to service population of 10,000 or less",
|
||||||
|
"FACILITY_F": "Neighborhood: small facility providing services to 10,000 residents or less.",
|
||||||
|
"DESCRIPTIO": "Flat surface, 5 components",
|
||||||
|
"DESCRIPT_1": "Flat surface, 5 modules",
|
||||||
|
"PICTURE_LI": null,
|
||||||
|
"PICTURE_DE": null,
|
||||||
|
"PICTURE__1": null
|
||||||
|
},
|
||||||
|
"geometry": {
|
||||||
|
"type": "Point",
|
||||||
|
"coordinates": [-75.471003922143311, 45.450391044010431]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "Feature",
|
||||||
|
"properties": {
|
||||||
|
"PARK_ID": 2113,
|
||||||
|
"FACILITYID": 35299,
|
||||||
|
"NAME": "Innovation Skateboard Park",
|
||||||
|
"NAME_FR": "Planchomdrome Innovation",
|
||||||
|
"ADDRESS": "4101 Innovation Drive",
|
||||||
|
"ADDRESS_FR": "4101, promenade Innovation",
|
||||||
|
"FACILITY_T": "bowl",
|
||||||
|
"FACILITY_1": "bowl",
|
||||||
|
"ACCESSCTRL": "no / non",
|
||||||
|
"ACCESSIBLE": "yes / oui",
|
||||||
|
"OPEN": null,
|
||||||
|
"NOTES": "Outdoor",
|
||||||
|
"MODIFIED_D": "2017/07/11",
|
||||||
|
"CREATED_DA": "2016/02/08",
|
||||||
|
"FACILITY": "District: larger facility to service population of 100,000 plus",
|
||||||
|
"FACILITY_F": "District: large facility providing services to 100,000 or more residents.",
|
||||||
|
"DESCRIPTIO": "Large concrete bowl, 10 plus components, many street and vertical components",
|
||||||
|
"DESCRIPT_1": "Large concrete bowl, 10 or more modules, street modules and vertical modules",
|
||||||
|
"PICTURE_LI": null,
|
||||||
|
"PICTURE_DE": null,
|
||||||
|
"PICTURE__1": null
|
||||||
|
},
|
||||||
|
"geometry": {
|
||||||
|
"type": "Point",
|
||||||
|
"coordinates": [-75.931122879767898, 45.34125624499935]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -1,121 +0,0 @@
|
||||||
import React from "react";
|
|
||||||
import "./listing-page-1.css";
|
|
||||||
import { Link } from "react-router-dom";
|
|
||||||
import { useTranslation } from "react-i18next";
|
|
||||||
|
|
||||||
// import house images
|
|
||||||
import house_img1 from "../../images/house3.jpg";
|
|
||||||
import house_img2 from "../../images/house1-2.jpg";
|
|
||||||
import house_img3 from "../../images/house1-3.jpg";
|
|
||||||
const ListingPage1 = () => {
|
|
||||||
const { t } = useTranslation();
|
|
||||||
|
|
||||||
return (
|
|
||||||
<div className="single-listing-1">
|
|
||||||
{/* Listing header */}
|
|
||||||
<div className="row listing-header">
|
|
||||||
<div className="col-12">
|
|
||||||
<h2 className="listing-title">
|
|
||||||
<i class="fas fa-home title-icon"></i> {t("Listing1-address")}
|
|
||||||
</h2>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{/* Carousel for images of the listings */}
|
|
||||||
<div className="listing-carousel">
|
|
||||||
<div
|
|
||||||
id="carouselExampleControls"
|
|
||||||
class="carousel slide"
|
|
||||||
data-ride="carousel"
|
|
||||||
>
|
|
||||||
<div class="carousel-inner">
|
|
||||||
<div class="carousel-item active carousel-img">
|
|
||||||
<img
|
|
||||||
src={house_img1}
|
|
||||||
class="d-block w-100"
|
|
||||||
alt="listing-img"
|
|
||||||
></img>
|
|
||||||
</div>
|
|
||||||
<div class="carousel-item carousel-img">
|
|
||||||
<img
|
|
||||||
src={house_img2}
|
|
||||||
class="d-block w-100"
|
|
||||||
alt="listing-img"
|
|
||||||
></img>
|
|
||||||
</div>
|
|
||||||
<div class="carousel-item">
|
|
||||||
<img
|
|
||||||
src={house_img3}
|
|
||||||
class="d-block w-100"
|
|
||||||
alt="listing-img"
|
|
||||||
></img>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<a
|
|
||||||
class="carousel-control-prev"
|
|
||||||
href="#carouselExampleControls"
|
|
||||||
role="button"
|
|
||||||
data-slide="prev"
|
|
||||||
>
|
|
||||||
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
|
|
||||||
<span class="sr-only">Previous</span>
|
|
||||||
</a>
|
|
||||||
<a
|
|
||||||
class="carousel-control-next"
|
|
||||||
href="#carouselExampleControls"
|
|
||||||
role="button"
|
|
||||||
data-slide="next"
|
|
||||||
>
|
|
||||||
<span class="carousel-control-next-icon" aria-hidden="true"></span>
|
|
||||||
<span class="sr-only">Next</span>
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{/* Text box for listing amenities */}
|
|
||||||
<div className="amentities">
|
|
||||||
<span className="amentities-text">2</span>
|
|
||||||
<i class="fas fa-bed fa-3x amentities-icon"></i>
|
|
||||||
<span className="amentities-text">4</span>
|
|
||||||
<i class="fas fa-bath fa-3x amentities-icon"></i>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{/* Description for the listing */}
|
|
||||||
<div className="description-box">
|
|
||||||
<h2 className="description-title">{t("Listing-description-header")}</h2>
|
|
||||||
<p className="listing-description">{t("Listing1-description")}</p>
|
|
||||||
<div className="booking-btn">
|
|
||||||
<Link to="/contact-us">
|
|
||||||
<button type="button" class="btn btn-lg btn-info">
|
|
||||||
{t("Listing-booking-btn")}
|
|
||||||
</button>
|
|
||||||
</Link>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
|
|
||||||
// sources for the images used
|
|
||||||
//images.adsttc.com/media/images/524c/2511/e8e4/4e67/bf00/03c3/large_jpg/Tetris_House_03.jpg?1380721927
|
|
||||||
|
|
||||||
//House description
|
|
||||||
// ->Link 1 -https://www.realtor.ca/real-estate/23018057/9811-elbow-drive-calgary-haysboro
|
|
||||||
// images
|
|
||||||
// 1 ->house1.jpg
|
|
||||||
// 2 ->//images.adsttc.com/media/images/524c/2511/e8e4/4e67/bf00/03c3/large_jpg/Tetris_House_03.jpg?1380721927
|
|
||||||
// 3 ->https://s3.amazonaws.com/on1-wp/wp-content/uploads/2018/08/3191-NW-Jenna-22-of-49v2-1024x683.jpg
|
|
||||||
//-> Link2 -> https://www.realtor.ca/real-estate/23020015/lot-14-67-seastone-drive-port-howe-port-howe
|
|
||||||
// 1 ->house2.jpg
|
|
||||||
// 2 ->https://static.photocdn.pt/images/articles/2019/12/24/How_to_Take_Gorgeous_Interior_Real_Estate_Photos.jpg
|
|
||||||
// 3 ->https://i.pinimg.com/originals/f3/72/87/f372870f4f99d3278193a3970aa394ce.jpg
|
|
||||||
//->Link3 -> https://www.realtor.ca/real-estate/23020040/1035-butler-boulevard-petawawa-laurentian-highlands
|
|
||||||
// 1 ->house3.jpg
|
|
||||||
// 2 ->https://miro.medium.com/max/1200/1*EyGqOwy0wQwKHUgi3xpQZA.png
|
|
||||||
// 3 ->https://i.pinimg.com/originals/9b/fe/76/9bfe76b23f7ed9dcb35f7553b8255f48.jpg
|
|
||||||
//->Link4 -> https://www.realtor.ca/real-estate/23020103/62-riddle-court-north-bay
|
|
||||||
// 1 ->house4.jpg
|
|
||||||
// 2 ->https://pictureitsoldfl.com/wp-content/uploads/2016/07/305-Rudder-Cay-Way-Jupiter-FL-print-014-28-Family-Room-4200x2800-300dpi-1170x780.jpg
|
|
||||||
// 3 ->https://www.tlcinteriors.com.au/wp-content/uploads/2018/06/hamptons-style-kitchen-from-metricon-bayville-display-home.jpg
|
|
||||||
|
|
||||||
export default ListingPage1;
|
|
|
@ -1,51 +0,0 @@
|
||||||
.single-listing-2{
|
|
||||||
padding: 7% 15%;
|
|
||||||
/* background-color: darksalmon; */
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.listing-header{
|
|
||||||
border: 1px solid black;
|
|
||||||
text-align: left;
|
|
||||||
padding: 1%;
|
|
||||||
}
|
|
||||||
.listing-title{
|
|
||||||
font-size: 2.5rem;
|
|
||||||
/* font-style: italic; */
|
|
||||||
}
|
|
||||||
|
|
||||||
.listing-carousel{
|
|
||||||
margin: 5% 15%;
|
|
||||||
width: 70%;
|
|
||||||
/* padding-right: 10; */
|
|
||||||
}
|
|
||||||
|
|
||||||
.amentities{
|
|
||||||
border: 1px solid black;
|
|
||||||
/* padding: 5% 0; */
|
|
||||||
margin: 3% 40%;
|
|
||||||
/* padding: 1% 0%; */
|
|
||||||
}
|
|
||||||
.amentities-text{
|
|
||||||
font-size: 2rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.amentities-icon{
|
|
||||||
padding: 2% 7%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.description-box{
|
|
||||||
border: 1px solid black;
|
|
||||||
padding: 5%;
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
.description-title{
|
|
||||||
padding: 2% 0%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.booking-btn{
|
|
||||||
padding: 2% 0%;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,119 +0,0 @@
|
||||||
import React from "react";
|
|
||||||
import "./listing-page-2.css";
|
|
||||||
import { Link } from "react-router-dom";
|
|
||||||
import { useTranslation } from "react-i18next";
|
|
||||||
// import house images
|
|
||||||
import house_img1 from "../../images/house2.jpg";
|
|
||||||
import house_img2 from "../../images/house2-2.jpg";
|
|
||||||
import house_img3 from "../../images/house2-3.jpg";
|
|
||||||
const ListingPage2 = () => {
|
|
||||||
const { t } = useTranslation();
|
|
||||||
return (
|
|
||||||
<div className="single-listing-2">
|
|
||||||
{/* Listing header */}
|
|
||||||
<div className="row listing-header">
|
|
||||||
<div className="col-12">
|
|
||||||
<h2 className="listing-title">
|
|
||||||
<i class="fas fa-home title-icon"></i> {t("Listing2-address")}
|
|
||||||
</h2>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{/* Carousel for images of the listings */}
|
|
||||||
<div className="listing-carousel">
|
|
||||||
<div
|
|
||||||
id="carouselExampleControls"
|
|
||||||
class="carousel slide"
|
|
||||||
data-ride="carousel"
|
|
||||||
>
|
|
||||||
<div class="carousel-inner">
|
|
||||||
<div class="carousel-item active carousel-img">
|
|
||||||
<img
|
|
||||||
src={house_img1}
|
|
||||||
class="d-block w-100"
|
|
||||||
alt="listing-img"
|
|
||||||
></img>
|
|
||||||
</div>
|
|
||||||
<div class="carousel-item carousel-img">
|
|
||||||
<img
|
|
||||||
src={house_img2}
|
|
||||||
class="d-block w-100"
|
|
||||||
alt="listing-img"
|
|
||||||
></img>
|
|
||||||
</div>
|
|
||||||
<div class="carousel-item">
|
|
||||||
<img
|
|
||||||
src={house_img3}
|
|
||||||
class="d-block w-100"
|
|
||||||
alt="listing-img"
|
|
||||||
></img>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<a
|
|
||||||
class="carousel-control-prev"
|
|
||||||
href="#carouselExampleControls"
|
|
||||||
role="button"
|
|
||||||
data-slide="prev"
|
|
||||||
>
|
|
||||||
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
|
|
||||||
<span class="sr-only">Previous</span>
|
|
||||||
</a>
|
|
||||||
<a
|
|
||||||
class="carousel-control-next"
|
|
||||||
href="#carouselExampleControls"
|
|
||||||
role="button"
|
|
||||||
data-slide="next"
|
|
||||||
>
|
|
||||||
<span class="carousel-control-next-icon" aria-hidden="true"></span>
|
|
||||||
<span class="sr-only">Next</span>
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{/* Text box for listing amenities */}
|
|
||||||
<div className="amentities">
|
|
||||||
<span className="amentities-text">1</span>
|
|
||||||
<i class="fas fa-bed fa-3x amentities-icon"></i>
|
|
||||||
<span className="amentities-text">1</span>
|
|
||||||
<i class="fas fa-bath fa-3x amentities-icon"></i>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{/* Description for the listing */}
|
|
||||||
<div className="description-box">
|
|
||||||
<h2 className="description-title">{t("Listing-description-header")}</h2>
|
|
||||||
<p className="listing-description">{t("Listing2-description")}</p>
|
|
||||||
<div className="booking-btn">
|
|
||||||
<Link to="/contact-us">
|
|
||||||
<button type="button" class="btn btn-lg btn-info">
|
|
||||||
{t("Listing-booking-btn")}
|
|
||||||
</button>
|
|
||||||
</Link>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
|
|
||||||
// sources for the images used
|
|
||||||
//images.adsttc.com/media/images/524c/2511/e8e4/4e67/bf00/03c3/large_jpg/Tetris_House_03.jpg?1380721927
|
|
||||||
|
|
||||||
//House description
|
|
||||||
// ->Link 1 -https://www.realtor.ca/real-estate/23018057/9811-elbow-drive-calgary-haysboro
|
|
||||||
// images
|
|
||||||
// 1 ->house1.jpg
|
|
||||||
// 2 ->//images.adsttc.com/media/images/524c/2511/e8e4/4e67/bf00/03c3/large_jpg/Tetris_House_03.jpg?1380721927
|
|
||||||
// 3 ->https://s3.amazonaws.com/on1-wp/wp-content/uploads/2018/08/3191-NW-Jenna-22-of-49v2-1024x683.jpg
|
|
||||||
//-> Link2 -> https://www.realtor.ca/real-estate/23020015/lot-14-67-seastone-drive-port-howe-port-howe
|
|
||||||
// 1 ->house2.jpg
|
|
||||||
// 2 ->https://static.photocdn.pt/images/articles/2019/12/24/How_to_Take_Gorgeous_Interior_Real_Estate_Photos.jpg
|
|
||||||
// 3 ->https://i.pinimg.com/originals/f3/72/87/f372870f4f99d3278193a3970aa394ce.jpg
|
|
||||||
//->Link3 -> https://www.realtor.ca/real-estate/23020040/1035-butler-boulevard-petawawa-laurentian-highlands
|
|
||||||
// 1 ->house3.jpg
|
|
||||||
// 2 ->https://miro.medium.com/max/1200/1*EyGqOwy0wQwKHUgi3xpQZA.png
|
|
||||||
// 3 ->https://i.pinimg.com/originals/9b/fe/76/9bfe76b23f7ed9dcb35f7553b8255f48.jpg
|
|
||||||
//->Link4 -> https://www.realtor.ca/real-estate/23020103/62-riddle-court-north-bay
|
|
||||||
// 1 ->house4.jpg
|
|
||||||
// 2 ->https://pictureitsoldfl.com/wp-content/uploads/2016/07/305-Rudder-Cay-Way-Jupiter-FL-print-014-28-Family-Room-4200x2800-300dpi-1170x780.jpg
|
|
||||||
// 3 ->https://www.tlcinteriors.com.au/wp-content/uploads/2018/06/hamptons-style-kitchen-from-metricon-bayville-display-home.jpg
|
|
||||||
|
|
||||||
export default ListingPage2;
|
|
|
@ -1,10 +0,0 @@
|
||||||
import React from "react";
|
|
||||||
import { shallow } from "enzyme";
|
|
||||||
import ListingPage2 from "./listing-page-2";
|
|
||||||
|
|
||||||
describe("ListingPage2", () => {
|
|
||||||
test("matches snapshot", () => {
|
|
||||||
const wrapper = shallow(<ListingPage2 />);
|
|
||||||
expect(wrapper).toMatchSnapshot();
|
|
||||||
});
|
|
||||||
});
|
|
|
@ -1,51 +0,0 @@
|
||||||
.single-listing-3{
|
|
||||||
padding: 7% 15%;
|
|
||||||
/* background-color: darksalmon; */
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.listing-header{
|
|
||||||
border: 1px solid black;
|
|
||||||
text-align: left;
|
|
||||||
padding: 1%;
|
|
||||||
}
|
|
||||||
.listing-title{
|
|
||||||
font-size: 2.5rem;
|
|
||||||
/* font-style: italic; */
|
|
||||||
}
|
|
||||||
|
|
||||||
.listing-carousel{
|
|
||||||
margin: 5% 15%;
|
|
||||||
width: 70%;
|
|
||||||
/* padding-right: 10; */
|
|
||||||
}
|
|
||||||
|
|
||||||
.amentities{
|
|
||||||
border: 1px solid black;
|
|
||||||
/* padding: 5% 0; */
|
|
||||||
margin: 3% 40%;
|
|
||||||
/* padding: 1% 0%; */
|
|
||||||
}
|
|
||||||
.amentities-text{
|
|
||||||
font-size: 2rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.amentities-icon{
|
|
||||||
padding: 2% 7%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.description-box{
|
|
||||||
border: 1px solid black;
|
|
||||||
padding: 5%;
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
.description-title{
|
|
||||||
padding: 2% 0%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.booking-btn{
|
|
||||||
padding: 2% 0%;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,10 +0,0 @@
|
||||||
import React from "react";
|
|
||||||
import { shallow } from "enzyme";
|
|
||||||
import ListingPage3 from "./listing-page-3";
|
|
||||||
|
|
||||||
describe("ListingPage3", () => {
|
|
||||||
test("matches snapshot", () => {
|
|
||||||
const wrapper = shallow(<ListingPage3 />);
|
|
||||||
expect(wrapper).toMatchSnapshot();
|
|
||||||
});
|
|
||||||
});
|
|
|
@ -1,51 +0,0 @@
|
||||||
.single-listing-4{
|
|
||||||
padding: 7% 15%;
|
|
||||||
/* background-color: darksalmon; */
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.listing-header{
|
|
||||||
border: 1px solid black;
|
|
||||||
text-align: left;
|
|
||||||
padding: 1%;
|
|
||||||
}
|
|
||||||
.listing-title{
|
|
||||||
font-size: 2.5rem;
|
|
||||||
/* font-style: italic; */
|
|
||||||
}
|
|
||||||
|
|
||||||
.listing-carousel{
|
|
||||||
margin: 5% 15%;
|
|
||||||
width: 70%;
|
|
||||||
/* padding-right: 10; */
|
|
||||||
}
|
|
||||||
|
|
||||||
.amentities{
|
|
||||||
border: 1px solid black;
|
|
||||||
/* padding: 5% 0; */
|
|
||||||
margin: 3% 40%;
|
|
||||||
/* padding: 1% 0%; */
|
|
||||||
}
|
|
||||||
.amentities-text{
|
|
||||||
font-size: 2rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.amentities-icon{
|
|
||||||
padding: 2% 7%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.description-box{
|
|
||||||
border: 1px solid black;
|
|
||||||
padding: 5%;
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
.description-title{
|
|
||||||
padding: 2% 0%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.booking-btn{
|
|
||||||
padding: 2% 0%;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,119 +0,0 @@
|
||||||
import React from "react";
|
|
||||||
import "./listing-page-4.css";
|
|
||||||
import { Link } from "react-router-dom";
|
|
||||||
import { useTranslation } from "react-i18next";
|
|
||||||
// import house images
|
|
||||||
import house_img1 from "../../images/house4.jpg";
|
|
||||||
import house_img2 from "../../images/house4-2.jpg";
|
|
||||||
import house_img3 from "../../images/house4-3.jpg";
|
|
||||||
const ListingPage4 = () => {
|
|
||||||
const { t } = useTranslation();
|
|
||||||
return (
|
|
||||||
<div className="single-listing-4">
|
|
||||||
{/* Listing header */}
|
|
||||||
<div className="row listing-header">
|
|
||||||
<div className="col-12">
|
|
||||||
<h2 className="listing-title">
|
|
||||||
<i class="fas fa-home title-icon"></i> {t("Listing4-address")}
|
|
||||||
</h2>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{/* Carousel for images of the listings */}
|
|
||||||
<div className="listing-carousel">
|
|
||||||
<div
|
|
||||||
id="carouselExampleControls"
|
|
||||||
class="carousel slide"
|
|
||||||
data-ride="carousel"
|
|
||||||
>
|
|
||||||
<div class="carousel-inner">
|
|
||||||
<div class="carousel-item active carousel-img">
|
|
||||||
<img
|
|
||||||
src={house_img1}
|
|
||||||
class="d-block w-100"
|
|
||||||
alt="listing-img"
|
|
||||||
></img>
|
|
||||||
</div>
|
|
||||||
<div class="carousel-item carousel-img">
|
|
||||||
<img
|
|
||||||
src={house_img2}
|
|
||||||
class="d-block w-100"
|
|
||||||
alt="listing-img"
|
|
||||||
></img>
|
|
||||||
</div>
|
|
||||||
<div class="carousel-item">
|
|
||||||
<img
|
|
||||||
src={house_img3}
|
|
||||||
class="d-block w-100"
|
|
||||||
alt="listing-img"
|
|
||||||
></img>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<a
|
|
||||||
class="carousel-control-prev"
|
|
||||||
href="#carouselExampleControls"
|
|
||||||
role="button"
|
|
||||||
data-slide="prev"
|
|
||||||
>
|
|
||||||
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
|
|
||||||
<span class="sr-only">Previous</span>
|
|
||||||
</a>
|
|
||||||
<a
|
|
||||||
class="carousel-control-next"
|
|
||||||
href="#carouselExampleControls"
|
|
||||||
role="button"
|
|
||||||
data-slide="next"
|
|
||||||
>
|
|
||||||
<span class="carousel-control-next-icon" aria-hidden="true"></span>
|
|
||||||
<span class="sr-only">Next</span>
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{/* Text box for listing amenities */}
|
|
||||||
<div className="amentities">
|
|
||||||
<span className="amentities-text">3</span>
|
|
||||||
<i class="fas fa-bed fa-3x amentities-icon"></i>
|
|
||||||
<span className="amentities-text">3</span>
|
|
||||||
<i class="fas fa-bath fa-3x amentities-icon"></i>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{/* Description for the listing */}
|
|
||||||
<div className="description-box">
|
|
||||||
<h2 className="description-title">{t("Listing-description-header")}</h2>
|
|
||||||
<p className="listing-description">{t("Listing4-description")}</p>
|
|
||||||
<div className="booking-btn">
|
|
||||||
<Link to="/contact-us">
|
|
||||||
<button type="button" class="btn btn-lg btn-info">
|
|
||||||
{t("Listing-booking-btn")}
|
|
||||||
</button>
|
|
||||||
</Link>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
|
|
||||||
// sources for the images used
|
|
||||||
//images.adsttc.com/media/images/524c/2511/e8e4/4e67/bf00/03c3/large_jpg/Tetris_House_03.jpg?1380721927
|
|
||||||
|
|
||||||
//House description
|
|
||||||
// ->Link 1 -https://www.realtor.ca/real-estate/23018057/9811-elbow-drive-calgary-haysboro
|
|
||||||
// images
|
|
||||||
// 1 ->house1.jpg
|
|
||||||
// 2 ->//images.adsttc.com/media/images/524c/2511/e8e4/4e67/bf00/03c3/large_jpg/Tetris_House_03.jpg?1380721927
|
|
||||||
// 3 ->https://s3.amazonaws.com/on1-wp/wp-content/uploads/2018/08/3191-NW-Jenna-22-of-49v2-1024x683.jpg
|
|
||||||
//-> Link2 -> https://www.realtor.ca/real-estate/23020015/lot-14-67-seastone-drive-port-howe-port-howe
|
|
||||||
// 1 ->house2.jpg
|
|
||||||
// 2 ->https://static.photocdn.pt/images/articles/2019/12/24/How_to_Take_Gorgeous_Interior_Real_Estate_Photos.jpg
|
|
||||||
// 3 ->https://i.pinimg.com/originals/f3/72/87/f372870f4f99d3278193a3970aa394ce.jpg
|
|
||||||
//->Link3 -> https://www.realtor.ca/real-estate/23020040/1035-butler-boulevard-petawawa-laurentian-highlands
|
|
||||||
// 1 ->house3.jpg
|
|
||||||
// 2 ->https://miro.medium.com/max/1200/1*EyGqOwy0wQwKHUgi3xpQZA.png
|
|
||||||
// 3 ->https://i.pinimg.com/originals/9b/fe/76/9bfe76b23f7ed9dcb35f7553b8255f48.jpg
|
|
||||||
//->Link4 -> https://www.realtor.ca/real-estate/23020103/62-riddle-court-north-bay
|
|
||||||
// 1 ->house4.jpg
|
|
||||||
// 2 ->https://pictureitsoldfl.com/wp-content/uploads/2016/07/305-Rudder-Cay-Way-Jupiter-FL-print-014-28-Family-Room-4200x2800-300dpi-1170x780.jpg
|
|
||||||
// 3 ->https://www.tlcinteriors.com.au/wp-content/uploads/2018/06/hamptons-style-kitchen-from-metricon-bayville-display-home.jpg
|
|
||||||
|
|
||||||
export default ListingPage4;
|
|
|
@ -1,10 +0,0 @@
|
||||||
import React from "react";
|
|
||||||
import { shallow } from "enzyme";
|
|
||||||
import ListingPage4 from "./listing-page-4";
|
|
||||||
|
|
||||||
describe("ListingPage4", () => {
|
|
||||||
test("matches snapshot", () => {
|
|
||||||
const wrapper = shallow(<ListingPage4 />);
|
|
||||||
expect(wrapper).toMatchSnapshot();
|
|
||||||
});
|
|
||||||
});
|
|
|
@ -1,7 +1,6 @@
|
||||||
.single-listing-1{
|
.single-listing{
|
||||||
padding: 7% 15%;
|
padding: 7% 15%;
|
||||||
/* background-color: darksalmon; */
|
/* background-color: darksalmon; */
|
||||||
text-align: center;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.listing-header{
|
.listing-header{
|
||||||
|
@ -14,24 +13,32 @@
|
||||||
/* font-style: italic; */
|
/* font-style: italic; */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.title-icon{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
.listing-carousel{
|
.listing-carousel{
|
||||||
margin: 5% 15%;
|
margin: 5% 15%;
|
||||||
width: 70%;
|
width: 70%;
|
||||||
/* padding-right: 10; */
|
/* padding-right: 10; */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.carousel-img{
|
||||||
|
/* width: 70%; */
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
.amentities{
|
.amentities{
|
||||||
border: 1px solid black;
|
border: 1px solid black;
|
||||||
/* padding: 5% 0; */
|
/* padding: 5% 0; */
|
||||||
margin: 3% 40%;
|
margin: 3% 40%;
|
||||||
/* padding: 1% 0%; */
|
padding: 1% 0%;
|
||||||
}
|
}
|
||||||
.amentities-text{
|
.amentities-text{
|
||||||
font-size: 2rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
}
|
||||||
.amentities-icon{
|
.amentities-icon{
|
||||||
padding: 2% 7%;
|
margin: 0% 5%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.description-box{
|
.description-box{
|
||||||
|
@ -42,6 +49,10 @@
|
||||||
|
|
||||||
.description-title{
|
.description-title{
|
||||||
padding: 2% 0%;
|
padding: 2% 0%;
|
||||||
|
}
|
||||||
|
.listing-description{
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.booking-btn{
|
.booking-btn{
|
|
@ -1,20 +1,17 @@
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import "./listing-page-3.css";
|
import "./listing-page.css";
|
||||||
import { Link } from "react-router-dom";
|
import { Link } from "react-router-dom";
|
||||||
import { useTranslation } from "react-i18next";
|
|
||||||
// import house images
|
// import house images
|
||||||
import house_img1 from "../../images/house1.jpg";
|
import house_img1 from "../../images/house1-2.jpg";
|
||||||
import house_img2 from "../../images/house3-2.jpg";
|
const ListingPage = () => {
|
||||||
import house_img3 from "../../images/house3-3.jpg";
|
|
||||||
const ListingPage3 = () => {
|
|
||||||
const { t } = useTranslation();
|
|
||||||
return (
|
return (
|
||||||
<div className="single-listing-3">
|
<div className="single-listing">
|
||||||
{/* Listing header */}
|
{/* Listing header */}
|
||||||
<div className="row listing-header">
|
<div className="row listing-header">
|
||||||
<div className="col-12">
|
<div className="col-12">
|
||||||
<h2 className="listing-title">
|
<h2 className="listing-title">
|
||||||
<i class="fas fa-home title-icon"></i> {t("Listing3-address")}
|
<i class="fas fa-home title-icon"></i> My title
|
||||||
</h2>
|
</h2>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -36,14 +33,14 @@ const ListingPage3 = () => {
|
||||||
</div>
|
</div>
|
||||||
<div class="carousel-item carousel-img">
|
<div class="carousel-item carousel-img">
|
||||||
<img
|
<img
|
||||||
src={house_img2}
|
src={house_img1}
|
||||||
class="d-block w-100"
|
class="d-block w-100"
|
||||||
alt="listing-img"
|
alt="listing-img"
|
||||||
></img>
|
></img>
|
||||||
</div>
|
</div>
|
||||||
<div class="carousel-item">
|
<div class="carousel-item">
|
||||||
<img
|
<img
|
||||||
src={house_img3}
|
src={house_img1}
|
||||||
class="d-block w-100"
|
class="d-block w-100"
|
||||||
alt="listing-img"
|
alt="listing-img"
|
||||||
></img>
|
></img>
|
||||||
|
@ -72,20 +69,43 @@ const ListingPage3 = () => {
|
||||||
|
|
||||||
{/* Text box for listing amenities */}
|
{/* Text box for listing amenities */}
|
||||||
<div className="amentities">
|
<div className="amentities">
|
||||||
|
<span className="amentities-text">1</span>
|
||||||
|
<i class="fas fa-bed fa-2x amentities-icon"></i>
|
||||||
<span className="amentities-text">2</span>
|
<span className="amentities-text">2</span>
|
||||||
<i class="fas fa-bed fa-3x amentities-icon"></i>
|
<i class="fas fa-bath fa-2x amentities-icon"></i>
|
||||||
<span className="amentities-text">3</span>
|
<span className="amentities-text">3</span>
|
||||||
<i class="fas fa-bath fa-3x amentities-icon"></i>
|
<i class="fas fa-wifi fa-2x amentities-icon"></i>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Description for the listing */}
|
{/* Description for the listing */}
|
||||||
<div className="description-box">
|
<div className="description-box">
|
||||||
<h2 className="description-title">{t("Listing-description-header")}</h2>
|
<h2 className="description-title">Description</h2>
|
||||||
<p className="listing-description">{t("Listing3-description")}</p>
|
<p className="listing-description">
|
||||||
|
MOVE IN READY I WALKING DISTANCE TO SHOPPING, SCHOOLS AND TRANSIT I
|
||||||
|
Conveniently located in Haysboro, you have Restaurants, Groceries,
|
||||||
|
Coffee shops, Schools and a Library all within walking distance. This
|
||||||
|
Updated Bungalow offers over 2000 square feet of developed living
|
||||||
|
space, 3 Bedrooms upstairs to accommodate almost any family and 2 down
|
||||||
|
stairs in the fully developed basement. Having a separate entrance
|
||||||
|
downstairs through the backyard makes it much easier if you ever want
|
||||||
|
to convert the basement into a suite. The double garage is even heated
|
||||||
|
with 220v plus 2 additional spaces that could be used for RV parking
|
||||||
|
or for any additional vehicles in the house. You will notice the home
|
||||||
|
has been tastefully updated over the years including a soaker tub in
|
||||||
|
the bathroom, in the kitchen your cabinetry goes right to the ceiling
|
||||||
|
for a nice finished look, granite counters and Kitchenaid appliances
|
||||||
|
and a new garburator. The entire property has a fresh coat of paint
|
||||||
|
inside and out, Newer windows and roof along with the Plumbing,
|
||||||
|
Electrical (Cat 5 connection throughout and 200amp service) has been
|
||||||
|
updated. Last but not least, the back deck already has gas and ready
|
||||||
|
for the BBQ season. With the BIG updates being done, all that is left
|
||||||
|
to do is enjoy Summer on the deck or enjoy a bonfire in your sunny
|
||||||
|
West facing backyard!
|
||||||
|
</p>
|
||||||
<div className="booking-btn">
|
<div className="booking-btn">
|
||||||
<Link to="/contact-us">
|
<Link to="/contact-us">
|
||||||
<button type="button" class="btn btn-lg btn-info">
|
<button type="button" class="btn btn-lg btn-info">
|
||||||
{t("Listing-booking-btn")}
|
Book Showing
|
||||||
</button>
|
</button>
|
||||||
</Link>
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
|
@ -116,4 +136,4 @@ const ListingPage3 = () => {
|
||||||
// 2 ->https://pictureitsoldfl.com/wp-content/uploads/2016/07/305-Rudder-Cay-Way-Jupiter-FL-print-014-28-Family-Room-4200x2800-300dpi-1170x780.jpg
|
// 2 ->https://pictureitsoldfl.com/wp-content/uploads/2016/07/305-Rudder-Cay-Way-Jupiter-FL-print-014-28-Family-Room-4200x2800-300dpi-1170x780.jpg
|
||||||
// 3 ->https://www.tlcinteriors.com.au/wp-content/uploads/2018/06/hamptons-style-kitchen-from-metricon-bayville-display-home.jpg
|
// 3 ->https://www.tlcinteriors.com.au/wp-content/uploads/2018/06/hamptons-style-kitchen-from-metricon-bayville-display-home.jpg
|
||||||
|
|
||||||
export default ListingPage3;
|
export default ListingPage;
|
|
@ -1,10 +1,10 @@
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import { shallow } from "enzyme";
|
import { shallow } from "enzyme";
|
||||||
import ListingPage1 from "./listing-page-1";
|
import ListingPage from "./listing-page";
|
||||||
|
|
||||||
describe("ListingPage1", () => {
|
describe("ListingPage", () => {
|
||||||
test("matches snapshot", () => {
|
test("matches snapshot", () => {
|
||||||
const wrapper = shallow(<ListingPage1 />);
|
const wrapper = shallow(<ListingPage />);
|
||||||
expect(wrapper).toMatchSnapshot();
|
expect(wrapper).toMatchSnapshot();
|
||||||
});
|
});
|
||||||
});
|
});
|
|
@ -1,19 +1,11 @@
|
||||||
body{
|
|
||||||
/*
|
|
||||||
background-image: url("../images/login_bg3.jpg");
|
|
||||||
background-size:cover;
|
|
||||||
*/
|
|
||||||
|
|
||||||
}
|
|
||||||
.login-page{
|
.login-page{
|
||||||
padding: 10% 30%;
|
padding: 10% 30%;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background-color: white;
|
background-color: pink;
|
||||||
|
|
||||||
}
|
}
|
||||||
.signin-Form{
|
.signin-Form{
|
||||||
border: 1px solid blanchedalmond;
|
border: 1px solid blanchedalmond;
|
||||||
background-color: #e7dec8;
|
|
||||||
border-radius: 2%;
|
border-radius: 2%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import React, { Component } from "react";
|
import React, { Component } from "react";
|
||||||
import Logo from "../images/logo1.png";
|
import Logo from "../images/logo1.png";
|
||||||
import "./Login.css";
|
import "./Login.css";
|
||||||
import { Link, Redirect, withRouter } from "react-router-dom";
|
import { Link } from "react-router-dom";
|
||||||
// import { useTranslation } from "react-i18next";
|
// import { useTranslation } from "react-i18next";
|
||||||
import { withTranslation } from "react-i18next";
|
import { withTranslation } from "react-i18next";
|
||||||
class Login extends Component {
|
class Login extends Component {
|
||||||
|
@ -15,22 +15,13 @@ class Login extends Component {
|
||||||
};
|
};
|
||||||
|
|
||||||
handleLogin = (e) => {
|
handleLogin = (e) => {
|
||||||
e.preventDefault();
|
console.log(e);
|
||||||
var loginEmail = document.getElementById("login-email");
|
|
||||||
if (loginEmail.value === this.state.Account.email) {
|
|
||||||
// alert("validated!!!");
|
|
||||||
return this.props.history.push("/account");
|
|
||||||
} else {
|
|
||||||
// alert("Errors!!")
|
|
||||||
return this.props.history.push("/login");
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
const { t } = this.props;
|
const { t } = this.props;
|
||||||
return (
|
return (
|
||||||
<div className="login-page">
|
<div className="login-page">
|
||||||
<form action="" className="signin-Form" onSubmit={this.handleLogin}>
|
<form action="" className="signin-Form" onClick={this.handleLogin}>
|
||||||
<img className="app-logo" src={Logo} alt="app-logo" />
|
<img className="app-logo" src={Logo} alt="app-logo" />
|
||||||
<h1 className="form-title">{t("Login_header")} </h1>
|
<h1 className="form-title">{t("Login_header")} </h1>
|
||||||
<p>{t("Login_message")}</p>
|
<p>{t("Login_message")}</p>
|
||||||
|
@ -70,10 +61,11 @@ class Login extends Component {
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
<div className="login-btn">
|
<div className="login-btn">
|
||||||
<Link to="/account"></Link>
|
<Link to="/account">
|
||||||
<button type="submit" class="btn btn-lg btn-secondary">
|
<button type="submit" class="btn btn-lg btn-primary">
|
||||||
{t("Login_submit_button")}
|
{t("Login_submit_button")}
|
||||||
</button>
|
</button>
|
||||||
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
@ -82,4 +74,4 @@ class Login extends Component {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export default withTranslation()(withRouter(Login));
|
export default withTranslation()(Login);
|
||||||
|
|
|
@ -11,7 +11,6 @@ class Account extends Component {
|
||||||
lastName: "Green",
|
lastName: "Green",
|
||||||
email: "kevon.green@kcribs.com",
|
email: "kevon.green@kcribs.com",
|
||||||
password: "Kcribs123",
|
password: "Kcribs123",
|
||||||
phoneNumber: "613-234-8796",
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
render() {
|
render() {
|
||||||
|
@ -94,7 +93,7 @@ class Account extends Component {
|
||||||
type="text"
|
type="text"
|
||||||
class="form-control"
|
class="form-control"
|
||||||
id="account-phoneNumber"
|
id="account-phoneNumber"
|
||||||
placeholder={this.state.Account.phoneNumber}
|
placeholder={this.state.Account.email}
|
||||||
required
|
required
|
||||||
disabled={true}
|
disabled={true}
|
||||||
/>
|
/>
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.heading-1{
|
.heading-1{
|
||||||
padding-left: 36%;
|
padding-left: 38%;
|
||||||
padding-top: 10px;
|
padding-top: 10px;
|
||||||
padding-bottom: 20%;
|
padding-bottom: 20%;
|
||||||
font-size: 40px;
|
font-size: 40px;
|
||||||
|
|
|
@ -7,7 +7,6 @@ import {
|
||||||
FormWithConstraints
|
FormWithConstraints
|
||||||
} from 'react-form-with-constraints';
|
} from 'react-form-with-constraints';
|
||||||
import Alert from 'react-bootstrap/Alert';
|
import Alert from 'react-bootstrap/Alert';
|
||||||
import { withTranslation } from "react-i18next";
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -29,26 +28,25 @@ class ContactUs extends Component {
|
||||||
|
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
const { t } = this.props;
|
|
||||||
return (
|
return (
|
||||||
<div className="contact-us">
|
<div className="contact-us">
|
||||||
<Alert variant="danger" style={{ display: this.state.alertBad ? "block" : "none" }} onClose={() => this.setState({ alertBad: false })} dismissible>
|
<Alert variant="danger" style={{ display: this.state.alertBad ? "block" : "none" }} onClose={() => this.setState({ alertBad: false })} dismissible>
|
||||||
<Alert.Heading>{t("Danger1")}</Alert.Heading>
|
<Alert.Heading>Message could not send.</Alert.Heading>
|
||||||
<p>
|
<p>
|
||||||
{t("Danger2")}
|
There are some errors in your contact form.
|
||||||
</p>
|
</p>
|
||||||
</Alert>
|
</Alert>
|
||||||
<Alert variant="success" style={{ display: this.state.alertSucess ? "block" : "none" }} onClose={() => this.setState({ alertSucess: false })} dismissible>
|
<Alert variant="success" style={{ display: this.state.alertSucess ? "block" : "none" }} onClose={() => this.setState({ alertSucess: false })} dismissible>
|
||||||
<Alert.Heading>{t("Success1")}</Alert.Heading>
|
<Alert.Heading>The message is successfully sent.</Alert.Heading>
|
||||||
<p>
|
<p>
|
||||||
{t("Success2")}
|
You contact form will be delivered to our support team.
|
||||||
</p>
|
</p>
|
||||||
</Alert>
|
</Alert>
|
||||||
<div className="container">
|
<div className="container">
|
||||||
<section class="colored-section" id="contact">
|
<section class="colored-section" id="contact">
|
||||||
<div className="container-fluid">
|
<div className="container-fluid">
|
||||||
<div className="contactIntro">
|
<div className="contactIntro">
|
||||||
<h2 className="heading-1">{t("Contact-Title")}</h2>
|
<h2 className="heading-1">Contact Us</h2>
|
||||||
<FormWithConstraints ref={form => this.form = form}
|
<FormWithConstraints ref={form => this.form = form}
|
||||||
id="contact-form"
|
id="contact-form"
|
||||||
onSubmit={this.handleSubmit.bind(this)}
|
onSubmit={this.handleSubmit.bind(this)}
|
||||||
|
@ -59,34 +57,30 @@ class ContactUs extends Component {
|
||||||
<div className="row">
|
<div className="row">
|
||||||
<div className="col-6">
|
<div className="col-6">
|
||||||
<select className="form-group" name="agent" id="dropdown" required onChange={this.onAgentChange.bind(this)} value={this.state.agent}>
|
<select className="form-group" name="agent" id="dropdown" required onChange={this.onAgentChange.bind(this)} value={this.state.agent}>
|
||||||
<option value="">{t("Contact-Agent")}</option>
|
<option value="">Select an Agent</option>
|
||||||
<option value="Michael">Michael</option>
|
<option value="Michael">Michael</option>
|
||||||
<option value="Jin">Jin </option>
|
<option value="Jin">Jin </option>
|
||||||
<option value="Anita">Anita</option>
|
<option value="Anita">Anita</option>
|
||||||
<option value="Alex">Alex</option>
|
<option value="Alex">Alex</option>
|
||||||
<option value="Xuan">Xuan</option>
|
<option value="Xuan">Xuan</option>
|
||||||
<option value="Walter">Walter</option>
|
<option value="Walter">Walter</option>
|
||||||
<option value="No preference">{t("No-Pref")}</option>
|
<option value="No preference">No preference</option>
|
||||||
</select>
|
</select>
|
||||||
<FieldFeedbacks for="agent">
|
<FieldFeedbacks for="agent">
|
||||||
<FieldFeedback when="*">
|
<FieldFeedback when="*" />
|
||||||
{t("Contact-Error1")}
|
|
||||||
</FieldFeedback>
|
|
||||||
</FieldFeedbacks>
|
</FieldFeedbacks>
|
||||||
</div>
|
</div>
|
||||||
<div className="col-6">
|
<div className="col-6">
|
||||||
<select className="form-group" name="house" id="dropdown" required onChange={this.onHouseChange.bind(this)} value={this.state.house}>
|
<select className="form-group" name="house" id="dropdown" required onChange={this.onHouseChange.bind(this)} value={this.state.house}>
|
||||||
<option value="">{t("Contact-House")}</option>
|
<option value="">Select a House</option>
|
||||||
<option value="100 Charlie Rogers">100 Charlie Rogers</option>
|
<option value="100 Charlie Rogers">100 Charlie Rogers</option>
|
||||||
<option value="1490 Youville Drive">1490 Youville Drive </option>
|
<option value="1490 Youville Drive">1490 Youville Drive </option>
|
||||||
<option value="8720 Russell Road">8720 Russell Road</option>
|
<option value="8720 Russell Road">8720 Russell Road</option>
|
||||||
<option value="2785 8th Line Road">2785 8th Line Road</option>
|
<option value="2785 8th Line Road">2785 8th Line Road</option>
|
||||||
<option value="No preference">{t("No-Pref")}</option>
|
<option value="No preference">No preference</option>
|
||||||
</select>
|
</select>
|
||||||
<FieldFeedbacks for="agent">
|
<FieldFeedbacks for="house">
|
||||||
<FieldFeedback when="*">
|
<FieldFeedback when="*" />
|
||||||
{t("Contact-Error1")}
|
|
||||||
</FieldFeedback>
|
|
||||||
</FieldFeedbacks>
|
</FieldFeedbacks>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -96,28 +90,24 @@ class ContactUs extends Component {
|
||||||
<input name="firstname"
|
<input name="firstname"
|
||||||
type="text"
|
type="text"
|
||||||
className="form-control"
|
className="form-control"
|
||||||
placeholder={t("Contact-First")}
|
placeholder="First Name"
|
||||||
value={this.state.firstname}
|
value={this.state.firstname}
|
||||||
required onChange={this.onFirstNameChange.bind(this)}
|
required onChange={this.onFirstNameChange.bind(this)}
|
||||||
/>
|
/>
|
||||||
<FieldFeedbacks for="agent">
|
<FieldFeedbacks for="firstname">
|
||||||
<FieldFeedback when="*">
|
<FieldFeedback when="*" />
|
||||||
{t("Contact-Error2")}
|
|
||||||
</FieldFeedback>
|
|
||||||
</FieldFeedbacks>
|
</FieldFeedbacks>
|
||||||
</div>
|
</div>
|
||||||
<div className="col-6">
|
<div className="col-6">
|
||||||
<input name="lastname"
|
<input name="lastname"
|
||||||
type="text"
|
type="text"
|
||||||
className="form-control"
|
className="form-control"
|
||||||
placeholder={t("Contact-Last")}
|
placeholder="Last Name"
|
||||||
value={this.state.lastname}
|
value={this.state.lastname}
|
||||||
required onChange={this.onLastNameChange.bind(this)}
|
required onChange={this.onLastNameChange.bind(this)}
|
||||||
/>
|
/>
|
||||||
<FieldFeedbacks for="agent">
|
<FieldFeedbacks for="lastname">
|
||||||
<FieldFeedback when="*">
|
<FieldFeedback when="*" />
|
||||||
{t("Contact-Error2")}
|
|
||||||
</FieldFeedback>
|
|
||||||
</FieldFeedbacks>
|
</FieldFeedbacks>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -125,33 +115,30 @@ class ContactUs extends Component {
|
||||||
<input name="email"
|
<input name="email"
|
||||||
type="email"
|
type="email"
|
||||||
className="form-control"
|
className="form-control"
|
||||||
placeholder={t("Contact-Mail")}
|
placeholder="Email Address"
|
||||||
aria-describedby="emailHelp"
|
aria-describedby="emailHelp"
|
||||||
value={this.state.email}
|
value={this.state.email}
|
||||||
required onChange={this.onEmailChange.bind(this)}
|
required onChange={this.onEmailChange.bind(this)}
|
||||||
/>
|
/>
|
||||||
<FieldFeedbacks for="email">
|
<FieldFeedbacks for="email">
|
||||||
<FieldFeedback when={value => value.length === 0}>{t("Contact-Error2")}</FieldFeedback>
|
<FieldFeedback when="*" />
|
||||||
<FieldFeedback when={value => !/\S+@\S+/.test(value)}>{t("Contact-Error3")}</FieldFeedback>
|
|
||||||
</FieldFeedbacks>
|
</FieldFeedbacks>
|
||||||
</div>
|
</div>
|
||||||
<div className="form-group">
|
<div className="form-group">
|
||||||
<textarea name="message"
|
<textarea name="message"
|
||||||
className="form-control"
|
className="form-control"
|
||||||
placeholder={t("Contact-Message")}
|
placeholder="Message"
|
||||||
rows="5"
|
rows="5"
|
||||||
value={this.state.message}
|
value={this.state.message}
|
||||||
required onChange={this.onMessageChange.bind(this)}
|
required onChange={this.onMessageChange.bind(this)}
|
||||||
/>
|
/>
|
||||||
<FieldFeedbacks for="agent">
|
<FieldFeedbacks for="message">
|
||||||
<FieldFeedback when="*">
|
<FieldFeedback when="*" />
|
||||||
{t("Contact-Error1")}
|
|
||||||
</FieldFeedback>
|
|
||||||
</FieldFeedbacks>
|
</FieldFeedbacks>
|
||||||
</div>
|
</div>
|
||||||
<div className="buttonhelper">
|
<div className="buttonhelper">
|
||||||
<button type="submit" className="button-1">
|
<button type="submit" className="button-1">
|
||||||
{t("Contact-Submit")}
|
Submit
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</FormWithConstraints>
|
</FormWithConstraints>
|
||||||
|
@ -230,4 +217,4 @@ class ContactUs extends Component {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
export default withTranslation()(ContactUs);
|
export default ContactUs;
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
|
|
||||||
#footer{
|
#footer{
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 5% 7%;
|
padding: 5% 7%;
|
||||||
background-color: white ;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.social-icon{
|
.social-icon{
|
||||||
|
|
|
@ -1,33 +1,11 @@
|
||||||
import React, { useEffect } from "react";
|
import React from "react";
|
||||||
import { Link, withRouter } from "react-router-dom";
|
import { Link, withRouter } from "react-router-dom";
|
||||||
import "./Navbar.css";
|
import "./Navbar.css";
|
||||||
import logo from "./logo2.png";
|
import logo from "./logo2.png";
|
||||||
import Cookies from "js-cookie";
|
|
||||||
/* eslint-disable jsx-a11y/anchor-is-valid */
|
/* eslint-disable jsx-a11y/anchor-is-valid */
|
||||||
import { useTranslation } from "react-i18next";
|
import { useTranslation } from "react-i18next";
|
||||||
import i18next from "i18next";
|
|
||||||
const langauges = [
|
|
||||||
{
|
|
||||||
code: "fr",
|
|
||||||
name: "Français",
|
|
||||||
country_code: "fr",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
code: "en",
|
|
||||||
name: "English",
|
|
||||||
country_code: "gb",
|
|
||||||
},
|
|
||||||
];
|
|
||||||
|
|
||||||
const Navbar = () => {
|
const Navbar = () => {
|
||||||
const currentLanguageCode = Cookies.get("i18next") || "en";
|
|
||||||
const currentLanguage = langauges.find(
|
|
||||||
(lang) => lang.code === currentLanguageCode
|
|
||||||
);
|
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
useEffect(() => {
|
|
||||||
document.body.dir = currentLanguage.dir || "ltr";
|
|
||||||
}, [currentLanguage]);
|
|
||||||
return (
|
return (
|
||||||
/* Nav Bar */
|
/* Nav Bar */
|
||||||
<div className="Navbar">
|
<div className="Navbar">
|
||||||
|
@ -49,34 +27,6 @@ const Navbar = () => {
|
||||||
</button>
|
</button>
|
||||||
<div className="collapse navbar-collapse" id="navbarTogglerDemo02">
|
<div className="collapse navbar-collapse" id="navbarTogglerDemo02">
|
||||||
<ul className="navbar-nav ml-auto">
|
<ul className="navbar-nav ml-auto">
|
||||||
<li className="nav-item">
|
|
||||||
<div class="btn-group">
|
|
||||||
<button
|
|
||||||
type="button"
|
|
||||||
class="btn btn-link dropdown-toggle"
|
|
||||||
data-toggle="dropdown"
|
|
||||||
aria-haspopup="true"
|
|
||||||
aria-expanded="false"
|
|
||||||
>
|
|
||||||
<i class="fas fa-globe"></i>
|
|
||||||
</button>
|
|
||||||
<div class="dropdown-menu">
|
|
||||||
{langauges.map(({ code, name, country_code }) => (
|
|
||||||
<button
|
|
||||||
class="dropdown-item"
|
|
||||||
key={code}
|
|
||||||
onClick={() => i18next.changeLanguage(code)}
|
|
||||||
disabled={code === currentLanguageCode}
|
|
||||||
>
|
|
||||||
<span
|
|
||||||
className={`flag-icon flag-icon-${country_code} mx-2`}
|
|
||||||
></span>
|
|
||||||
{name}
|
|
||||||
</button>
|
|
||||||
))}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</li>
|
|
||||||
<li className="nav-item">
|
<li className="nav-item">
|
||||||
<Link className="nav-link" exact to="/">
|
<Link className="nav-link" exact to="/">
|
||||||
{t("Nav_Home")}
|
{t("Nav_Home")}
|
||||||
|
@ -100,6 +50,12 @@ const Navbar = () => {
|
||||||
</Link>
|
</Link>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
<li className="nav-item">
|
||||||
|
<Link className="nav-link" to="/listing-page">
|
||||||
|
{t("Nav_listing_page")}
|
||||||
|
</Link>
|
||||||
|
</li>
|
||||||
|
|
||||||
<li className="nav-item">
|
<li className="nav-item">
|
||||||
<Link className="nav-link" to="/login">
|
<Link className="nav-link" to="/login">
|
||||||
{t("Nav_Login")}
|
{t("Nav_Login")}
|
||||||
|
|